Re: [mpls-linux-general] [mpls example]please help me
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-12-19 14:16:35
|
LSR is the problem. Instead of adding routes you need to add cross connect= s. mpls xc add ilm_label gen 1000 ilm_labelspace 0 nhlfe_key 0x2 mpls xc add ilm_label gen 1002 ilm_labelspace 0 nhlfe_key 0x3 On Mon, Dec 19, 2005 at 03:03:13PM +0800, Allen wrote: > Hello: > I try to test a example as follows. I want to establish two way L= SP(from LER1 to LER2 using label 1000, and LER2 to LER1 using label 1002). = When I finish the configuration and using "ping" (from LER1 to LER2) to tes= t. I can't see the "ping reply". I guess the LSR's configuration has proble= m. Please tell me my configuration of LSR is correct or not? Furthermore te= ll me how to modify the configuration...thanks=20 >=20 > ps. Thanks for your attention and sorry about my poor English. >=20 > 192.168.101.0/24 > | =20 > | =20 > | =20 > ------eth0 eth0------eth1 v eth1------ =20 > | LER1 |---------| LSR |-------------| LER2 | > ------.10 ^ 20-----20 30------ =20 > | =20 > | =20 > 192.168.100.0/24 =20 > Configuration > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 > LER1 > ------ > mpls nhlfe add key 0 instructions push gen 1000 nexthop eth0 ipv4 192.168= .100.20 > ip route add 192.168.101.30/32 via 192.168.100.20 spec_nh 0x8847 0x2 > mpls labelspace add dev eth0 labelspace 0 > mpls ilm add label gen 1002 labelspace 0 >=20 > LSR > ----- > mpls nhlfe add key 0 instructions push gen 1000 nexthop eth1 ipv4 192.168= .101.30 > mpls nhlfe add key 0 instructions push gen 1002 nexthop eth0 ipv4 192.168= .100.10 > ip route add 192.168.101.30/32 via 192.168.101.30 spec_nh 0x8847 0x2 > ip route add 192.168.100.10/32 via 192.168.100.10 spec_nh 0x8847 0x3 > mpls labelspace add dev eth0 labelspace 0 > mpls labelspace add dev eth1 labelspace 0 > mpls ilm add label gen 1000 labelspace 0 > mpls ilm add label gen 1002 labelspace 0=20 >=20 > LER2 > ----- > mpls nhlfe add key 0 instructions push gen 1002 nexthop eth1 ipv4 192.168= .101.20 > ip route add 192.168.100.10/32 via 192.168.101.20 spec_nh 0x8847 0x2 > mpls labelspace add dev eth0 labelspace 0 > mpls ilm add label gen 1000 labelspace 0 --=20 James R. Leu jl...@mi... |