dhcpcd-discuss

removing default route

Liao, Can (Cathy)

Tue Oct 18 20:53:59 2016

Hello Roy,

I am working on one of intermittent DHCP issue found in our device, and I would like to get your advices for "removing default route" issue observed on our device. Default route is actually removed by dhcp client on our device for the problem scenario and device cannot access network after that.

We are using DHCP client version 6.11.2, below is an error dhcp client logs from our device. Last message from the log indicates  "Oct 3 12:21:07 dhcpcd[409]: eth0: removing default route via 10.138.217.1".

Have you seen this type of error before? If yes,  what could be possible causes for this issue?

Oct 3 12:20:17 dhcpcd[409]: eth0: soliciting a DHCP lease
Oct 3 12:20:17 dhcpcd[409]: eth0: sending DISCOVER (xid 0x68bca605), next in 3.2 seconds
Oct 3 12:20:17 dhcpcd[409]: eth0: offered 10.138.217.21 from 10.138.251.67
Oct 3 12:20:17 dhcpcd[409]: eth0: sending REQUEST (xid 0x68bca605), next in 4.6 seconds
Oct 3 12:20:17 dhcpcd[409]: eth0: acknowledged 10.138.217.21 from 10.138.251.67
Oct 3 12:20:17 dhcpcd[409]: eth0: probing address 10.138.217.21/24
Oct 3 12:20:17 dhcpcd[409]: eth0: probing for 10.138.217.21
Oct 3 12:20:17 dhcpcd[409]: eth0: ARP probing 10.138.217.21 (1 of 3), next in 1.0 seconds
Oct 3 12:20:18 dhcpcd[409]: eth0: ARP probing 10.138.217.21 (2 of 3), next in 1.7 seconds
Oct 3 12:20:20 dhcpcd[409]: eth0: ARP probing 10.138.217.21 (3 of 3), next in 2.0 seconds
Oct 3 12:20:22 dhcpcd[409]: eth0: DAD completed for 10.138.217.21
Oct 3 12:20:22 dhcpcd[409]: eth0: leased 10.138.217.21 for 691200 seconds
Oct 3 12:20:22 dhcpcd[409]: eth0: renew in 345600 seconds, rebind in 604800 seconds
Oct 3 12:20:22 dhcpcd[409]: eth0: writing lease `/var/db/dhcpcd-eth0.lease'
Oct 3 12:20:22 dhcpcd[409]: eth0: adding IP address 10.138.217.21/24 broadcast 10.138.217.255
Oct 3 12:20:22 dhcpcd[409]: eth0: adding route to 10.138.217.0/24
Oct 3 12:20:22 dhcpcd[409]: eth0: adding default route via 10.138.217.1
Oct 3 12:20:22 dhcpcd[409]: eth0: ARP announcing 10.138.217.21 (1 of 2), next in 2.0 seconds
Oct 3 12:20:22 dhcpcd[409]: eth0: executing `dhcpcd-run-hooks' BOUND
Oct 3 12:20:23 dhcpcd[451]: dhcpcd already running on pid 409 (/var/run/dhcpcd-eth0-4.pid)
Oct 3 12:20:24 dhcpcd[409]: eth0: ARP announcing 10.138.217.21 (2 of 2)
Oct 3 12:21:07 dhcpcd[409]: eth0: removing default route via 10.138.217.1

Thanks and regards,

Cathy Liao

Email: canli@xxxxxxxxx

Follow-Ups:
Re: removing default routeRoy Marples
Archive administrator: postmaster@marples.name