From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,38a82c0c37aa366c X-Google-Attributes: gid1164f8,public From: "Adam Price" Subject: Re: How to config "dual IP address" ? Date: 1999/10/18 Message-ID: <940222561.29619.0.nnrp-12.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 537376443 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 940222561 nnrp-12:29619 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.sys.dec Ji Young-Min wrote in message ... >You use "Digital UNIX V4.0E (Rev. 1091)" on "AlphaServer DS20" machine. > >Where can I find answers about >"How to config dual IP addresses on just one ethernet interface" ? > >On SunOS we can config 255 virtual/logical IP addresses on just one hme0 >interface ; /etc/hostname.hme0 , /etc/hostname.hme0:1, /etc/hostname.hme0:2 >... > >I use "netconfig" utility in Digital UNIX, but I cannot config dual IP >address. > >Thanks in advance. > man ifconfig. If you grep through the start up scripts in /sbin/init.d then you will see that one of them is where the ifconfig command is issued. The parameters for the command are given in /etc/rc.config. The short solution if you don't want to work out how all of this works is to look at rc.config, in there there is a variable which defines the number of interfaces, change this from 1 to 2, there is another set of variable which define net devices, change the second one to be the same as the first one. The last change is to set the extra parameters you want for the interface (i.e. -alias ... etc) I can't tell you the names of the variables because I am at home, but they should be obvious. Make sure you have a backup copy of rc.config before you start, as lots of boot scripts depend on it. Hope this helps Adam