LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



Reply
 
Search this Thread
Old 06-11-2008, 04:38 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 602

Rep: Reputation: 30
Solaris 10 SPARC - 2 NIC


I have Solaris with 2 NICs.
It was extremaly easy to set up 1st one - just edited these files:
Code:
/etc/inet/ipnodes
/etc/netmasks
/etc/hosts
/etc/hostname.ce0
address assigned to ce0:
ip: 10.2.11.4
mask: 255255255.224
gateway: no gateway

Now, I need to set up 2nd NIC - ce1
ip: 10.224.10.5
netmask: 255.255.255.248
gateway: 10.224.10.1

I know I need to ad entry with new ip to /etc/inet/ipnodes create /etc/hostname.ce1 /etc/defaultrouter - but dont know what to put to
/etc/netmasks ???

So far it contain only this:
Code:
10.2.11.0    255.255.255.224
Should I just add in another line:
Code:
10.224.10.0    255.255.255.248
 
Old 06-11-2008, 11:11 PM   #2
eggixyz
Member
 
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
Hey There,

Yes, you can just add another line for the new netmask. YOu don't need to specify a NIC in there.

Also, if you don't want Solaris to do what it does by default with two NICS (using your machine as a router), also touch

/etc/notrouter

Best wishes,

Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 7 SPARC e1000g 0.o Solaris / OpenSolaris 1 12-04-2007 06:48 PM
Solaris 8.1.7 on SPARC, how I get it? saudoi Solaris / OpenSolaris 2 06-02-2005 10:39 PM
Solaris Sparc Sun redhatrosh Solaris / OpenSolaris 4 03-26-2005 01:54 AM
VNC 4 on Solaris 9 (Sparc) gquiring Solaris / OpenSolaris 1 10-08-2004 03:06 AM
Patching Solaris 9 on Sparc pcdap Solaris / OpenSolaris 1 04-28-2004 03:30 PM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration