[mpls-linux-general] restricted amount of labels
Status: Beta
Brought to you by:
jleu
|
From: Kauder T. <Tho...@ic...> - 2001-12-07 10:18:26
|
Hi Everyone,
I managed to get the LDP (linux-port) working and found out that one
has to be very carefull using it.
A single wrong input sometimes causes a segmentation-fault.
Here's the scenario I established:
dummy0 --------- eth0 eth0 ------- eth1 eth0 --------- dummy0
<-----| LER 1 |-------------| LSR |------------| LER 2 |---->
20.0.0.0/24 --------- 10.0.0.0/24 ------- 11.0.0.0/24 --------- 20.0.0.0/24
I have zebra running on all machines and propagate virtual routes pointing out the dummy devices using OSPF.
After the Routing-tables are correct on all mashines by typing:
./ldp_linux
after hitting enter twice the prompt appears.
On LSR:
I add a global object at the LSR with the LSR-ID 10
add global 10
then enable LDP on both interfaces
add interface eth0
add interface eth1
On LER1:
add global 2
add interface eth0
On LER2:
add global 3
add interface eth1
I found out that this order is the safest.
What happens now is that they really exchange labels wich is fine!! but I still have some problems:
- If I change the routing table while LDP is running the label-mapping stays unchanged. ( if I got you right. with ldp_zebra this should work )
- you're adding interfaces by their names but delete them by ID. deleting with the name as argument causes a crash quite often.
- according to /proc/net/mpls-in a forward on LSR is only assigned to the routes pointing to the LER who was activated first ( here LER1 ).
in other words the mappings aren't updated if a new LDP-Router is added.
That's all not so important for my purposes. It works somehow.....
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The thing I could really use is support for lots of label-mappings. Right now, after a bit more than a hundred label-mappings there
appears one partial labelmapping (only FEC and label no op-code..) Then nothing.
This occurs not only when using LDP but also when mapping the labels using the mplsadm tool. So I guess this is rather a mpls
than a ldp problem. I really need at least 1000 labels for test-purposes.
Would that be possible or is there a lack of memory somewhere ???
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
greetings
Thorsten
|