Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How to config "dual IP address" ?
@ 1999-10-18  4:00 Ji Young-Min
  1999-10-18  4:00 ` Adam Price
  1999-10-18  4:00 ` Paul A Sand
  0 siblings, 2 replies; 3+ messages in thread
From: Ji Young-Min @ 1999-10-18  4:00 UTC (permalink / raw)


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.

-----
Ji Young-Min
Thinkware systems [SA-team]
E-Mail : ymji@thinkwaresys.com
Tel : +82-02-571-9162 [ext 105]
-----






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to config "dual IP address" ?
  1999-10-18  4:00 How to config "dual IP address" ? Ji Young-Min
@ 1999-10-18  4:00 ` Adam Price
  1999-10-18  4:00 ` Paul A Sand
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Price @ 1999-10-18  4:00 UTC (permalink / raw)



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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to config "dual IP address" ?
  1999-10-18  4:00 How to config "dual IP address" ? Ji Young-Min
  1999-10-18  4:00 ` Adam Price
@ 1999-10-18  4:00 ` Paul A Sand
  1 sibling, 0 replies; 3+ messages in thread
From: Paul A Sand @ 1999-10-18  4:00 UTC (permalink / raw)


"Ji Young-Min" <ymji@thinkwaresys.com> writes:

>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" ?

I think the recommended place to do this is in /etc/inet.local (I'm at
4.0F, but I would imagine it's the same in 4.0E.) For example, one of
our ip-aliased systems has

    /sbin/ifconfig tu0 alias 132.177.137.20/22

in there. There's a man page for inet.local.
-- 
-- Paul A. Sand                 | The FAQ had done its job so well that the
-- University of New Hampshire  | Question was no longer Frequently Asked,
-- pas@unh.edu                  | and thus, its answer is no longer in the FAQ.
-- http://pubpages.unh.edu/~pas |     (Kevin Williams, in rec.arts.books)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-10-18  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-18  4:00 How to config "dual IP address" ? Ji Young-Min
1999-10-18  4:00 ` Adam Price
1999-10-18  4:00 ` Paul A Sand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox