Re: dhcpcd - double entries in kernel routing table
Roy Marples
Sat Dec 13 20:42:08 2014
Hi
On Saturday 13 Dec 2014 21:24:02 J B wrote:
> reg: dhcpcd 6.6.4
>
> # dhcpcd
> broadcast_address=192.168.1.255
> dhcp_lease_time=86400
> dhcp_message_type=5
> dhcp_server_identifier=192.168.1.1
> domain_name_servers=192.168.1.1
> ip_address=192.168.1.213
> network_number=192.168.1.0
> routers=192.168.1.1
> subnet_cidr=24
> subnet_mask=255.255.255.0
>
> $ ifconfig -a
> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.1.213 netmask 255.255.255.0 broadcast 192.168.1.255
> ...
>
> $ route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 202 0 0 eth0
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 1024 0 0
> eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
> 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 202 0
> 0 eth0
>
> Why the double entries ?
Good question.
Have you changed from something to dhcpcd or is another DHCP client or Network
Manager style program still running?
Roy
Archive administrator: postmaster@marples.name