From: Hannes Wenzel <hannes.wenzel@telekom.at>
Subject: Re: Second IP address for one interface.
Date: 1999/01/11 [thread overview]
Message-ID: <3699A3D7.DA0F109D@telekom.at> (raw)
In-Reply-To: 01be3a3d$a9caaa40$64a305c4@jasper.somchem.denel.co.za
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.
--
Best regards,
Han
jasperh wrote:
>
> Hi,
>
> I have configured a second IP for my Dec Alpha with one network interface
> 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.eee.ggg netmask 255.255.255.0"
>
> After rebooting, netstat shows that the new address is up and ok,
> (gateway is also aaa.bbb.eee.ggg), but other hosts on the network do not
> see the new address.
> This host is also the DNS server. I have not included the "aaa.bbb.eee.ggg"
> information into the DNS database. May this be a problem??
>
> Any idea please ??
> Thanks.
prev parent reply other threads:[~1999-01-11 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-07 5:00 Second IP address for one interface jasperh
1999-01-07 5:00 ` Jure Simsic
1999-01-11 5:00 ` ivan.dolezal
1999-01-11 5:00 ` Hannes Wenzel [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox