It is currently Tue Dec 12, 2017 12:19 pm


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Thu Mar 24, 2011 11:29 pm 
Offline

Joined: Thu Mar 24, 2011 3:44 pm
Posts: 7
Here is a guide / presentation I recently did. The entire sim is using GNS3 and cisco 3600 routers.

Full topology, configs, and screenshots are provided as well as a step by step guide through the entire process.

http://socketready.com/2011/03/05/mpls-configuration-guide/




Top
 Profile  
 
 Post subject: Re: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Sun Mar 27, 2011 12:23 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
EXCELLENT guide, and congratulations.

A couple of points:
1. I wouldn't have bothered running BGP on the P routers - I'd just do an iBGP connection between the two PE routers (just to simplify it a bit)
2. .pcap extensions on the capture files would be useful - took me a while to work out what they were!
3. FWIW - your .zip file has a lot of left-over crap left in it because you created it on a Mac (I'm a Mac user and haven't figured out how to stop this yet)

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Sun Mar 27, 2011 1:33 am 
Offline

Joined: Thu Mar 24, 2011 3:44 pm
Posts: 7
Thank you!

I think I fixed the OS X files and added pcap extentions, just re-zipped it up on linux. Should be good now. Those files are annoying.

Is there any difference in the configuration of the PE routers BGP without running an iBGP on the P routers?

Cheers


Top
 Profile  
 
 Post subject: Re: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Sun Mar 27, 2011 7:59 pm 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
The P routers only need to run the regular IGP - in your case OSPF, and MPLS.

The beauty of the way BGP works is that (internal) peers don't need to be directly connected to each other, just be able to communicate over tcp port 179.

Another thing I noticed too is that your configs/wireshark captures are using the old Cisco TDP (Tag Distribution Protocol) on UDP 711. The standard is to use LDP (Label Distribution Protocol), and is the default for the latest version of IOS - at least it is on the 3725 - not sure about the 3640.

If you want to post your .net file, I'll fire it up and see if I have an IOS that supports LDP (did you mean to include the .net file in your .zip? It isn't there)

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Sun Mar 27, 2011 10:17 pm 
Offline

Joined: Thu Mar 24, 2011 3:44 pm
Posts: 7
Interesting, I will try removing BGP from the P routers and see if i can get it working. There are no acls so i dont see any reason why bgp traffic should get blocked. That makes things a lot less time consuming to do it that way, at least for my example.

i've added the .net file in the download as well as posted below. You will probably have to change the paths in the file around to reflect your environment and images.

mpls2.net

autostart = False
[localhost:7202]
workingdir = mpls2_working
udp = 10200
[[3640]]
image = ./c3640-js-mz.122-17.bin
idlepc = 0x603d2294
ghostios = True
chassis = 3640
[[ROUTER CE_A2]]
model = 3640
console = 2014
cnfg = mpls2_configs/CE_A2.cfg
slot0 = NM-1FE-TX
f0/0 = LSR6 f3/0
slot1 = NM-1FE-TX
slot2 = NM-1FE-TX
slot3 = NM-1FE-TX
x = 613.295598004
y = 194.374675043
[[ROUTER CE_B2]]
model = 3640
console = 2012
cnfg = mpls2_configs/CE_B2.cfg
slot0 = NM-1FE-TX
f0/0 = LSR6 f2/0
slot1 = NM-1FE-TX
slot2 = NM-1FE-TX
slot3 = NM-1FE-TX
x = 609.052957317
y = -413.737156777
[localhost:7200]
workingdir = mpls2_working
udp = 10000
[[3640]]
image = ./c3640-js-mz.122-17.bin
idlepc = 0x603d2294
ghostios = True
chassis = 3640
[[ROUTER LSR1]]
model = 3640
console = 2007
cnfg = mpls2_configs/LSR1.cfg
slot0 = NM-1FE-TX
f0/0 = LSR5 f0/0
slot1 = NM-1FE-TX
f1/0 = LSR3 f0/0
slot2 = NM-1FE-TX
f2/0 = LSR2 f1/0
slot3 = NM-1FE-TX
f3/0 = LSR4 f3/0
x = -264.0
y = -265.0
[[ROUTER LSR3]]
model = 3640
console = 2008
cnfg = mpls2_configs/LSR3.cfg
slot0 = NM-1FE-TX
f0/0 = LSR1 f1/0
slot1 = NM-1FE-TX
f1/0 = LSR5 f1/0
slot2 = NM-1FE-TX
f2/0 = LSR4 f1/0
slot3 = NM-1FE-TX
f3/0 = LSR2 f3/0
x = -266.303607231
y = 63.730014102
[[ROUTER LSR2]]
model = 3640
console = 2010
cnfg = mpls2_configs/LSR2.cfg
slot0 = NM-1FE-TX
f0/0 = LSR4 f0/0
slot1 = NM-1FE-TX
f1/0 = LSR1 f2/0
slot2 = NM-1FE-TX
f2/0 = LSR6 f0/0
slot3 = NM-1FE-TX
f3/0 = LSR3 f3/0
x = 223.01428535
y = -261.539105243
[[ROUTER LSR4]]
model = 3640
console = 2009
cnfg = mpls2_configs/LSR4.cfg
slot0 = NM-1FE-TX
f0/0 = LSR2 f0/0
slot1 = NM-1FE-TX
f1/0 = LSR3 f2/0
slot2 = NM-1FE-TX
f2/0 = LSR6 f1/0
slot3 = NM-1FE-TX
f3/0 = LSR1 f3/0
x = 225.842712475
y = 66.558441227
[localhost:7201]
workingdir = mpls2_working
udp = 10100
[[3640]]
image = ./c3640-js-mz.122-17.bin
idlepc = 0x603d2294
ghostios = True
chassis = 3640
[[ROUTER CE_A1]]
model = 3640
console = 2008
cnfg = mpls2_configs/CE_A1.cfg
slot0 = NM-1FE-TX
f0/0 = LSR5 f2/0
slot1 = NM-1FE-TX
slot2 = NM-1FE-TX
slot3 = NM-1FE-TX
x = -621.312841947
y = -398.180807591
[[ROUTER CE_B1]]
model = 3640
console = 2010
cnfg = mpls2_configs/CE_B1.cfg
slot0 = NM-1FE-TX
f0/0 = LSR5 f3/0
slot1 = NM-1FE-TX
slot2 = NM-1FE-TX
slot3 = NM-1FE-TX
x = -625.555482634
y = 183.060966544
[[ROUTER LSR5]]
model = 3640
console = 2006
cnfg = mpls2_configs/LSR5.cfg
slot0 = NM-1FE-TX
f0/0 = LSR1 f0/0
slot1 = NM-1FE-TX
f1/0 = LSR3 f1/0
slot2 = NM-1FE-TX
f2/0 = CE_A1 f0/0
slot3 = NM-1FE-TX
f3/0 = CE_B1 f0/0
x = -625.513852074
y = -94.6619048834
[[ROUTER LSR6]]
model = 3640
console = 2011
cnfg = mpls2_configs/LSR6.cfg
slot0 = NM-1FE-TX
f0/0 = LSR2 f2/0
slot1 = NM-1FE-TX
f1/0 = LSR4 f2/0
slot2 = NM-1FE-TX
f2/0 = CE_B2 f0/0
slot3 = NM-1FE-TX
f3/0 = CE_A2 f0/0
x = 607.680374315
y = -114.460894757
[GNS3-DATA]
configs = mpls2_configs
workdir = mpls2_working
m11 = 0.707106781187
m22 = 0.707106781187
[[NOTE 1]]
text = f0/0 .30
x = 555.0
y = -148.5
color = "#3c3c3c"
[[NOTE 2]]
text = f1/0 .38
x = 140.007142675
y = 61.0391052434
color = "#3c3c3c"
[[NOTE 3]]
text = 10.10.10.36 /30
x = -46.6690475583
y = 61.0391052434
color = "#3c3c3c"
[[NOTE 4]]
text = f0/0 .2
x = 661.85194719
y = 151.548773235
color = "#3c3c3c"
[[NOTE 5]]
text = 10.10.10.16 /30
x = -104.0
y = -177.5
color = "#3c3c3c"
[[NOTE 6]]
text = f0/0 .1
x = -336.0
y = -239.5
color = "#3c3c3c"
[[NOTE 7]]
text = 10.10.10.8 /30
x = -350.0
y = -98.5
color = "#3c3c3c"
[[NOTE 8]]
text = f1/0 .33
x = 569.0
y = -59.5
color = "#3c3c3c"
[[NOTE 9]]
text = 10.10.10.20 /30
x = -116.0
y = 1.5
color = "#3c3c3c"
[[NOTE 10]]
text = f1/0: 192.168.100.2 /24\nLo0: 192.168.2.1 /24
x = 558.0
y = 247.5
color = "#3c3c3c"
[[NOTE 11]]
text = f3/0 .1
x = -654.0
y = -8.5
color = "#3c3c3c"
[[NOTE 12]]
text = f0/0 .2
x = 648.0
y = -354.5
color = "#3c3c3c"
[[NOTE 13]]
text = 10.10.10.4 /30
x = -509.0
y = 9.5
color = "#3c3c3c"
[[NOTE 14]]
text = lo0: 5.5.5.5 /24
x = -672.0
y = 235.5
color = "#3c3c3c"
[[NOTE 15]]
text = 192.168.200.0 /24
x = -706.058874503
y = 84.2279220613
color = "#3c3c3c"
[[NOTE 16]]
text = lo0: 192.168.1.1 /24
x = -660.0
y = -450.5
color = "#3c3c3c"
[[NOTE 17]]
text = f0/0 .2
x = -656.0
y = 131.5
color = "#3c3c3c"
[[NOTE 18]]
text = f2/0 .1
x = 646.0
y = -212.5
color = "#3c3c3c"
[[NOTE 19]]
text = 172.16.100.0/24
x = -585.484414822
y = -323.626983722
color = "#3c3c3c"
[[NOTE 20]]
text = f1/0 10.10.10.22 /24
x = 564.271211387
y = -487.675756957
color = "#3c3c3c"
[[NOTE 21]]
text = lo0: 192.168.1.4 /32
x = 179.605122421
y = 117.607647738
color = "#3c3c3c"
[[NOTE 22]]
text = 10.10.10.28 /30
x = 426.0
y = -197.5
color = "#3c3c3c"
[[NOTE 23]]
text = f2/0 .34
x = 332.0
y = 53.5
color = "#3c3c3c"
[[NOTE 24]]
text = f0/0 .25
x = 257.0
y = -199.5
color = "#3c3c3c"
[[NOTE 25]]
text = f3/0 .21
x = -214.0
y = 10.5
color = "#3c3c3c"
[[NOTE 26]]
text = lo0: 192.168.1.2 /32
x = 183.847763109
y = -329.283837972
color = "#3c3c3c"
[[NOTE 27]]
text = f1/0 .5
x = -577.0
y = -44.5
color = "#3c3c3c"
[[NOTE 28]]
text = 10.10.10.24 /30
x = 258.0
y = -98.5
color = "#3c3c3c"
[[NOTE 29]]
text = lo0: 192.168.1.3 /32
x = -313.955410847
y = 111.950793489
color = "#3c3c3c"
[[NOTE 30]]
text = 172.16.101.0 /24
x = 643.467170879
y = 56.7964645563
color = "#3c3c3c"
[[NOTE 31]]
text = 10.10.10.0 /30
x = -491.0
y = -199.5
color = "#3c3c3c"
[[NOTE 32]]
text = f3/0 .1
x = 656.195092941
y = -53.5121933088
color = "#3c3c3c"
[[NOTE 33]]
text = f0/0 .2
x = -568.0
y = -131.5
color = "#3c3c3c"
[[NOTE 34]]
text = 192.168.201.0 /24
x = 639.514718625
y = -276.84314575
color = "#3c3c3c"
[[NOTE 35]]
text = f1/0 .14
x = 144.0
y = -267.5
color = "#3c3c3c"
[[NOTE 36]]
text = lo0: 192.168.1.1 /32
x = -304.0
y = -328.5
color = "#3c3c3c"
[[NOTE 37]]
text = 10.10.10.32 /30
x = 438.0
y = 0.5
color = "#3c3c3c"
[[NOTE 38]]
text = f2/0 .13
x = -185.0
y = -269.5
color = "#3c3c3c"
[[NOTE 39]]
text = lo0: 192,168.1.5 /32
x = -682.762409947
y = -153.553823869
color = "#3c3c3c"
[[NOTE 40]]
text = f0/0 .26
x = 258.0
y = 11.5
color = "#3c3c3c"
[[NOTE 41]]
text = f2/0 .29
x = 303.0
y = -245.5
color = "#3c3c3c"
[[NOTE 42]]
text = f3/0 .17
x = -164.0
y = -216.5
color = "#3c3c3c"
[[NOTE 43]]
text = f2/0 .37
x = -182.433549546
y = 61.0391052434
color = "#3c3c3c"
[[NOTE 44]]
text = f3/0 .18
x = 168.0
y = 9.5
color = "#3c3c3c"
[[NOTE 45]]
text = f1/0 .6
x = -342.0
y = 58.5
color = "#3c3c3c"
[[NOTE 46]]
text = f0/0 .10
x = -302.0
y = 6.5
color = "#3c3c3c"
[[NOTE 47]]
text = lo0: 192.168.1.6 /32
x = 596.798123322
y = -172.306132548
color = "#3c3c3c"
[[NOTE 48]]
text = f1/0 .9
x = -290.0
y = -195.5
color = "#3c3c3c"
[[NOTE 49]]
text = f3/0 .22
x = 126.0
y = -217.5
color = "#3c3c3c"
[[NOTE 50]]
text = f2/0 .1
x = -670.337228564
y = -118.566017178
color = "#3c3c3c"
[[NOTE 51]]
text = 10.10.10.12 /30
x = -49.0
y = -267.5
color = "#3c3c3c"
[[NOTE 52]]
text = Lo0: 20.20.20.20 /24
x = 562.0
y = -464.5
color = "#3c3c3c"
[[NOTE 53]]
text = f0/0 .2
x = -660.437733628
y = -349.082827845
color = "#3c3c3c"
[[SHAPE 1]]
type = ellipse
x = -593.969696196
y = -391.737156777
width = 1236.02265351
height = 619.425540319
border_style = 2
z = -13.0


Top
 Profile  
 
 Post subject: Re: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Mon Mar 28, 2011 4:54 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
Thanks.

I got it running - couple of problems with your.net - you have two routers running on console ports 2008 & 2010, so had to change that.

I used a 12.4 image - c3640-js-mz.124-25a.image to be precise and it works with LDP rather than TDP - no config changes necessary for that part, but you'll see all the configs have mpls in places where yours had tag-switching.

And I had a fun afternoon getting it all to run - I've never done BGP between the CE and PE before, so I had a lot of fun debugging your configs and learning about the BGP command:
Code:
neighbor x.x.x.x as-override


I'll send you a private email regarding the things I had to do to actually get BGP working between the CEs

And my .net & .cfg files are in the attached .zip

You'll notice a few things different about my .net file as I've structured it like the default way for GNS3 v0.7.3 (with a Configs directory). I'm also pedantic about lining things up straight too - easy now with the new tools in 0.7.3!


Attachments:
File comment: topology.net & config files
mpls-vpn lab.zip [8.03 KiB]
Downloaded 966 times

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs
Top
 Profile  
 
 Post subject: Re: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Mon Mar 28, 2011 5:13 pm 
Offline

Joined: Thu Mar 24, 2011 3:44 pm
Posts: 7
Wow, thats so much simpler. Thanks a lot. I went and updated my site fully (I think) to reflect these changes.

I'll respond to your email with the other details.


Top
 Profile  
 
 Post subject: Re: Complete MPLS guide + multiple customer sites + BGP VPN
PostPosted: Wed Jul 06, 2011 5:19 pm 
Offline

Joined: Mon May 16, 2011 5:28 am
Posts: 87
thanks for sharing..



_________________
GNS3 Labs


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO