Re: [mpls-linux-general] MPLS/linux
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2001-06-11 19:38:12
|
On Sat, Jun 09, 2001 at 02:56:50AM -0000, SAAD SHEIKH wrote: > Hi Everybody, > > I would appreciate if anybody can guide me through following: > > I am a new comer to MPLS, and want to start with following topology; > > > Ingress----------------------LSR-----------------Egress > 192.168.100.3 eth1 eth2 192.168.200.3 > > 192.168.100.1 192.168.200.1 > > > I have configured the LSR as under ; > > mplsadm -v -L eth1:0 > mplsadm -v -L eth2:0 > > mplsadm -A -B -I gen:16:0 -o gen:16:eth1:ipv4:192.168.100.3 > mplsadm -A -B -I gen:16:0 -o gen:16:eth2:ipv4:192.168.200.3 > > Please see where I am wrong and kindly advise me with the correct commands > in detail while realizing my new entrance into MPLS technology. The above configure will only label switch packets at the LSR, you do not have anything configure to add labels or remove labels from the packets at the ingress and egress: Ingress: -terminate LSP 16 mplsadm -v -L eth1:0 mplsadm -A -I gen:16:0 -orginate LSP 16 route add -net 192.168.200.0/24 gw 192.168.100.1 mplsadm -A -B -O gen:16:eth1:ipv4:192.168.100.1 -f 192.168.200.0/24 Egress: -terminate LSP 16 mplsadm -v -L eth1:0 mplsadm -A -I gen:16:0 -orginate LSP 16 route add -net 192.168.100.0/24 gw 192.168.200.1 mplsadm -A -B -O gen:16:eth1:ipv4:192.168.200.1 -f 192.168.100.0/24 Jim -- James R. Leu |