From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,52636421006a90d0 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,52636421006a90d0 X-Google-Attributes: gidf678f,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: mult IP address on same network interface? Date: 1995/04/21 Message-ID: #1/1 X-Deja-AN: 101362133 references: <3mungm$6c2@usenet.srv.cis.pitt.edu> organization: Digital Equipment Corporation reply-to: werme@zk3.dec.com newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc field@cs.pitt.edu (Brian Field) writes: >I'm writing a piece of code which needs to emulate n hosts with >different IP addresses. Rather than run this piece of code physically >on n different hosts, I'd like to run it on a single host, but >configure this host to appear as n different IP address (all within >the same subnet). This host has a single network interface. >Can I do something like: Maybe: from man ifconfig: alias Establishes an additional network address for this interface. This is sometimes useful when changing network numbers and one wishes to accept packets addressed to the old interface. This is something added for ASE (Available Server Environment) where an IP address moves to another server on failure. One IP address is fixed, the other is temporary. I don't know if it supports multiple addresses. -- Eric (Ric) Werme | werme@zk3.dec.com Digital Equipment Corp. | This space intentionally left blank.