From: Radek =?ISO-8859-1?Q?Vok=E1l?= Date: Mon, 05 Dec 2005 09:09:38 +0000 Subject: [LARTC] ip route doesn't not work with virtual inferfaces Message-Id: <1133773778.4604.79.camel@localhost.localdomain> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1415443209==" List-Id: To: lartc@vger.kernel.org --===============1415443209== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-v216X34OyD+41kBrAZW4" --=-v216X34OyD+41kBrAZW4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have two IP for eth0 which correspond to eth0 and eth0:1 I want to create a route=20 to 192.168.66.0/24 via 192.168.0.50 from eth0:1=20 so I add the route with ip route add 192.168.66.0/24 via 192.168.1.2 dev eth0:1 but when I connect to 192.168.66.0/24 network in connects still using the IP of eth0, not the IP of eth0:1 as one would expect. What's strange to me is that ip route list dev eth0:1 shows same output as ip route list dev eth0 is this expected behavior or is there a bug?=20 Radek --=20 Radek Vok=C3=A1l --=-v216X34OyD+41kBrAZW4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDlAPSpPtjDwJDWJMRAl5ZAKCJtHHbt0QUDKyhn8pPLPIC6TuGYwCgt8MU wuS4k53fVeKvE8nBhKK1G0M= =3tgu -----END PGP SIGNATURE----- --=-v216X34OyD+41kBrAZW4-- --===============1415443209== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1415443209==--