Re: [mpls-linux-general] setup information
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-03-22 03:27:00
|
I think you do not understand the purpose of the 'ip route'
commands. They are only needed on the LERs and are supposed to map
traffic to the LSP.
In this example you will want the ingress route to be the interface
address of the egress, and vice versa.
The LSRs do not need 'ip route' they are not supposed to be routing,
they are 'switching'
On Sun, Mar 21, 2004 at 09:11:28PM +0300, iq...@cc... wrote:
> These are all the commands I have executed on all the boxes respectively
>
> List of commands for ingress
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x2 -o push:gen:16:set:eth0:ipv4:172.16.70.86
> iproute add 172.16.70.86/32 via 172.16.70.86 lsp 0x2
^^^^^^^^^^^^
172.16.70.83?
> mplsadm2 -L eth0:0
> mplsadm2 -A -I gen:19:0
>
> List of commands for egress
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x2 -o push:gen:17:set:eth0:ipv4:172.16.70.83
> iproute add 172.16.70.83/32 via 172.16.70.83 lsp 0x2
^^^^^^^^^^^^
172.16.70.86?
> mplsadm2 -L eth0:0
> mplsadm2 -A -I gen:18:0
>
> List of commands for LSR
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x2 -o push:gen:18:set:eth1:ipv4:172.16.70.82
> iproute add 172.16.70.82/32 via 172.16.70.82 lsp 0x2
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x3 -o push:gen:19:set:eth0:ipv4:172.16.70.87
> iproute add 172.16.70.87/32 via 172.16.70.87 lsp 0x3
>
> mplsadm2 -L eth0:0
> mplsadm2 -A -I gen:16:0
>
> mplsadm2 -L eth1:0
> mplsadm2 -A -I gen:17:0
>
> mplsadm2 -B -I gen:16:0 -O 0x2
> mplsadm2 -B -I gen:17:0 -O 0x3
>
> Hopefully now you can catch my mistake. Thanks in advance.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|