Configuring networking interfaces on Solaris 10


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Configuring networking interfaces on Solaris 10
# 1  
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 255.0.0.0
#add route or route add default xxx.xxx.xxx.xxx

In Solaris 10, I believe the commands are similar, but I don't know what my interface is (in the example above it was eth0), but in Solaris 10, I can't figure out what it is. Can someone provide me steps on how to set up my network interface on Solaris 10?

Thanks in advance for your help Smilie
# 2  
Hi,

Okay, from research I found out that I can do a dmesg to see what my interface name it. When I execute this command, I get a lot of stuff back. Is there anything in particular I can grep for?
# 3  
does 'ifconfig -a' give you a list of all your devices?
# 4  
ifconfig -a lists lo0. I thought this was my lookback and that I should not modify its address, which is current 127.0.0.1
# 5  
See this thread

When you run the dmesg command, you may find your interface but not know it - if it's a Sparc system then look for hme or qfe (possibly some others). But I think you have a Intel with Solaris X86 which the link should help with.
# 6  
I tried a few commands on a Solaris 10 box. The best I could find was:
prtconf -D | grep network
That will give you the driver name. If you don't know how the driver operates, you can do a man command on the particular driver. But this is on a Sun-Fire V240 and I'm not sure if it works as well with other hardware.
# 7  
Hi,

I have followed the instruction in the "Configuring Networking" Guide for Solarix x86 (By the way, this was a great guide), but I still can't get my two machines to talk. I have a Solaris 10 (Intel box) and a Windows XP box. I connected a cross over cable and tried to ping the other box, but they can't see each other. The network configuration is below:

Solaris 10 (Intel)
Ip address 10.0.0.2 netmask 255.0.0.0 default gateway 10.0.0.1

Win XP
Ip address 10.0.0.3 netmask 255.0.0.0 default gateway 10.0.0.1

I know the crossover cable works, because if I hook up 2 windows boxes, the 2 can ping each other. I don't understand why my Solaris box cannot ping my Win XP box. Any ideas what may be wrong
 

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

Test Your Knowledge in Computers #752
Difficulty: Medium
BIOS is an acronym for Bootstrap Input/Output System.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Configuring network interfaces in Solaris11

Hi all, Just istalled Solaris 11. Want to configure network interfaces and got some problems: #dladm show-phys # #dladm show-link # If i run ifconfig -a, i am getting 2 lo0 (loopback) interfaces and thats all. I can't enable interface, can't list it, can't assign IP to it. Can... (2 Replies)
Discussion started by: nypreH
2 Replies

2. Solaris

Solaris 8: Multiple primary interfaces connected to the same network

Hello, I have a machine with Solaris 8, and it has multiple interfaces that are connected to the same network which means they all have metric 0 (1 hop) to the default gateway. assume: * e1000g0: 10.1.1.70 * e1000g2: 10.1.1.72 * e1000g4: 10.1.1.74 * e1000g5: 10.1.1.76 * gateway:... (11 Replies)
Discussion started by: aeg
11 Replies

3. 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

4. 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

5. Solaris

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... (5 Replies)
Discussion started by: Phobos
5 Replies

6. 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

7. UNIX for Dummies Questions & Answers

Configuring networking interface on Sun Blade 1500

Hi, I am attempting to configure my ethernet interface on a Sun Blade 1500. I am testing out my network interface my connecting a crossover cable from my blade to a windows box. I would like to assign an ip address of 10.0.0.2 to "bge0" and netmask of "255.0.0.0". I have typed the following: ... (1 Reply)
Discussion started by: annointed3
1 Replies

8. UNIX for Dummies Questions & Answers

adding interfaces in solaris 9

Hi, Have a solaris 9 e420, one onboard nic. Now I added a quad nic card. I have never had more than a single interface. Any help on setting this new card up? or links? PLease? ; thanks! (2 Replies)
Discussion started by: BG_JrAdmin
2 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

Featured Tech Videos