Re: [mpls-linux-general] [mpls example]succeeded
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-12-22 14:00:07
|
What did you change from the previous email to get it working? On Thu, Dec 22, 2005 at 08:05:58PM +0800, allen wrote: > Hi All: >=20 > I have succeeded. This configuration can be worked. It has succedded sen= d the "ping request" packet from HostA to Host B(label 1000)=20 > and receive the "ping reply" packets from HostB to HostA. To establish m= ulti LSP between LER1 and LER2 is my following test. >=20 > Thanks for your attention. >=20 > 192.168.101.0/24 192.168.103.0/24 > | | > | | > ------eth0 eth0------eth1 v eth1----eth0 eth0---eth1 v eth1---= --- > | HostA |--------| LER1 |---------| LSR |-----| LER2 |----------| Hos= tB | > ------.10 ^ 20-------20 30-----30 ^ 40-----40 50---= --- > | | > | |=20 > 192.168.100.0/24 192.168.102.0/24 >=20 >=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 > HostA > ------ > ifconfig eth0 192.168.100.10 up > ip route add 192.168.103.0/24 via 192.168.100.20 >=20 > LER1 > ------ > ifconfig eth0 192.168.100.20 up > ifconfig eth1 192.168.101.20 up > mpls nhlfe add key 0 instructions push gen 1000 nexthop eth1 ipv4 192.168= .101.30 > ip route add 192.168.103.0/24 via 192.168.101.30 spec_nh 0x8847 0x2 >=20 > mpls labelspace add dev eth1 labelspace 0 > mpls ilm add label gen 2000 labelspace 0 >=20 > LSR > ----- > ifconfig eth1 192.168.101.30 up > ifconfig eth0 192.168.102.30 up > mpls nhlfe add key 0 instructions push gen 1000 nexthop eth0 ipv4 192.168= .102.40 > mpls labelspace add dev eth1 labelspace 0 > mpls ilm add label gen 1000 labelspace > mpls xc add ilm_label gen 1000 ilm_labelspace 0 nhlfe_key 0x2 >=20 > mpls nhlfe add key 0 instructions push gen 2000 nexthop eth1 ipv4 192.168= .101.20 > mpls labelspace add dev eth0 labelspace 0 > mpls ilm add label gen 2000 labelspace > mpls xc add ilm_label gen 2000 ilm_labelspace 0 nhlfe_key 0x3 >=20 > LER2 > ----- > ifconfig eth0 192.168.102.40 up > ifconfig eth1 192.168.103.40 up > mpls labelspace add dev eth0 labelspace 0 > mpls ilm add label gen 1000 labelspace 0 >=20 > mpls nhlfe add key 0 instructions push gen 2000 nexthop eth0 ipv4 192.168= .102.30 > ip route add 192.168.100.0/24 via 192.168.102.30 spec_nh 0x8847 0x2 >=20 > HostB > ------ > ifconfig eth1 192.168.103.50 up > ip route add 192.168.100.0/24 via 192.168.103.40 >=20 --=20 James R. Leu jl...@mi... |