nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How set up my solaris 10 box to get ip from DHCP server?

This is a discussion on How set up my solaris 10 box to get ip from DHCP server? within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; iam new to unix and hav no idea to do this my dhcp server is on rhel5. i know how ...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2008, 10:03 AM
Junior Member
User
 
Join Date: Jun 2008
OS: RHEL
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
ashu.wifi is on a distinguished road
Default How set up my solaris 10 box to get ip from DHCP server?

iam new to unix and hav no idea to do this my dhcp server is on rhel5. i know how to do this on linux but not on unix.
Reply With Quote
  #2 (permalink)  
Old 09-09-2008, 04:05 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Command to get ip from DHCP server
Code:
ifconfig interface dhcp start
So if interface name is en0, enter
Code:
ifconfig en0 dhcp start
Use dmesg to find interface name
Code:
dmesg | grep ether
To get IP on boot , create a file called /etc/dhcp.interface in our case
Code:
touch /etc/dhcp.en0
To see dhcp status enter:
Code:
ifconfig interface dhcp status
ifconfig en0 dhcp status
Solaris DHCP Client (System Administration Guide: IP Services) - Sun Microsystems
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 09-09-2008, 07:39 PM
Junior Member
User
 
Join Date: Jun 2008
OS: RHEL
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
ashu.wifi is on a distinguished road
Default

Thanks Buddy this is really cool and its workinf but is there is any one particular file like in Linux we have /etc/sysconfig/networ-scripts/ifcfg-eth0
to configure to all this stuff

Thanks again
Reply With Quote
  #4 (permalink)  
Old 09-09-2008, 09:11 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 244 Times in 183 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

Quote:
Originally Posted by ashu.wifi View Post
Thanks Buddy this is really cool and its workinf but is there is any one particular file like in Linux we have /etc/sysconfig/networ-scripts/ifcfg-eth0
to configure to all this stuff

Thanks again
No touch command creates dhcp configuration file and no further configuration required on your part.
__________________
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
dhcp , solaris networking , unix


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
VMware ESX server && Solaris 10 on same PC ?? vikas027 Linux software 2 07-09-2009 03:03 AM
single DHCP server with multiple VLAN's frank Computer Networking and Internet/broadband 2 07-12-2007 12:38 PM
remote server monitoring for Solaris pliu0606 Solaris/OpenSolaris 4 15-10-2005 02:49 PM
DHCP server aindusekhar Linux software 1 13-09-2005 06:29 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 02:23 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