Hi all,
I am facing an IP assignment problem for the eth0 interface on my Debian distro: even if I configure the
/etc/network/interfaces to have a static IP address on eth0, after booting the IP assigned is different from the static one..
Here is the content of the
/etc/network/interfaces file:
Code:
auto eth0
iface eth0 inet static
address 192.168.16.168
netmask 255.255.224.0
network 192.168.16.0
dns-nameservers 8.8.8.8 8.8.4.4
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1
auto ppp0
iface ppp0 inet wvdial
After looking at the logs and executing journactl I noticed that
connmand seems to be the responsable for this:
Code:
Mar 20 16:11:45 myhostname connmand[646]: Skipping disconnect of carrier, network is connecting.
Mar 20 16:11:45 myhostname connmand[646]: eth0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Mar 20 16:11:45 myhostname connmand[646]: eth0 {add} address 192.168.0.160/19 label eth0 family 2
Mar 20 16:11:45 myhostname connmand[646]: eth0 {add} route 192.168.0.0 gw 0.0.0.0 scope 253 <LINK>
Mar 20 16:11:45 myhostname connmand[646]: eth0 {add} route 192.168.0.253 gw 0.0.0.0 scope 253 <LINK>
Mar 20 16:11:45 myhostname connmand[646]: eth0 {add} route 4.4.4.4 gw 192.168.0.253 scope 0 <UNIVERSE>
Mar 20 16:11:45 myhostname connmand[646]: eth0 {add} route 8.8.8.8 gw 192.168.0.253 scope 0 <UNIVERSE>
Mar 20 16:11:45 myhostname connmand[646]: eth0 {add} route 0.0.0.0 gw 192.168.0.253 scope 0 <UNIVERSE>
Initially I thought the problem was related with IPv6 and avahi-daemon, and after disabling both, the problem persists.
How do I get rid of this connmand behaviour and leave the IP as static ?
Thanks in advance.
Regards,
S.