* SUMMARY: Problem with second IP on one interface
@ 1999-01-13 12:44 UnixAdmin
0 siblings, 0 replies; only message in thread
From: UnixAdmin @ 1999-01-13 12:44 UTC (permalink / raw)
To: tru64-unix-managers
My question was:
>
> I have configured a second IP for my machine by changing
> /etc/rc.config in the following way:
>
> NUM_NETCONFIG="2"
> NETDEV_0="tu0"
> NETDEV_1="tu0"
> IFCONFIG_0="aaa.bbb.ccc.ddd netmask 255.255.255.0"
> IFCONFIG_1="alias aaa.bbb.xxx.zzz netmask 255.255.255.0"
>
> After rebooting, netstat shows that the new address is up and ok,
> but other hosts on the network do not see the new address.
>
= = = = = = = = = = = = = = = = = = = = = = = = = = =
The following answer came from
Hannes Wenzel <hannes.wenzel@telekom.at>
If you want to setup a second ip address to one interface, you can't
configure it in /etc/rc.config. NETDEV_1 is the second physically
interface.
Better do it as follows:
on the command line issue the command:
# ifconfig tu0 alias <ip-address> netmask 255.255.255.0
then insert a line to the file /etc/inet.local like the above command.
After issuing this command, the second address is immediately
active. The entry in /etc/inet.local is for the next boot.
In this way you can configure any number of addresses for one
interface.
now you have to add a static route:
# route add -net aaa.bbb.xxx aaa.bbb.xxx.zzz netmask
255.255.255.0
and add folowing line to /etc/routes (available after reboot)
-net aaa.bbb.xxx aaa.bbb.xxx.zzz netmask 255.255.255.0
Also thanks to the following:
choonpheng@tdb.gov.sg
"Benjamin Smith" <smith.beno@epamail.epa.gov>
"Stephen Nash" <Stephen_Nash@ssga.statestreet.com>
"Steve Grocott" <sgrocott@macan.com>
"Mark Ray" <Caprica7@aol.com>
"Andrew Johnson" <AJohnson@mail.nbme.org>
Lucien_HERCAUD@paribas.com
= = = = = = = = = = = = = = = = = = = = = =
________________________________________________________
Jasper Hoon, debis IT Services SA.
Phone: +27 21 850-2477 Fax: +27 21 850-3064
e-mail: jasperh@debis.co.za
________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-01-13 12:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-13 12:44 SUMMARY: Problem with second IP on one interface UnixAdmin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox