I have 2 ip addresses on my interface:
$ ifconfig
Shows "192.168.1.3" (which is the PHANTOM one I from DHCP I do not know how / why).
$ ip addr
As you can see the 192.168.1.3 is "scope global eno1" and "192.168.1.74" is "scope global secondary eno1". So where the heck is it getting this FIRST one (192.168.1.3) from ?!?!?
This is all that I have configured (intentionally)
/etc/network/interfaces
Can someone please help me understand where the phantom dhcp address is coming from if it is not listed here on my etc/network/interfaces ?!?!
$ ifconfig
Code:
eno1 Link encap:Ethernet HWaddr d4:ae:52:70:0f:b9
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d6ae:52ff:fe70:fb9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5656 errors:0 dropped:0 overruns:0 frame:0
TX packets:3712 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4018398 (4.0 MB) TX bytes:331856 (331.8 KB)
$ ip addr
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d4:ae:52:70:0f:b9 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/24 brd 192.168.1.255 scope global eno1
valid_lft forever preferred_lft forever
inet 192.168.1.74/24 brd 192.168.1.255 scope global secondary eno1
valid_lft forever preferred_lft forever
inet6 fe80::d6ae:52ff:fe70:fb9/64 scope link
valid_lft forever preferred_lft forever
This is all that I have configured (intentionally)
/etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eno1
# iface eno1 inet manual
iface eno1 inet static
address 192.168.1.74
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1