Robert P. J. Day
2009-02-18 13:06:58 UTC
based on what little i've been told about a situation here, we have
a BB-based system that, when it boots, uses udhcpc to assign an IP
address to both interfaces eth0 and eth1. it does this just fine --
so far, so good.
however, it also assigns two default addresses in the routing table,
one for each interface, and there is some suspicion that this is
causing a problem with the way this device communicates with other
network devices.
long story short: how to not have udhcpc add default entries to the
routing table. obviously, i can manually remove those entries later,
but i checked the doc for "udhcpc" and i don't see an obvious option
that says, "don't set a default route."
do i just do that manually after invoking "udhcpc"? or can i tuck
that away in the udhcpc "script" file that is run at DHCP events?
thanks.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
a BB-based system that, when it boots, uses udhcpc to assign an IP
address to both interfaces eth0 and eth1. it does this just fine --
so far, so good.
however, it also assigns two default addresses in the routing table,
one for each interface, and there is some suspicion that this is
causing a problem with the way this device communicates with other
network devices.
long story short: how to not have udhcpc add default entries to the
routing table. obviously, i can manually remove those entries later,
but i checked the doc for "udhcpc" and i don't see an obvious option
that says, "don't set a default route."
do i just do that manually after invoking "udhcpc"? or can i tuck
that away in the udhcpc "script" file that is run at DHCP events?
thanks.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================