nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

FreeBSD: How to set the IP automatically assigned by DHCP

This is a discussion on FreeBSD: How to set the IP automatically assigned by DHCP within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi can anyone guide me on how to make the IP assigned automatically by DHCP in FreeBSD...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 14th October 2009, 03:27 PM
Member
 
Join Date: Jul 2008
OS: Free BSD,Ubuntu
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
enochalbert is on a distinguished road
Default FreeBSD: How to set the IP automatically assigned by DHCP

Hi can anyone guide me on how to make the IP assigned automatically by DHCP in FreeBSD
Reply With Quote
  #2 (permalink)  
Old 14th October 2009, 03:31 PM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,299
Thanks: 13
Thanked 413 Times in 306 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

Edit your /etc/rc.conf to include the following:
Code:
ifconfig_rl0="DHCP"
Replace rl0 with actual interface name. Reboot the system. If you need hostname, use the following institutions:
  1. FreeBSD DHCP Set Hostname ( Empty Hostname After Reboot )
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
Reply

Tags
/etc/rc.conf, dhcp, freebsd, freebsd dhcp client, freebsd dhcp networking, rc.conf


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
MAC binding in DHCP in Linux amit.rhce CentOS / RHEL / Fedora 5 5th April 2010 12:39 PM
Find My External IP Assigned By ISP eawedat Networking, Firewalls and Security 6 21st August 2009 10:45 PM
DHCP server aindusekhar Linux software 1 13th September 2005 06:29 PM
Dynamic DNS , should get updates automatically from DHCP sonaikar Linux software 1 28th March 2005 12:14 PM
How to update DNS through DHCP automatically sonaikar Shell scripting 1 16th March 2005 06:42 PM


All times are GMT +5.5. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40