You have been dreaming of starting your own ISP for years and now the moment is finally here. You bought a couple of brand new routers and you are about to implement your MPLS backbone. Your first customer has just signed a contract for connecting two sites so there is nothing stopping you. One of your routers will be the “P” router for the backbone. The other two routers will be used as “PE” router to connect the customer’s end devices. Your customer is running RIP as their (IGP) internal routing protocol. Your backbone will use OSPF as the IGP….time to create your business!
- All IP addresses have been preconfigured for you.
- Every router has a loopback0 interfaced configured as following:
HQ: 188.8.131.52 /25
PE1: 184.108.40.206 /25
P2: 220.127.116.11 /25
PE2: 18.104.22.168 /25
BRANCH: 22.214.171.124 /25
- Configure OSPF Area 0 at the provider side (Router PE1, PE2 and P).
- Advertise the loopback interfaces as well in OSPF.
- Ensure you have full reachability in the OSPF domain.
- Configure MPLS on all physical interfaces in the service provider domain, do not configure MPLS on physical interfaces pointing towards the customer.
- Configure VRF “customer” on PE1 and PE2 as following:
Route-target both 1:100
- On router PE1 and PE2 add the interfaces pointing towards the customer to the VRF you just created.
- Ensure you can ping from within the VRF, try this as following on PE1:
ping vrf customer 192.168.12.1
- Configure RIP on router HQ and Branch. Advertise the loopbacks as well.
- Make sure you use RIP version 2.
- Disable RIP auto-summary.
- Configure RIP on router PE1 and PE2 for the correct VRF “customer”.
- Ensure you receive prefixes from the customer routers on your PE routers.
- Configure BGP AS 1 between Router PE1 and PE2.
- Configure the correct BGP address families and make sure communities are sent between neighbors.
- Redistribute RIP into BGP, use the correct address-family for the VRF “customer”.
- Make sure you keep the original metric for the prefixes.
- Ensure you have full connectivity between router HQ and Branch. You should see each other’s RIP routes that have been carried over the service provider’s MPLS backbone.
Configuration FilesYou need to register to download the GNS3 topology file. (Registration is free!)
Once you are logged in you will find the configuration files right here.