Date: Thu, 3 Jul 2003 11:58:58 -0700 From: "Han Hwei Woo" <hhwoo@argosy.ca> To: "stan" <stanb@panix.com>, "Free BSD Questions list" <freebsd-questions@freebsd.org> Subject: Re: 2 NIC's (one dhcp) and default route issue Message-ID: <001101c34195$d9bf20a0$0900a8c0@a7n8x> References: <20030703180001.GB8587@teddy.fas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <stanb@panix.com> To: "Free BSD Questions list" <freebsd-questions@freebsd.org> 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101c34195$d9bf20a0$0900a8c0>