Objectives
• Configure the customer router with an internal network that will be advertised by ISP1 via Border Gateway Protocol (BGP).
• Configure BGP to exchange routing information between ISP1 in AS 100 and ISP2 in AS 200.
Background / Preparation
A small company needs access to the Internet. They have arranged for services to be provided by their local ISP (ISP1). ISP1 connects to the Internet through ISP2 using an external routing protocol. BGP4 is the most popular routing protocol between ISPs on the Internet. In this lab, the customer router will connect to the ISP using a default route and ISP1 will connect to ISP2 via BGP4.
The following resources are required:
• Customer router (1841 or other)
• Switch (optional if crossover cable is used between PC and customer router)
• 2 ISP routers (1841 or other routers that support BGP) • PC with terminal emulation program installed
• Console cable to configure routers
• Access to the PC command prompt
• Access to PC network TCP/IP configuration
Step 1: Configure basic information on each router
a. Build and configure the network according to the topology diagram, but do not configure a routing protocol. If necessary, refer to Lab 5.3.5, “Configuring Basic Router Settings with IOS CLI,” for instructions on setting hostname, passwords, and interface addresses.
b. Configure the host PC IP address and subnet mask on the customer network to be compatible with the CR router FastEthernet interface with a default gateway of 192.168.1.1.
c. c. Use ping to test connectivity between the directly connected routers. Was the CR router able to reach the ISP2 router? Was the customer host able to reach ISP1?
d. Configure a loopback interface with an IP address for the ISP1 and ISP2 routers, as shown in the topology diagram. A loopback interface is a virtual interface that simulates a real network for testing purposes. Configure Loopback Interface on ISP1 router.
ISP1> enable ISP1#configure terminal ISP1(config)#interface loopback0 ISP1(config-if)#ip address 192.168.100.1 255.255.255.0
e. Configure Loopback Interface on ISP2 router. ISP2> enable
ISP2#configure terminal ISP2(config)#interface loopback0 ISP2(config-if)#ip address 192.168.200.1 255.255.255.0
Step 2: Configure the default and static routes
b.a On the CR router, configure the default route so that users will have access to ISP1:
CR(config)# ip route 0.0.0.0 0.0.0.0 10.10.10.2
b.b On the ISP1 router, configure a static route back to the customer’s network:
ISP1(config)# ip route 192.168.1.0 255.255.255.0 10.10.10.1
b.c Test connectivity by issuing a ping from the host to ISP1 at 10.10.10.2.
Step 3: Configure BGP on both ISP routers
a. Configure BGP on the ISP1 router :
ISP1(config)# router bgp 100
ISP1(config-router)#neighbor 172.16.1.2 remote-as 200
ISP1(config-router)#network 192.168.1.0
ISP1(config-router)#network 192.168.100.0
ISP1(config-router)#end
ISP1#copy running-config startup-config
b. Configure BGP on the ISP2 router :
ISP2(config)# router bgp 200
ISP2(config-router)#neighbor 172.16.1.1 remote-as 100
ISP2(config-router)#network 192.168.200.0 end
ISP2(config-router)# ISP2# copy running-config startup-config
Step 4: View the Routing Tables
a. ISP2#show ip route
1) Is network 192.168.1.0 in the routing table of ISP2? Ya ada
2) What letter is at the left of the entry for 192.168.1.0? ‘B’
3) What does the letter mean?
4) Is network 192.168.100.0 in the routing table? Ya ada
5) Which router advertised network 192.168.1.0? 172.16.1.1
b. ISP1#show ip route
1) What network(s) did ISP1 learn from ISP2? 172.16.1.2
2) How did ISP1 learn about network 192.168.1.0? melalui 10.10.10.1
3) Will ISP1 advertise any networks to the customer router? Ya
c. CR#show ip route
1) Why are networks 192.168.100.0 and 192.168.200.0 not in CRs routing table?
Jawaban : Karena semua lalu lintas dari jaringan 192.168.100.0 dan 192.168.200.0 akan menggunakan ISP1 sehingga kedua jaingan ini tidak terdapat di routing table ISP2
Step 5: Verify connectivity
a. Ping from the host PC on the CR Ethernet network to the Loopback Interface on ISP2.
b. Ping from the ISP2 router to the host PC on the Ethernet network of CR.
Step 6: View BGP information on the ISP routers
a. On the ISP1 router, view the BGP routing.
b. On the ISP2 router, view the BGP routing.
Step 7: Reflection
Why doesn’t ISP1 advertise any networks to the customer router?
Jawaban : Karena setiap jaringan sudah di atur menggunakan ISP yang mana, jadi tidak semua jaringan ynag ada di ISP1 di izinkan untuk menggunakan pelayanan router lainnya.
0 komentar:
Posting Komentar