From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arkadiusz Miskiewicz misiek@pld.ORG.PL Date: Tue, 30 Jan 2001 22:59:20 +0000 Subject: [LARTC] IP Aliasing with "IP"? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org
On/Dnia Tue, Jan 30, 2001 at 06:08:00PM -0300, billy wrote/napisa=B3(a)
> > ip addr add dev eth0 192.168.101.1 etc etc should work
> OK, but what about eth0:0, the alias ? if I do something like:
> # ip addr add dev eth0:0 192.168.101.1 etc etc
> I get an error:=20
> cannot find device "eth0:0"
[root@arm misiek]# ip addr add 1.1.1.1 =
dev eth0 label eth0:qpa
[root@arm misiek]# ifconfig | grep qpa
eth0:qpa  Link encap:Ethernet  HWaddr 00:E0:7D:8A:4C:79 =20

> but I can create eth0:0 with ifconfig, but "ip link show"=
 does not show me=20
> the interfaces, but with "ip route show" I see all of=
 the eth0:x as only eth0.
>=20
> is this ok? I haev to create the "virtual" interfaces=
 with ifconfig or do I=20
> have a way with ip?
It's ok. Routing is to real device, not to so called ,,aliases''.

--=20
Arkadiusz Mi=B6kiewicz, AM2-6BONE    [ PLD GNU/Linux IPv6 ]
http://www.t17.ds.p=
wr.wroc.pl/~misiek/ipv6/   [ enabled ]