Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 14:00:01 -0400
From:      stan <stanb@panix.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   FW: 2 NIC's (one dhcp) and default route issue
Message-ID:  <20030703180001.GB8587@teddy.fas.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030703180001.GB8587>