From: "Adam Price" <adam+usenet@pappnase.demon.co.uk>
Subject: Re: How to config "dual IP address" ?
Date: 1999/10/18 [thread overview]
Message-ID: <940222561.29619.0.nnrp-12.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: h7wO3.2287$jd7.127086@news2.bora.net
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 <ipaddress> ... 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
prev parent reply other threads:[~1999-10-18 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-18 4:00 How to config "dual IP address" ? Ji Young-Min
1999-10-18 4:00 ` Paul A Sand
1999-10-18 4:00 ` Adam Price [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