2 ips 1 nic, cannot remove permanently and where from originate?
Hello.
Ubuntu 16.04 Having issues with 2 ip addresses showing up on 1 nic which I know is not that unusual, except that 1) why would my system create 2 ip addresses on 1 nic (I certainly never created it) and 2) how can I permanently stop that from appearing after every reboot? Of importance is to get to the bottom of *why* and from *where* this additional IP addresses is coming from. After boot: 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff inet 192.168.1.236/24 brd 192.168.1.255 scope global dynamic enp2s0 valid_lft 86309sec preferred_lft 86309sec inet 192.168.1.4/24 brd 192.168.1.255 scope global secondary enp2s0 valid_lft forever preferred_lft forever after ip addr del 192.168.1.4/24 dev enp2s0 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff inet 192.168.1.236/24 brd 192.168.1.255 scope global dynamic enp2s0 valid_lft 74429sec preferred_lft 74429sec But this doesn't stick on reboot. cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback nothing uncommented in dnsmasq.conf |
This may work.
"update-rc.d dhcpcd disable service dhcpcd stop ip addr del %YOURS-SECOND-IP% dev ethX" https://raspberrypi.stackexchange.co...y-ip-come-from https://askubuntu.com/questions/9147...ary-ip-address |
That worked! Thank you.
|
Thanks for the update.
|
All times are GMT -5. The time now is 03:50 PM. |