Thread: Dhcp

    #1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2004
    Posts
    566
    Rep Power
    12

    Dhcp


    Hi,
    I installed FreeBSD 6.2 and during installation I selected
    automatic DHCP - meaning I got almost all ip fields filled out.

    I would like to change one of them.
    Instead of dynamic ip I would like to have 192.168.0.50

    How do I go about it?
    Where is the conf file to accomplish it?

    Thank you
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,643
    Rep Power
    4248
    You need to edit /etc/rc.conf and set it up there. See section 11.8.2 here.

    You might also want to add a defaultrouter= line here to set the default route. See man 5 rc.conf for more information on what to set for defaultrouter=
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo

IMN logo majestic logo threadwatch logo seochat tools logo