DHCP to Static

Toni Schmidbauer toni at stderror.at
Wed May 12 22:15:10 PDT 2004


On Tue, May 11, 2004 at 06:11:20PM -0500, Bryan Cassidy wrote:
> Just went and got an extra NIC card, and ordered static ip address and upgraded my service. I have a quick question. If I am changing from dhcp to static is there anything that I need to do in order to take advantage of static or to setup static? Always had dhcp up until now. Not sure if I have to do anything to setup static. Thanks

if you are getting your static ip-address from the dhcp server,
it will just work. if not you will need something like this in your
/etc/rc.conf:

ifconfig_fxp0="inet 192.168.1.2 netmask 255.255.255.0"
defaultrouter="192.168.1.1"

or take a look at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert    | Toni Schmidbauer
-- Max Planck                                     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040512/7d1648a7/attachment.bin


More information about the freebsd-questions mailing list