-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 13 October 2002 5:23 pm, Hanspeter Roth wrote:
> Hello,
>
> how can one create an ip alias on an interface that has already
> another ip address?
>
> -Hanspeter

Here is my /etc/network/interfaces with a number of aliased ip addresses on 
eth1.

auto eth0 eth1 lo eth1:0 eth1:1 eth1:2

iface lo inet loopback

iface eth0 inet dhcp

iface eth1 inet static
        address 10.0.10.100
        netmask 255.255.255.0
        network 10.0.10.0
        broadcast 10.0.10.255

iface eth1:0 inet static
        address 10.0.10.101
        netmask 255.255.255.0
        network 10.0.10.0
        broadcast 10.0.10.255

iface eth1:1 inet static
        address 10.0.10.102
        netmask 255.255.255.0
        network 10.0.10.0
        broadcast 10.0.10.255


iface eth1:2 inet static
        address 10.0.10.103
        netmask 255.255.255.0
        network 10.0.10.0
        broadcast 10.0.10.255

- -- 
Alan Chandler
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9qbILuFHxcV2FFoIRAtGEAJwOk/8Hkv1idOq+CWYqmlbRUv2rmgCgsNL5
BYagR8PdCVU54NM/UTma94Q=
=+CER
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to