I would like to connect my pc and my raspbian through a network without internet output.
I have a router with the dhcp disabled, and I connect to this router my raspberry pi 2 and my pc. The pc picks good the interfaces configuration, but raspberry pi is doing weird things.
eth0 Link encap:Ethernet HWaddr b8:27:eb:91:1d:60 inet addr:169.254.252.195 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::a05c:8c24:cad8:6a3f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:212 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2280 (2.2 KiB) TX bytes:50845 (49.6 KiB)
This is the configuration of the interface eth0. I have this in my
allow-hotplug eth0 iface eth0 inet static address 192.168.3.10 netmask 255.255.255.0
The ip of the router is
192.168.3.1, and netmask is
255.255.255.0. What I'm doing wrong?