Author Topic: DHCPD and 2 IP Addresses  (Read 796 times)

0 Members and 1 Guest are viewing this topic.

Offline mrbrklyn

  • Vollwertiges Mitglied
  • ***
  • Posts: 205
  • NYLXS
    • mrbrklyn
  • Desktop: wmaker
  • Skill: Advanced
DHCPD and 2 IP Addresses
« on: 09. May 2016, 19:11:14 »
My new workstation seems to be running with 2 IP addresses.  It is using DHCP and I have no idea why this is happening.

 [manjaro ~]# dhcpcd  -e force_hostname=YES
dev: loaded udev
no interfaces have a carrier
forked to background, child pid 7856
[manjaro ~]# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.0.56  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::5265:f3ff:fe4b:117  prefixlen 64  scopeid 0x20<link>
        ether 50:65:f3:4b:01:17  txqueuelen 1000  (Ethernet)
        RX packets 6404987  bytes 9177196262 (8.5 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3280537  bytes 281004577 (267.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xa1000000-a1020000 



From the logs
May  9 13:08:59 manjaro dhcpcd[8283]: dev: loaded udev
May  9 13:08:59 manjaro kernel: cfg80211: disagrees about version of symbol module_layout
May  9 13:08:59 manjaro kernel: cfg80211: disagrees about version of symbol module_layout
May  9 13:08:59 manjaro dhcpcd[8283]: no interfaces have a carrier
May  9 13:08:59 manjaro dhcpcd[8283]: forked to background, child pid 8293
May  9 13:08:59 manjaro dhcpcd[8293]: eno1: waiting for carrier
May  9 13:08:59 manjaro kernel: IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
May  9 13:09:00 manjaro dhcpcd[8293]: eno1: carrier acquired
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  (eno1): link connected
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  (eno1): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
May  9 13:09:00 manjaro dhcpcd[8293]: eno1: adding address fe80::1688:4c95:f833:ef56
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  Auto-activating connection 'Wired connection 1'.
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  (eno1): Activation: starting connection 'Wired connection 1' (8d3f869a-32c6-44f2-ba58-5c202a085935)
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  (eno1): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  NetworkManager state is now CONNECTING
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  (eno1): device state change: prepare -> config (reason 'none') [40 50 0]
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  (eno1): device state change: config -> ip-config (reason 'none') [50 70 0]
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  Activation (eno1) Beginning DHCPv4 transaction (timeout in 45 seconds)
May  9 13:09:00 manjaro kernel: e1000e: eno1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
May  9 13:09:00 manjaro kernel: e1000e 0000:00:1f.6 eno1: 10/100 speed: disabling TSO
May  9 13:09:00 manjaro kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
May  9 13:09:00 manjaro NetworkManager[1225]: <info>  dhclient started with pid 8296
May  9 13:09:00 manjaro dhcpcd[8293]: DUID 00:01:00:01:1e:c3:79:fc:50:65:f3:4b:01:17
May  9 13:09:00 manjaro dhcpcd[8293]: eno1: IAID f3:4b:01:17
May  9 13:09:00 manjaro dhclient[8296]: DHCPREQUEST on eno1 to 255.255.255.255 port 67
May  9 13:09:01 manjaro dhclient[8296]: DHCPACK from 10.0.0.5
May  9 13:09:01 manjaro NetworkManager[1225]: <info>    address 10.0.0.56
May  9 13:09:01 manjaro NetworkManager[1225]: <info>    plen 24 (255.255.255.0)
May  9 13:09:01 manjaro NetworkManager[1225]: <info>    gateway 10.0.0.5
May  9 13:09:01 manjaro NetworkManager[1225]: <info>    server identifier 10.0.0.5
May  9 13:09:01 manjaro NetworkManager[1225]: <info>    lease time 21600
May  9 13:09:01 manjaro NetworkManager[1225]: <info>    nameserver '10.0.0.5'
May  9 13:09:01 manjaro NetworkManager[1225]: <info>    domain name 'mrbrklyn.com'
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  (eno1): DHCPv4 state changed unknown -> bound
May  9 13:09:01 manjaro avahi-daemon[1619]: Joining mDNS multicast group on interface eno1.IPv4 with address 10.0.0.56.
May  9 13:09:01 manjaro avahi-daemon[1619]: New relevant interface eno1.IPv4 for mDNS.
May  9 13:09:01 manjaro avahi-daemon[1619]: Registering new address record for 10.0.0.56 on eno1.IPv4.
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  (eno1): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  (eno1): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  (eno1): device state change: secondaries -> activated (reason 'none') [90 100 0]
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  NetworkManager state is now CONNECTED_LOCAL
May  9 13:09:01 manjaro dhclient[8296]: bound to 10.0.0.56 -- renewal in 10490 seconds.
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  NetworkManager state is now CONNECTED_GLOBAL
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  Policy set 'Wired connection 1' (eno1) as default for IPv4 routing and DNS.
May  9 13:09:01 manjaro NetworkManager[1225]: <info>  (eno1): Activation: successful, device activated.
May  9 13:09:01 manjaro dbus[1199]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May  9 13:09:01 manjaro dbus[1199]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May  9 13:09:01 manjaro nm-dispatcher[8310]: req:1 'up' [eno1]: new request (2 scripts)
May  9 13:09:01 manjaro nm-dispatcher[8310]: req:1 'up' [eno1]: start running ordered scripts...
May  9 13:09:01 manjaro /etc/init.d/NetworkManager[8331]: status: inactive
May  9 13:09:01 manjaro /etc/init.d/NetworkManager[8348]: status: inactive
May  9 13:09:01 manjaro dhcpcd[8293]: eno1: soliciting an IPv6 router
May  9 13:09:01 manjaro dhcpcd[8293]: eno1: soliciting a DHCP lease
May  9 13:09:02 manjaro avahi-daemon[1619]: Joining mDNS multicast group on interface eno1.IPv6 with address fe80::5265:f3ff:fe4b:117.
May  9 13:09:02 manjaro avahi-daemon[1619]: New relevant interface eno1.IPv6 for mDNS.
May  9 13:09:02 manjaro avahi-daemon[1619]: Registering new address record for fe80::5265:f3ff:fe4b:117 on eno1.*.
May  9 13:09:02 manjaro dhcpcd[8293]: eno1: offered 10.0.0.35 from 10.0.0.5
May  9 13:09:02 manjaro dhcpcd[8293]: eno1: probing address 10.0.0.35/24
May  9 13:09:03 manjaro ntpd[1967]: Listen normally on 11 eno1 10.0.0.56:123
May  9 13:09:03 manjaro ntpd[1967]: Listen normally on 12 eno1 [fe80::5265:f3ff:fe4b:117%2]:123
May  9 13:09:07 manjaro dhcpcd[8293]: eno1: leased 10.0.0.35 for 21600 seconds
May  9 13:09:07 manjaro dhcpcd[8293]: eno1: adding route to 10.0.0.0/24
May  9 13:09:07 manjaro avahi-daemon[1619]: Registering new address record for 10.0.0.35 on eno1.IPv4.
May  9 13:09:07 manjaro dhcpcd[8293]: eno1: adding default route via 10.0.0.5
May  9 13:09:09 manjaro ntpd[1967]: Listen normally on 13 eno1 10.0.0.35:123
May  9 13:09:09 manjaro ntpd[1967]: 198.55.111.50 local addr 10.0.0.56 -> 10.0.0.35
May  9 13:09:14 manjaro dhcpcd[8293]: eno1: no IPv6 Routers available

Offline stephane

  • Neuling
  • *
  • Posts: 27
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: 16.06.1 Xfce ( mac) & 16.06.1 ( pc)
  • GPU Card: ATI 5770 Mac & Geforce 970GTX ( pc)
  • GPU driver: Free Driver & non Free Driver
  • Kernel: Linux 4.6.2 (mac) - Linux 4.6.2 (pc)
  • Skill: Novice
Re: DHCPD and 2 IP Addresses
« Reply #1 on: 11. May 2016, 19:49:36 »
well i have same issue , appears with update 08-05-2016
the box delivers two Ip , IPv4 and IPv6
if you can check values for you netmask , for mine
i have choose 255.225.225.0 , so IPv4 have to be 192.168.1.1 and 192.168.1.254 , 192.168.1.255 ( broadcast)

same error with timout DHCPv4 , and i start with IPv6 ..
and i cannot log in the box ( only by internet ) to change anything

==> try to check IPv4 is between min and Max values ( here 1 and 255 )

i suspect slaac , tha do not use MAC eth in IPv4 adress and we get timeout

NetworkManager.conf was good for me , and timeout appears
dhpc:dhclient ( if internal you should change for dhclient)



 

« Last Edit: 12. May 2016, 00:10:17 by stephane »

Offline Odysseus

  • Neuling
  • *
  • Posts: 18
  • I'm new. Be nice!
  • Branch: stable
  • Desktop: KDE
  • GPU Card: nVidia GeForce Go 7950 GTX
  • GPU driver: nVidia non-free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: DHCPD and 2 IP Addresses
« Reply #2 on: 11. May 2016, 22:20:19 »
Perhaps this may be related to the network manager bug mentioned during the last update? Check /etc/NetworkManager/NetworkManager.conf and under (main) change the dhcp value: remove "internal" and put "dhclient" (with no quote marks). Now reboot. See if this solves your problem.
« Last Edit: 11. May 2016, 22:22:17 by Odysseus »