Thread: [mpls-linux-general] please help me
Status: Beta
Brought to you by:
jleu
|
From: diva p. <div...@pl...> - 2006-02-16 01:47:36
|
Hii James, i have a trouble with my mpls hierarchy
configuration setup.
My hierarchy is:
*---------LSRB---------*
| |
| |
HostA---------LER1--------------------LER2-----------HostB
| |
| |
*---------LSRB---------*
Network address:
-->HostA to LER1 : 10.14.1.0/24
-->LER1 to LSRB : 10.14.2.0/24
-->LER1 to LSRB : 10.14.4.0/24
-->LER1 to LER2 : 10.14.3.0/24
-->LER2 to HostB : 10.14.7.0/24
I used :
-->mpls-linux-2.6.9.tar.bz2
-->iproute-2.6.9-3mpls1_946.i386.rpm
-->kernel linux-2.6.9.tar.bz2
I confused when i used static route mpls from LER1,i
couldn't route with 3 gateway, there are from
LER1 with LSRA as first gateway
LER1 with LER2 as second gateway
LER1 with LSRB as third gateway.
I have used static but when setting up the seond gateway
failed with RNETLINK.You can see below
LER1
------
mpls nhlfe add key 0 instructions push gen 100 nexthop
eth1 ipv4 10.14.2.2
(key1)
ip route add 10.14.5.0/24 via 10.14.2.2 spec_nh 0x8847
key1 (first gateway)
mpls nhlfe add key 0 instructions push gen 200 nexthop
eth1 ipv4 10.14.3.2
(key2)
ip route add 10.14.5.0/24 via 10.14.3.2 spec_nh 0x8847
key2 (second gateway)
RTNETLINK:no success
---------------------------------------------------------------------------
Do I have to use dinamic route with Quagga???
Ihave compiled quagga-0.97.3-1.FC3mpls1_946a.i386
successfully,but i ccouldn't enter to CLI router.Do I need
other packages??
Could mpls command use priority route if the first gateway
faild automaticaly routing move to second gateway or to
third gateway????
Please give me some suggestion.
========================================================================================
Ikuti Lomba Puisi Online Jawa Timur, dapatkan hadiah menarik setiap bulannya
dan hadiah total senilai 60 juta rupiah
hanya di http://www.plasa.com (Khusus Jawa Timur)
========================================================================================
|
|
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
|
|
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... |