[mpls-linux-general] MPLS configuration on LInux Router
Status: Beta
Brought to you by:
jleu
From: sakhter <she...@br...> - 2001-05-29 16:44:14
|
Hi, Is there anybody who can guide me through the steps(commands) to enable mpls routing on a Linux router.I have made my linux box an Mpls router and everything has been done properly,but I just wana make sure if following commands(steps) are correct ; - First , i assigned the label spaces to eth1 and eth2 ; mplsadm -v -L eth1:0 mplsadm -v -L eth2:0 - Then, I added the routes to it( eth1...10.0.0.28, eth2...10.0.1.2, gateway....10.0.0.27 & 10.0.1.1 route add -host 10.0.0.27 gw 10.0.0.27 route add -host 10.0.1.1 gw 10.0.1.1 route add 10.0.0.27/32 gw 10.0.0.18 route add 10.0.1.1/32 gw 10.0.1.2 - Then, I added MPLS labels ; mplsadm -v -A -B -O gen:16:eth1:ipv4:10.0.0.28 -f 10.0.0.27/32 mplsadm -v -A -B -O gen:17:eth2:ipv4:10.0.1.2 -f 10.0.1.1/32 Please guide me if I am wrong anywhere or if I need to do anything else instead of above. I will appreciate prompt response from anybody who knows about it. Thanks Saeed |