[mpls-linux-general] My MPLS test-bed
Status: Beta
Brought to you by:
jleu
|
From: taufico j. <tau...@ya...> - 2005-09-05 03:38:55
|
my MPLS test bed
A B C D E
==1.1---1.2==2.1---2.2==4.2---4.1==5.1--5.2==
3.1-------------------3.2
linux pc= A,B,C,D, and E
note: B and C consists 3 NICs
A,C and E consists 2 NICs
Hello...I already try the example from (how to set up
LSP) trough this web page
http://mpls-linux.sourceforge.net/simple.php . Thus
the set up was successful between A and B (please
refer to my test bed above). I also tried to set up
LSP between B and A ..and it also was succesful.
My questions are:
1) I got confius when I want to set up LSP between A
and C, also between B and D. How the set up will be?
How to set up the ip route between them ?
2) This test-bed intended to transmit MPLS packet
from A to E. The packet has two choices, either go
through (A)1.1 --1.2--2.1--2.2--4.2--4.1--5.1--5.2(E)
or (A)1.1--1.2--3.1--3.2--5.1--5.2(E). How?
3) From your example given :
uml1
----
[root@uml1 root]# cat /sys/mpls/version
1.946
[root@uml1 root]# mpls nhlfe add key 0
Key: 0x00000002
[root@uml1 root]# mpls nhlfe change key 0x2
instructions push gen 10000 nexthop eth1 ipv4
11.0.1.2
[root@uml1 root]# ip route add 11.0.1.2/32 via
11.0.1.2 spec_nh 0x8847 0x2
[root@uml1 root]# mpls nhlfe show
NHLFE entry key 0x00000002 mtu 1496 propagate_ttl
push gen 10000 set eth1 ipv4 11.0.1.2 (0
bytes, 0 pkts, 0 dropped)
[root@uml1 root]# ip route show
11.0.1.2 via 11.0.1.2 dev eth1 spec_nh 0x8847 0x2
192.168.2.0/24 dev eth0 scope link
11.0.1.0/24 dev eth1 proto kernel scope link src
11.0.1.1
127.0.0.0/8 dev lo scope link
[root@uml1 root]#
3i) What is the meaning of
"add key 0"
"key 0x2"
"spec_nh 0x8847 0x2"
From your example I know the packet is labeled with
10000. Is this label is fix ? Can I use other label
value?
Can somebody help me..my project is nearly success...
Send instant messages to your online friends http://asia.messenger.yahoo.com
|