[mpls-linux-general] [mpls example]question still exists
Status: Beta
Brought to you by:
jleu
|
From: allen <as...@gm...> - 2005-12-22 07:28:44
|
Hello:
I have already modified my configuration. But the question still exists.
When LER1 receives the "ping" packet from HostA. LER1 uses the label =
1000, but doesn't send to LSR. I saw the problem is LER1's and LER1's =
nhlfe table is=20
NHLFE entry key 0x00000003 mtu 1500 propagate_ttl
set eth0 ipv4 192.168.100.10 (0 bytes, 0 pkts, 0 dropped)
NHLFE entry key 0x00000002 mtu 1500 propagate_ttl
(1596 bytes, 19 pkts, 19 dropped)
the packets never leaves LER1. Please see my configuration once again, =
then tell me how should I do.
192.168.101.0/24 192.168.103.0/24
| |
| |
------eth0 eth0------eth1 v eth1----eth0 eth0---eth1 v =
eth1------
| HostA |--------| LER1 |---------| LSR |-----| LER2 |----------| =
HostB |
------.10 ^ 20-------20 30-----30 ^ 40-----40 =
50------
| |
| |=20
192.168.100.0/24 192.168.102.0/24
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
HostA
------
ip route add 192.168.103.0/24 via 192.168.100.20
LER1
------
mpls nhlfe add key 0 instructions push gen 1000 nexthop eth0 ipv4 =
192.168.100.20
(key: 0x00000002)
ip route add 192.168.103.0/24 via 192.168.101.30 spec_nh 0x8847 0x2
mpls labelspace add dev eth1 labelspace 0
mpls ilm add label gen 1002 labelspace 0
mpls nhlfe add key 0 instructions nexthop eth0 ipv4 192.168.100.10
(key: 0x00000003)
mpls xc add ilm_label gen 2002 ilm_labelspace 0 nhlfe_key 0x3
LSR
-----
mpls nhlfe add key 0 instructions push gen 2000 nexthop eth0 ipv4 =
192.168.102.40
(key: 0x00000002)
mpls nhlfe add key 0 instructions push gen 2002 nexthop eth1 ipv4 =
192.168.101.20
(key: 0x00000003)
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
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
LER2
-----
mpls nhlfe add key 0 instructions push gen 1002 nexthop eth1 ipv4 =
192.168.103.40
(key: 0x00000002)
ip route add 192.168.100.0/24 via 192.168.103.40 spec_nh 0x8847 0x2
mpls labelspace add dev eth0 labelspace 0
mpls ilm add label gen 2000 labelspace 0
mpls nhlfe add key 0 instructions nexthop eth1 ipv4 192.168.103.50
(key: 0x00000003)
mpls xc add ilm_label gen 2000 ilm_labelspace 0 nhlfe_key 0x3
HostB
------
ip route add 192.168.100.0/24 via 192.168.103.40 |