The correct syntax is: supersede routers 0.0.0.0; Did you forget the semicolon in the config also? /etc/dhclient.conf is the way to do this, so make sure everything in the file is correct.
Han Hwei Woo http://www.argosy.ca/~hhw ----- Original Message ----- From: "stan" <[EMAIL PROTECTED]> To: "Free BSD Questions list" <[EMAIL PROTECTED]> Sent: Thursday, July 03, 2003 11:00 AM Subject: FW: 2 NIC's (one dhcp) and default route issue > > I'm building a machine with 2 nic's. They will be on seperate subnets, and > in the long run both will have fixed addresses. > > However at the moment I've set one of these up for dhcp. The fixed addres > NIC should be the one thta has the default route associated with it, and I > have a defaultrouter= statement in /etc/rc.conf. However, when i boot the > machine netstat shows that teh dhcp interface has aquired the default > route. > > How can I correct this? > > I tried adding "supersede routersxxx.xxx.xxx.xx" in /etc/dhclient.conf, but > this does not seem to work. > > The machine is 4STABLE, if thta matters. > > Thanks. > > -- > "They that would give up essential liberty for temporary safety deserve > neither liberty nor safety." > -- Benjamin Franklin > > ----- End forwarded message ----- > > -- > "They that would give up essential liberty for temporary safety deserve > neither liberty nor safety." > -- Benjamin Franklin > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"