Ramblings of a Deranged Mind

pageicon Monday Nov 24, 2008

Installing OpenSolaris 2008.11 for the Enterprise (Part 2)

So I'm sitting in the back of a training room waiting for my turn to present, so I'm taking the opportunity to update my blog. :-)

To continue from the last blog, I want to configure my server with two active network ports named geppetto and pinocchio with the following configuration:-

e1000g0 - xx.xx.xx.51/24 - geppetto
e1000g1 - xx.xx.xx.52/24 - pinocchio

Default router for this network is xx.xx.xx.200/24.

Network Automagic (NWAM) doesn't currently support two NICs, so I had to go back to the old school files-based configurations. So first, the hosts file needs to be populated with the correct values, like so:-

# vi /etc/hosts

127.0.0.1 localhost loghost
xx.xx.xx.51 geppetto
xx.xx.xx.52 pinocchio

Then off to populate the local files:-

echo geppetto > /etc/hostname.e1000g0
echo pinocchio > /etc/hostname.e1000g1
echo xx.xx.xx.200 > /etc/defaultrouter
echo geppetto > /etc/nodename
touch /etc/notrouter


Just in case you missed it, that last line is there to tell Solaris not to route between the two interfaces. Not strictly necessary but helps save some hair pulling if you need to debug a network problem later.

So, now the next step is to turn off NWAM and turn on the old-style files-based network configuration. Make sure you do this next step from the console (i.e. directly on the keyboard connected to the server, off the serial port, or off the RKVMS on the ILOM).

# svcadm disable network:nwam
# svcadm enable network:default

So now, NWAM is turned off, and your static IP files-based configuration should be active, assuming you got all the correct values entered.

Voila! My server is now running with two active network ports. Next article, installing 3rd party software packages.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

« July 2009
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today

Feeds

Search this blog

Links

Weblog menu

Today's referrers

Today's Page Hits: 6

Gamertag

WebMap

ip-location

AdSense

Kiva Microloans