Re: [mpls-linux-devel] Nexthop eth ip
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2005-04-19 15:07:42
|
On Tue, Apr 19, 2005 at 08:48:50AM +0200, jul...@aq... wrote: > Hi, >=20 > When you add a route >=20 > ip route ********* nexthop eth0 10.0.2.1 >=20 > you indicate the ip of the nexhop so that we can get the mac adresse. >=20 > the ip of the nexthop is newer used ? >=20 > is it possible to indicate only the mac adresse ? Are you refering to the case where you are adding a route that points to an NHLFE? ip route add 1.1.1.0/24 via 10.0.2.1 spec_nh 0x8847 0x2 You are correct that the nexthop ip is never using by MPLS, but it is used by IPv4. IPv4 needs to know what interface this traffic will leave so that locally originated traffic can choose an appropriate source address. You could also specify just the outgoing interface: ip route add 1.1.1.0/24 dev eth1 spec_nh 0x8847 0x2 But you will still need to have an IP address attached to eth1. This is a requirement of IPv4, not MPLS. >=20 >=20 > Thanks, >=20 >=20 >=20 >=20 >=20 > --=20 > Julien CAYSSOL > INSA de LYON -=3D- D?partement Telecom Services et = Usages > http://www.aqwz.com/ T?l : +33 664 973= 067 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime in= fo, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel --=20 James R. Leu jl...@mi... |