Re: [mpls-linux-general] Binding to FEC.
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-01-31 16:33:12
|
Part 2 :-) On Thu, Jan 31, 2002 at 12:13:52PM +0200, Asviyan, Anatoly wrote: <snip> > 2) > can somebody that has working mpls+iptables give exact instruction for > mplsadm2 and iptables > how to connect 2 PCs (as in some famouse README :-) > Thanks Manual LSP beteen 2 hosts --------------------------- Setup ----- --------- --------- | A | | B | --------- --------- |eth0 |eth0 |17.130 |18.114 ----------------------------------- 128.104.16.0/22 Config ------ On A: mplsadm -A -O gen:16:eth0:ipv4:128.104.18.114 iptables -A OUTPUT -d 128.104.18.114/32 -j MPLS --set-key KEY1 mplsadm -A -I gen:17:0 Where KEY1 is in the output from the previous 'mplsadm' command On B: mplsadm -A -O gen:17:eth0:ipv4:128.104.17.130 iptables -A OUTPUT -d 128.104.17.130/32 -j MPLS --set-key KEY2 mplsadm -A -I gen:16:0 Where KEY2 is in the output from the previous 'mplsadm' command Now you need to set a label space on eth0 on both A and B. Watch out! if you do this remotely you could saw your leg off! On both: mplsadm -L eth0:0 Now all traffic with destination address of A or B use the LSP. > > -- > Regards, Anatoly > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |