The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configuring TP Ethernet SS5 Solaris 8 mads-nielsen SUN Solaris 1 11-18-2007 11:45 PM
solaris networking Farbegas SUN Solaris 3 10-04-2007 04:00 AM
Configuring networking interface on Sun Blade 1500 annointed3 UNIX for Dummies Questions & Answers 1 11-29-2005 01:34 PM
tftp configuring on Solaris 5.7 vivek_scv SUN Solaris 1 05-19-2005 12:34 PM
adding interfaces in solaris 9 BG_JrAdmin UNIX for Dummies Questions & Answers 2 03-28-2005 08:18 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Sep 2005
Posts: 18
Stumble this Post!
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Sep 2005
Posts: 18
Stumble this Post!
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?
Reply With Quote
  #3 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Oct 2005
Posts: 2
Stumble this Post!
does 'ifconfig -a' give you a list of all your devices?
Reply With Quote
  #4 (permalink)  
Old 10-28-2005
Registered User
 

Join Date: Sep 2005
Posts: 18
Stumble this Post!
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
Reply With Quote
  #5 (permalink)  
Old 10-28-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Stumble this Post!
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.
Reply With Quote
  #6 (permalink)  
Old 10-28-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,449
Stumble this Post!
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.
Reply With Quote
  #7 (permalink)  
Old 11-02-2005
Registered User
 

Join Date: Sep 2005
Posts: 18
Stumble this Post!
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0