Visit Our UNIX and Linux User Community


dhcp with solaris 8


 
Thread Tools Search this Thread
Special Forums IP Networking dhcp with solaris 8
# 1  
Old 09-19-2001
Question dhcp with solaris 8

I am running solaris 8 on the ultra 5 sparc. I used to have a static ip address set up and now I've moved and I'm trying to get dhcp working. I have read many man pages. My latest attempt was trying to use the ifconfig command to set this up but I'm not sure how to use it. How does my gateway get set up and how to get to the dhcp server? I have also started the dhcpagent. Do I need to do clean up from my last network configuration before trying the dhcp? Is there any easier way to do what I'm trying to do?
# 2  
Old 09-25-2001
you can do it one of two ways:

run dhcpconfig, and configure your local machine that way

or run sys-unconfig and set up dhcp that way. I used the second way and it worked great. it modified all of the files and interfaces for me.

some who monitor this site will have you edit all of the files, but I personally like the path of least resistance (even though a lot can be said about manually editing files).

hope this helps.
# 3  
Old 09-25-2001
thanks, I think I'll try the second way for now. does sys-unconfig take down the whole OS?
# 4  
Old 09-25-2001
what it actually does is it brings your system down to the PROM prompt (the ok prompt), then you have to boot from there. Because this command wipes out your original network configuration, you will be placed into an interactive configuration mode upon boot. just follow the bouncing ball when it asks the questions and you should be fine. It has worked for me every time so far.
# 5  
Old 10-02-2001
sys-unconfig

well I ran sys-unconfig and when it runs ifconfig it times out on my interface (hme0) so then nothing gets configured. it says that my interface is not configured properly. then it dumps core and runs rpc services and hangs. at this point I have to power down. any thoughts?
# 6  
Old 10-02-2001
log into the machine as root and do an ifconfig -a.

if hme0 doesn't show up, do the following:
ifconfig hme0 plumb
ifconfig hme0 up

then run another ifconfig -a to see if it now shows in the configuration. if it doesn't after doing all of that, then you may have a bad nic. what hardware are you doing this on, because I had the same problem on an Ultra 10 last summer and they had to replace the entire mother board because the the nic is part of that.

let me know what happens. hope this helps.
# 7  
Old 10-02-2001
ok I have an Ultra 5.
now here is the strange thing. I have run infconfig -a and yes hme0 does show up but no ip is assinged to it and it is not up. i have to manually ifconfig hme0 up to get that working. but then after that I don't know what to do. I tried to set up my gateway with route add default <address> this would be the gateway address I was assinged from my cable company. make any sense?

Previous Thread | Next Thread
Test Your Knowledge in Computers #403
Difficulty: Easy
Cygwin is a POSIX-compatible environment that runs natively on Microsoft Windows.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Solaris static IP changed (non DHCP)

We have 2 solaris 10 t5240 servers with static IP addresses on nxge0 I/F which were rebooted a few days back with a known good config that has been in place for years (for /etc/hosts, /etc/hostname.nxge0, /etc/netmasks, etc) They are not using dhcp. About the same time today, both of their... (7 Replies)
Discussion started by: hdatontodo
7 Replies

2. Solaris

Dhcp in use or not on Solaris machine

Hi All, Could you please let me know how can we check whether any given solaris machien is using DHCP or not. is ps -ef | grep dhcp is full proof method or is their any other way. (10 Replies)
Discussion started by: omkar.jadhav
10 Replies

3. Solaris

Solaris DHCP Server

I need to find out the MAC address of an IP leased from DHCP server . For Eg:-i need to know the MAC of the below mentioned IP at the below mentioned time . IP : 172.16.28.90 Date :Sunday July 2nd 2011 Time : 14.07.2011 OS -Solaris 10 Vital QIP IP management software using to... (0 Replies)
Discussion started by: sandeep.tk
0 Replies

4. Solaris

Solaris 10 DHCP Help

Dear All, I have following configuration solaris 10 host interface e1000g0 hold IP 10.124.73.178 having internet access natted to public ip on cisco switch interface e1000g1 hold IP 192.168.8.10 DHCP server with DHCP client IP ranges 192.168.8.11 to 192.168.8.15 /etc/defaultrouter hold... (4 Replies)
Discussion started by: patel1678
4 Replies

5. Solaris

Solaris 9 : DHCP Option 43 and 60

Hello, I need to configure a Cisco VLAN Accesspoint with DHCP using Solaris dhtadm & pntadm Network: 10.10.122.0 255.255.255.0 Default Router 10.10.122.1 Scope Range 10.10.122.10 - 254 Option 60 “Cisco AP c1142” Option 43 ... (0 Replies)
Discussion started by: fredy82
0 Replies

6. UNIX for Dummies Questions & Answers

Solaris Machine IP Configuration via DHCP

I have a new solaris machine and I am trying to bring the same on network. The IP assignemnt is via DHCP. I want to know as which files need to be modified to include DHCP server IP in order that the machine gets its IP via DHCP server. Thanks in Advance. :) (1 Reply)
Discussion started by: Ashvin Gaur
1 Replies

7. Solaris

Setting DHCP on Solaris 8

I am trying to set up a DHCP on Sunblade 100. I have Dlink router that connects me to the net with my other computers. I can't seem to let my DHCP server to give out IP addresses instead of my router. I have been working on this for the last three days. I had an issue with Unknown name but i have... (4 Replies)
Discussion started by: aliban83
4 Replies

8. Solaris

Stop DHCP in Solaris 10

Can any one tell me how to stop DHCP service on Solaris 10 so that it should not start nextime when the system is rebooted. (2 Replies)
Discussion started by: shabu
2 Replies

9. Solaris

Solaris 10 u1 x86 DHCP

How is it possible to derive the very next IP that the solaris dhcp server is going to assign to the next host that requests? (0 Replies)
Discussion started by: ne0phyte
0 Replies

10. IP Networking

Solaris DHCP and DNS

I have managed to setup my Solaris box to receive an IP number from a DHCP server. In addition, I can ping and telnet between my dhcp server and my solaris box using the IP number. However, I can't resolve addresses by name from my solaris box. In my nsswitch.conf file I have: hosts: dns ... (4 Replies)
Discussion started by: marist89
4 Replies

Featured Tech Videos