nixCraft Linux 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...


Go Back   nixCraft Linux 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

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-10-2009, 03:27 PM
Member
User
 
Join Date: Jul 2008
OS: Free BSD
Posts: 36
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 14-10-2009, 03:31 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft 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
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
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 3 09-10-2009 05:01 PM
Find My External IP Assigned By ISP eawedat Networking, Firewalls and Security 6 21-08-2009 10:45 PM
DHCP server aindusekhar Linux software 1 13-09-2005 06:29 PM
Dynamic DNS , should get updates automatically from DHCP sonaikar Linux software 1 28-03-2005 12:14 PM
How to update DNS through DHCP automatically sonaikar Shell scripting 1 16-03-2005 06:42 PM


All times are GMT +5.5. The time now is 11:33 AM.


Powered by vBulletin® Version 3.8.5 - 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