From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,18bbf09cc5c7fde1 X-Google-Attributes: gidfee84,public From: jude@tsi.com.my Subject: Re: multi ip host DU 3.2 Date: 1997/06/23 Message-ID: <867051552.5257@dejanews.com>#1/1 X-Deja-AN: 251955766 References: <33A93C1D.41C6@orl.saic.com> X-Http-User-Agent: Mozilla/3.0 (Win95; I) X-Originating-IP-Addr: 192.228.248.52 () Organization: Deja News Usenet Posting Service X-Article-Creation-Date: Mon Jun 23 07:39:17 1997 GMT X-Authenticated-Sender: jude@tsi.com.my Newsgroups: comp.unix.osf.osf1 In article <33A93C1D.41C6@orl.saic.com>, Brian Wohlschlaeger wrote: > > Does Digital Unix 3.2 support a multi-ip configuration directly. > My Sun box uses ifconfig to listen to multiple IP's. > Yes, you could do a man on ifconfig on DU for the exact command syntax. I have also appended the following summary for a permanent solution :- ~~~~~ start of message ~~~~~~~~~~~~~~~~ >From: Robert Beazley >To: "'OSF Managers'" >Subject: SUMMARY: NetAlias vs Machine Identity >Date: Wed, 7 May 1997 09:18:38 -0400 > >Between Digital Support and I, a resolution was found. The answer lies in >the proper configuration of the "/etc/rc.config" file. Here's the solution. > >1. Make a backup copy of the "etc/rc.config" file. >2. Edit the "/etc/rc.config" file. >3. Find the entry "NUM_NETCONFIG=" and set the value to 1 + n, where "n" is >the number of Alias IP Addresses to host. >4. Find the entry "NETDEV_1", and beginning with this parameter, set the >value to the name of the network interface (i.e. "ln0" , "tu0".) For >additional Alias IP Addresses, set the value of the interface name into >each subsequent "NETDEV_n=" parameter. For instance if two Alias IP >Addresses are to be hosted then, "NETDEV_1=" and "NETDEV_2" would be given >the value of the interface name. >5. Find the entry "IFCONFIG_1=", and beginning with this parameter, set the >value to an Alias IP Address. Assignments into subsequent "IFCONFIG_n=" >parameter(s) are made for each Alias IP Address to host. >6. Once all changes have been qualified and completed, save the file. >7. Ensure that you have removed all reference to "/sbin/rcx.d" startup >scripts. >8. After you have verified accuracy and are sure that all is correct, >restart the network with the command -> "/usr/sbin/rcinet restart". >9. Test the existence of the Alias IP Addresses by issuing the commands > >* netstat -I > >10. If for some reason the Alias IP Addresses do not display, try >rebooting. If that fails, revert to the backup copy of the "/etc/rc.config" >file and perform step #8. > >Below is an excerpt from a "/etc/rc.config" file showing a primary and two >IP Aliases in a class C network: > ># >DISPLAYTYPE= >HOSTNAME="." >NUM_NETCONFIG="3" >MAX_NETDEVS="24" >NETDEV_0="tu0" >NETDEV_1="tu0" >NETDEV_2="tu0" >NETDEV_3= >NETDEV_4= >NETDEV_5= >NETDEV_6= >NETDEV_7= >IFCONFIG_0="192.1.1.3 netmask 255.255.255.255" >IFCONFIG_1="192.1.1.4 netmask 255.255.255.255" >IFCONFIG_2="192.1.1.120 netmask 255.255.255.255" >IFCONFIG_3= >IFCONFIG_4= > >Regards, > >Robert Beazley >OCNS > Regards, Jude T. Cruz, TIME Systems Integrators, MALAYSIA -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet