Hi list

Lets say you have this in rc.conf:

ifconfig_dc0="inet 1.2.3.4 netmask 255.255.255.0"
ifconfig_dc1="DHCP"
default_router="1.2.3.254"

The network on dc1 is 192.168.0.0/24 with the default router on that subnet being 192.168.0.254.

If I reboot the box, dhclient will set default router to 192.168.0.254, overriding the value I specified in rc.conf.
Is there a way to prevent that?


Right now, I have a shellscript that runs as soon as the box is finished booting that resets the default route to its correct value, but somehow it feels that this is not the right way to do it.

--
R

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to