Solaris 10 Networking

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 Networking
# 1  
Solaris 10 Networking

I have just installed Solaris 10 for x86. The install seemed to have worked fine, and I have configured my hostname and am able to login and do whatever. However, networking does not seem to have been installed. I have a router which assigns ip address via DHCP. I would have thought Solaris would have been automatically assigned using this, but no. I went to the good 'ole /etc but didn't find any of the files one would think would be there, such as hostname.<myhostname>, or netmasks, and so forth. I then proceeded in finding a dir named inet (in /etc) which contained some of these files but not all. I can't find the defaultgateway at all!

So to sum up, how does one install networking with Solaris 10. (As far as i can deduce it is a bit different from previous versions Smilie )


PS. I'm sure this question is asked often, but through the search tool I have found nothing as specific to my topic...
# 2  
First is your network card really supported? If it is so, then you need an empty file /etc/dhcp.<yournetworkdevice> (for example /etc/dhcp.elxl0)
and /etc/hostname.<yournetworkdevice>
You can also add some commands in the dhcp file like "wait time" and "primary" but it is not necessary.

> I can't find the defaultgateway at all!
You do not need the file /etc/defaultgateway if are using dhcp.

It is also possible to configure this with the command "sys-unconfig" as root. Then your network, time, X etc. will be configured again after a reboot.
# 3  
Ok, I tried doing the sys-unconfig. After the system restarted it began reconfiguring everything. However it just browsed past the network config - giving me no options. When I create all the files and do "ifconfig cardhere plumb up" it says the card cannot be found. I did a quick google search on my card, which is the Linksys LNE100TX and it appears to be supported with the afe driver. Only thing is that I have two of these cards in the system, not that it should make any difference. So what is going on!?

Thanks for your help,
# 4  

Try this:

1. logon to the workstation as root
2. create a file with name:
where INTERFACENAME is the name of the network interface where DHCP must be configured
command: #touch /etc/dhcp.INTERFACENAME

3. empty the file with name /etc/hostname.INTERFACENAME
command: #> /etc/hostname.<<interface>>

4. put the following command in the file: /etc/dhcp.<<interface>>
wait 120

5. Remove the entry with the fixed IP address and hostname from the file: /etc/hosts

6. remove the following file: /etc/defaultrouter
command: #rm /etc/defaultrouter

7. Reboot the client
command: #reboot
# 5  
this thread is over 3 years old... and without the driver for the network cards your solution won't work either!
# 6  
MySQL Vijay

Hi dear,

once if you installed solaris and if you connect a router that delivering dhcp dynamically, sure solaris will accept the incoming dhcp connections.
i tried this myself .

i think may be your ethernet is not supported by solaris , first you check your ethernet driver is installed properly.

to check that.

ifconfig -a

it will list down the ethernet properties such as ip address, subnet and broadcast address. ( with the interface name )

if you find only loopback address without any ip and broadcast , then pretty sure your ethernet is not installed ...

find a suitable ethernet card for solaris.

Try commad prtdiag to ensure that ethernet driver is installed properly. prtdiag will show all the hardware details installed.

Hope this help you.

Thanks & Regards
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #385
Difficulty: Easy
The Linux uptime command show how long the hard drive has been powered down.
True or False?

10 More Discussions You Might Find Interesting

1. IP Networking

Can Solaris VPN to a Server without breaking it's other networking rules !?

Hi All, Actually a very basic question this one. I've got a Solaris 10 x86 server box on a network. There are a group of other servers I need to connect to from it, but via a VPN connection. If I install a vpn client on my solaris box, can I configure the VPN connection so it only routes certain... (1 Reply)
Discussion started by: mikecouk
1 Replies

2. Solaris

Solaris networking

Hi, I have installed two solaris boxes in an VM. First box is 10-1 Has two interfaces and in connected briged to the lan an d connected internal to an virtual lan. Second box is 10-2 Has one interface. Now what I wanted to do is a setup so that 10-2 connects through 10-1 to the lan.... (3 Replies)
Discussion started by: jld
3 Replies

3. Solaris

Solaris networking problem

e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet netmask ffffffc0 broadcast ether 0:14:4f:a0:e3:3a e1000g1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 8 inet netmask ffffffc0... (3 Replies)
Discussion started by: sunnybee
3 Replies

4. IP Networking


Hi, I have a question on networking. I will try to ask with an example... Suppose i am googling something, as in searching something in the google page. In this case what I basically want to know is, does the client do a connect evrytime to the server whenever a search is done in google,... (1 Reply)
Discussion started by: naan
1 Replies

5. IP Networking

Solaris Networking - help

Hi all Right, i need to admit Im c4p on networking. I hate it, always have, always will. Here's my problem Ive got 3 hosts. A B and C. I need to directly contact host C from host A, but at the moment I have to ssh on to B, to then ssh on to C. so, I need to set up host b, to forward... (3 Replies)
Discussion started by: sbk1972
3 Replies

6. IP Networking

solaris 8 networking routing

hi all, how do i make sure that the new routing should take effect on the os memory right away? what should i run after i add all the new "route add ....". I have an example below: bash-2.03# netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface... (1 Reply)
Discussion started by: itik
1 Replies

7. Solaris

solaris networking

may i know what is the command for configure new ip, subnet mask and gateway ?? thanks .. (3 Replies)
Discussion started by: Farbegas
3 Replies

8. UNIX for Dummies Questions & Answers

Configuring networking interfaces on Solaris 10

Hi, I am trying to configure an ip address, netmask, and default gateway on my solaris machine. For example, in Linux I would do the following command: #ifconfig eth0 xx.xx.xx.xx netmask #add route or route add default In Solaris 10, I believe the commands are... (7 Replies)
Discussion started by: annointed3
7 Replies

9. IP Networking

networking between two solaris workstations

I am trying to network two solaris workstations(ultra sparc 5) at home. what shoud I use to build the one of workstations as a http and ftp server and to network with the other workstation? (please explain to me in detail.. what kind of software or equipment do I need..) Thanks John (1 Reply)
Discussion started by: jung1975
1 Replies

10. IP Networking


dear sir how many name server can be configured in single machine? thank you very much. sandeep goel (3 Replies)
Discussion started by: ask_goel
3 Replies

Featured Tech Videos