Thanx to
Shaw, Marco [marco.shaw@nbtel.nb.ca]
Dan Lowe [dan@scsiboy.com]
German, Vinnie [VGerman@nomurany.com]
Connolly, Michael [MConnoll@ckcorp.com]
Its pretty easy "once you know it". Its done in the same way as any other
interface is done.
ifconfig hme0 192.168.1.1 netmask 255.255.255.0 up
ifconfig hme0:1 192.168.1.2 netmask 255.255.255.0 up
ifconfig hme0:2 192.168.1.3 netmask 255.255.255.0 up
ifconfig hme0:3 192.168.1.4 netmask 255.255.255.0 up
ifconfig hme0:4 192.168.1.5 netmask 255.255.255.0 up
ifconfig hme0:5 192.168.1.6 netmask 255.255.255.0 up
and so on...
Thanx again for all those who replied. Its good to be a part of such a
mailing list.
-Raj
> -----Original Message-----
> From: Jangalwa, Raj
> Sent: Monday, April 03, 2000 12:39 PM
> To: 'sun-managers'
> Subject: Multiple IPs on one interface!!!
>
> Hi All,
>
> I am planning to setup a web-server which will respond to multiple
> hostnames having unique IP address.
> How can i setup my only one "hme" interface to respond to multiple
> hostnames/ipaddress in the same subnet. I know how to setup for one ip
> address, but to make the same interface respond to multiple ip
> addresses???
>
> for ex.like hme0:......inet0....
> hme0:1: .......inet1...
> hme0:2: .......inet2...
> hme0:3: ......inet3...
>
> TIA and will summarize
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Raj Jangalwa
>
>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:05 CDT