LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


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

Rep: Reputation: 43
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, 10: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



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 05:48 PM
Solaris 8.1.7 on SPARC, how I get it? saudoi Solaris / OpenSolaris 2 06-02-2005 09:39 PM
Solaris Sparc Sun redhatrosh Solaris / OpenSolaris 4 03-26-2005 12:54 AM
VNC 4 on Solaris 9 (Sparc) gquiring Solaris / OpenSolaris 1 10-08-2004 02:06 AM
Patching Solaris 9 on Sparc pcdap Solaris / OpenSolaris 1 04-28-2004 02:30 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:12 AM.

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
Open Source Consulting | Domain Registration