View Single Post
Old 08-04-05, 09:59 AM   #3
Registered User
Join Date: Aug 2005
Posts: 15
Default Re: Solaris 10 Networking

Marovincian, to activate ipv4 networking on Solaris 10:

Manually, you can do the following with either the elxl (mine; used in the rest
of this note where the interface name should go) or pcelx device (use prtconf
-D command to check which one you have and whether or not the system
recognized it):

ifconfig elxl0 plumb
ifconfig elxl0 XXX.XXX.XXX.XXX
ifconfig elxl0 up
route add default XXX.XXX.XXX.XXX

You will then want to do the following:

a) edit /etc/hosts and add relevant local names & numbers
b) add /etc/resolv.conf specifying at least your nameservers;

lines are of form:

nameserver XXX.XXX.XXX.XXX

c) modify /etc/nsswitch.conf to add dns to the end of the hosts line
d) add /etc/defaultrouter to have routing taken care of at boot;

contents should be the IP of your gateway machine

e) to have the interface added and configured automatcially at boot time,
add a file /etc/hostname.elxl0

contents should be the IP of your adapter

There is more to the story if you want to mess with ipv6

Last edited by ctilburg; 08-04-05 at 12:00 PM.
ctilburg is offline   Reply With Quote