Re: [mpls-linux-general] (no subject)
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2001-04-10 13:45:15
|
On Tue, Apr 10, 2001 at 12:10:14PM +0200, Patrick Havel wrote: > Hello everybody, >=20 > I want to create a LSP within 3 computers. > A------B-------C >=20 > A's IP: 192.168.2.1, eth0 > B's IP towards A: 192.168.2.2, eth1 > B's IP towards C: 192.168.3.1, eth0 > C's IP: 192.168.3.2, eth1 Remeber LSPs are uni-directional. TO have trafffic sent and recieved on an LSP you need to build two. In your case LSP "16" will be used to send from from A to C. LSP "17" will be used to sent traffic from C t= o A. LSP from A -> C --------------- A: route add -host 192.168.3.2 gw 192.168.2.2 A: mplsadm -A -B -O gen:16:eth0:ipv4:192.168.2.2 -f 192.168.3.2/32 B: mplsadm -L eth1:0 B: mplsadm -A -B -I gen:16:0 -O gen:16:eth0:ipv4:192.168.3.2 C: mplsadm -L eth1:0 C: mplsadm -A -I gen:16:0 LSP from C -> A --------------- C: route add -host 192.168.2.1 gw 192.168.3.1 C: mplsadm -A -B -O gen:17:eth1:ipv4:192.168.3.1 -f 192.168.2.1/32 B: mplsadm -L eth0:0 B: mplsadm -A -B -I gen:17:0 -O gen:17:eth1:ipv4:192.168.2.1 A: mplsadm -L eth0:0 A: mplsadm -A -I gen:17:0 > I want to meassure the traffic using ethereal on mashine A or C.=20 > In the next step I'd like to include LDP also. If this works I want=20 > to add a 4th computer parallel to B and do some meassuring. NOTE: Ethereal and tcpdump will show "weird" packet when running ON the LER (A or C in this setup). This is due to where (in the Linux net stack= ) tcpdump and ethereal snag a copy of the packet. Right now they get a ver= sion of the packet that has been partially modified. For LDP, make sure to grab ldp-portable from CVS to get the latest versio= n. > I hope somebody can give me some advice. >=20 > Thank you in advance. >=20 > Patrick Havel >=20 > --=20 > Ich freue mich immer(!) =FCber Eintr=E4ge in mein G=E4stebuch ;-) >=20 > Homepage: http://www.informatik.uni-muenchen.de/~_havel >=20 > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net >=20 >=20 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu |