From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9d152394e3c81d21 X-Google-Attributes: gidfee84,public From: Hannes Wenzel Subject: Re: Second IP address for one interface. Date: 1999/01/11 Message-ID: <3699A3D7.DA0F109D@telekom.at>#1/1 X-Deja-AN: 431164355 Content-Transfer-Encoding: 7bit References: <01be3a3d$a9caaa40$64a305c4@jasper.somchem.denel.co.za> Content-Type: text/plain; charset=us-ascii Organization: Telekom Austria AG Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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 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.