Changes under /etc/network/interfaces
are not considered.
This is set :
auto eth0
iface eth0 inet static
address 192.168.202.131
netmask 255.255.255.0
gateway 192.168.202.2
dns-nameservers 8.8.8.8
But after reboot, if I do ifconfig
, I still have the old ens33 :
ens33 Link encap:Ethernet HWaddr 00:0c:29:f9:a7:4a
inet addr:192.168.93.135 Bcast:192.168.93.255 Mask:255.255.255.0
inet6 addr: fe80::90ab:97d4:31ea:245a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:214 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21403 (21.4 KB) TX bytes:13645 (13.6 KB)
Why is that ?
eth0
– steeldriver Jan 05 '17 at 02:53