[mpls-linux-general] LSP set up...Instructions please
Status: Beta
Brought to you by:
jleu
|
From: taufico j. <tau...@ya...> - 2005-09-04 06:58:22
|
Below is my test -bed
A B
C D
===== 1.1------1.2 ===== 2.1------2.2====
4.2-----------4.1 ===== 5.1
I
I I
3.1--------------------------------------------------3.2
I
I
I E
5.2=====
Hello...I already try the example from (how to set up
LSP) 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 B
and C, also between B and D. How the set up willl
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
0x8847, is this label is fix ? Can I use other label
value? and what is the range of label values?
Can somebody help me..my project is nearly success...
Please..please..please
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 1GB free storage!
http://sg.whatsnew.mail.yahoo.com
|