Summary: Configuring a second IP address
"Kemery, Dale" <[email protected]> Tue, 16 Nov 2010 12:53:27 -0500
| Newsgroups | gmane.os.tru64.managers |
|---|---|
| Message-ID | <[email protected]> |
Thanks to: Jeffery H.
Kazuro F.
Martin A.
Dr. Thomas
Scott M.
Shaun R. for all the suggestions.
I ultimately did the #2 option without the netmask.
# ifconfig tu0 alias 10.1.1.x=20
I added the above line to /etc/inet.local to make it permanen=
t.
=09
I can now ping/ssh (etc.) to 10.1.1.xxx and 10.1.1.yyy all on tu0. =20
It works like a champ...
Thanks again!
Dale
-----Original Message-----
From: [email protected] [mailto:tru64-unix-managers-owner@=
ornl.gov] On Behalf Of Kemery, Dale
Sent: Friday, November 12, 2010 9:40 AM
To: [email protected]
Subject: Configuring a second IP address
It has been a while since I've had to add a second IP address to a Tru64 se=
rver -- so I thought I'd check with the list to see if I could get some hel=
p.
I have an existing server I would like to add a secondary IP address to (wi=
thout having to reboot).=A0=A0=20
I found a few suggestions via Google:
1) # ifconfig tu0 alias 10.1.1.x
to make it permanent use
# vi /etc/rc.config
IFCONFIG_1=3D"alias 10.1.1.x"
NETDEV_1=3D"tu0"
NUM_NETCONFIG=3D"2"
and
2) =A0=A0# ifconfig tu0 alias 10.1.1.x netmask 255.255.255.0
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 Then place the above line into /etc/inet.local to =
make it permanent.
Any suggestions would be greatly appreciated.
Thanks!
Dale