[mpls-linux-general] [mpls example]please help me
Status: Beta
Brought to you by:
jleu
|
From: Allen <as...@gm...> - 2005-12-19 07:03:28
|
Hello:
I try to test a example as follows. I want to establish two way =
LSP(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 test. I can't see the "ping reply". I guess the LSR's =
configuration has problem. Please tell me my configuration of LSR is =
correct or not? Furthermore tell me how to modify the =
configuration...thanks=20
ps. Thanks for your attention and sorry about my poor English.
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
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
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
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
|