giugno 02, 2016

- Cisco Networking: BGP Case Study




                       Topology






Objectives

 Plan, design, and implement the International Travel Agency core network.

  Plan, design, and implement the Travel Data Providers network.

Allow the networks to communicate via BGP

Verify that all implementations are operational and functional according to the guidelines.




Background
The International Travel Agency (ITA) needs both its core network and its Travel Data Providers (TDP) network set up. Configure each network to run EIGRP, and use BGP to advertise routes between the two.
Note: This lab uses Cisco 1841 routers with Cisco IOS Release 12.4(24)T1 and the Advanced IP Services image c1841-advipservicesk9-mz.124-24.T1.bin. The switch is a Cisco WS-C2960-24TT-L with the Cisco IOS image c2960-lanbasek9-mz.122-46.SE.bin, You can use other routers (such as a 2801 or 2811), switches (such as a 2950), and Cisco IOS Software versions if they have comparable capabilities and features.
Depending on the router or switch model and Cisco IOS Software version, the commands available and output produced might vary from what is shown in this lab.

Required Resources

4 routers (Cisco 1841 with Cisco IOS Release 12.4(24)T1 Advanced IP Services or comparable)
1 switch (Cisco 2960 with the Cisco IOS Release 12.2(46)SE C2960-LANBASEK9-M image or comparable)
 Serial and Ethernet cables

Requirements

1.     Use the addressing scheme shown in the diagram.
2.     Configure the ITA network to be in EIGRP AS 65001.
3.     Configure the TDP network to be in EIGRP AS 65002.
4.     Disable automatic summarization in both EIGRP domains.
5.     Configure the ITA network to be in BGP AS 65001, and the TDP network to be in BGP AS 65002.
6.     Advertise the 192.168.14.0/30 and 192.168.34.0/30 networks in both EIGRP autonomous systems.
7.     Configure the interfaces on the border routers between the two EIGRP autonomous systems, so they do not send EIGRP packets.
8.     All routers will be participating in BGP. Configure all routers for a full mesh of IBGP peers in each system.
9.     Peer R1 and R2 using loopback addresses, not their directly connected interfaces.
10.  Advertise all loopback interfaces into the BGP process, except on R2, where the only loopback advertised should be loopback 2.
11.  On R2, create a static summary route for the rest of its loopback interfaces and advertise this static route in BGP.
12.  R4 should send a summary route to ITA representing all the R4 loopback interfaces.
13.  R4 should prefer the path to ITA networks via the Ethernet link between R1 and R4. Accomplish this by modifying the MED advertised to TDP.
14.  Routers in the ITA AS should prefer the path to TDP networks via the Ethernet link between R1 and R4. Accomplish this by modifying the local preference of routes being advertised in from TDP.




Router Interface Summary Table


Router Interface Summary
Router Model
Ethernet Interface
#1
Ethernet Interface
#2
Serial Interface
#1
Serial Interface
#2
1700
Fast Ethernet 0 (FA0)
Fast Ethernet 1 (FA1)
Serial 0 (S0)
Serial 1 (S1)
1800
Fast Ethernet 0/0 (FA0/0)
Fast Ethernet 0/1 (FA0/1)
Serial 0/0/0 (S0/0/0)
Serial 0/0/1 (S0/0/1)
2600
Fast Ethernet 0/0 (FA0/0)
Fast Ethernet 0/1 (FA0/1)
Serial 0/0 (S0/0)
Serial 0/1 (S0/1)
2800
Fast Ethernet 0/0 (FA0/0)
Fast Ethernet 0/1 (FA0/1)
Serial 0/0/0 (S0/0/0)
Serial 0/0/1 (S0/0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many interfaces the router has. Rather than list all combinations of configurations for each router class, this table includes identifiers for the possible combinations of Ethernet and serial interfaces in the device. The table does not include any other type of interface, even though a specific router might contain one. For example, for an ISDN BRI interface, the string in parenthesis is the legal abbreviation that can be used in Cisco IOS commands to represent the interface.



Tcl Script Verification
The Tcl script will fail for some remote AS addresses because the pings are sourced by default from the closest interface, which the end router might not have a route back to. If you want to see successful pings to a remote AS address, you source the ping from a loopback interface using the source argument to the ping or use an extended ping.
The syntax for a ping with a source argument is ping address source interface.
In addition to this, most remote AS physical interfaces will fail because they are not being advertised via the local EIGRP process or BGP. This is normal.
The following Tcl scripts were run with the advertised loopback source interface specified. All pings to all addresses are successful for routers R1, R2, and R3. Router R4 pings fail to the AS 65001 internal WAN link interface addresses because they are not advertised.
tclsh

foreach address { 10.1.1.1
10.2.2.2
10.20.0.1
10.20.1.1
10.20.2.1
10.20.3.1
10.3.3.3
172.16.0.1
172.16.4.1
172.16.8.1
172.16.12.1
10.1.102.1
10.1.102.2
10.1.103.1
10.1.103.3
10.1.203.2
10.1.203.3
192.168.14.1
192.168.14.2
192.168.34.1
192.168.34.2
} {
ping $address source Loopback1}

R1#tclsh R1(tcl)#
R1(tcl)#foreach address {
+>(tcl)#10.1.1.1
+>(tcl)#10.2.2.2
+>(tcl)#10.20.0.1
+>(tcl)#10.20.1.1
+>(tcl)#10.20.2.1
+>(tcl)#10.20.3.1
+>(tcl)#10.3.3.3
+>(tcl)#172.16.0.1
+>(tcl)#172.16.4.1
+>(tcl)#172.16.8.1
+>(tcl)#172.16.12.1
+>(tcl)#10.1.102.1



+>(tcl)#10.1.102.2
+>(tcl)#10.1.103.1
+>(tcl)#10.1.103.3
+>(tcl)#10.1.203.2
+>(tcl)#10.1.203.3
+>(tcl)#192.168.14.1
+>(tcl)#192.168.14.2
+>(tcl)#192.168.34.1
+>(tcl)#192.168.34.2
+>(tcl)#} {
+>(tcl)#ping $address source Loopback1}

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.0.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/33/56 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.1.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.2.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.3.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.



Sending 5, 100-byte ICMP Echos to 172.16.8.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.2, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.3, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.2, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/42/44 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.3, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.14.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.14.2, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.1, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.2, timeout is 2 seconds: Packet sent with a source address of 10.1.1.1
!!!!!



Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms R1(tcl)#tclquit

R2#tclsh R2(tcl)#
R2(tcl)#foreach address {
+>(tcl)#10.1.1.1
+>(tcl)#10.2.2.2
+>(tcl)#10.20.0.1
+>(tcl)#10.20.1.1
+>(tcl)#10.20.2.1
+>(tcl)#10.20.3.1
+>(tcl)#10.3.3.3
+>(tcl)#172.16.0.1
+>(tcl)#172.16.4.1
+>(tcl)#172.16.8.1
+>(tcl)#172.16.12.1
+>(tcl)#10.1.102.1
+>(tcl)#10.1.102.2
+>(tcl)#10.1.103.1
+>(tcl)#10.1.103.3
+>(tcl)#10.1.203.2
+>(tcl)#10.1.203.3
+>(tcl)#192.168.14.1
+>(tcl)#192.168.14.2
+>(tcl)#192.168.34.1
+>(tcl)#192.168.34.2
+>(tcl)#} {
+>(tcl)#ping $address source Loopback2}

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.0.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.1.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.2.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.3.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2



!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.8.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/36 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.2, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.3, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.2, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.3, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.



Sending 5, 100-byte ICMP Echos to 192.168.14.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.14.2, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.1, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.2, timeout is 2 seconds: Packet sent with a source address of 10.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms R2(tcl)#tclquit

R3#tclsh R3(tcl)#
R3(tcl)#foreach address {
+>(tcl)#10.1.1.1
+>(tcl)#10.2.2.2
+>(tcl)#10.20.0.1
+>(tcl)#10.20.1.1
+>(tcl)#10.20.2.1
+>(tcl)#10.20.3.1
+>(tcl)#10.3.3.3
+>(tcl)#172.16.0.1
+>(tcl)#172.16.4.1
+>(tcl)#172.16.8.1
+>(tcl)#172.16.12.1
+>(tcl)#10.1.102.1
+>(tcl)#10.1.102.2
+>(tcl)#10.1.103.1
+>(tcl)#10.1.103.3
+>(tcl)#10.1.203.2
+>(tcl)#10.1.203.3
+>(tcl)#192.168.14.1
+>(tcl)#192.168.14.2
+>(tcl)#192.168.34.1
+>(tcl)#192.168.34.2
+>(tcl)#} {
+>(tcl)#ping $address source Loopback3}

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms



Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.0.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.1.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.2.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.3.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.8.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.2, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/42/44 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3



!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.3, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.2, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/33/52 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.3, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.14.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.14.2, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.1, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.2, timeout is 2 seconds: Packet sent with a source address of 10.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms R3(tcl)#tclquit
R4#tclsh R4(tcl)#
R4(tcl)#foreach address {
+>(tcl)#10.1.1.1
+>(tcl)#10.2.2.2
+>(tcl)#10.20.0.1
+>(tcl)#10.20.1.1
+>(tcl)#10.20.2.1
+>(tcl)#10.20.3.1
+>(tcl)#10.3.3.3
+>(tcl)#172.16.0.1
+>(tcl)#172.16.4.1
+>(tcl)#172.16.8.1
+>(tcl)#172.16.12.1
+>(tcl)#10.1.102.1
+>(tcl)#10.1.102.2
+>(tcl)#10.1.103.1
+>(tcl)#10.1.103.3



+>(tcl)#10.1.203.2
+>(tcl)#10.1.203.3
+>(tcl)#192.168.14.1
+>(tcl)#192.168.14.2
+>(tcl)#192.168.34.1
+>(tcl)#192.168.34.2
+>(tcl)#} {
+>(tcl)#ping $address source Loopback0}

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.0.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.1.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.2.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.20.3.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds: Packet sent with a source address of 172.16. 0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds: Packet sent with a source address of 172.16. 0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.8.1, timeout is 2 seconds: Packet sent with a source address of 172.16. 0.1
!!!!!



Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds: Packet sent with a source address of 172.16. 0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
.....
Success rate is 0 percent (0/5) Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.102.2, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
.....
Success rate is 0 percent (0/5) Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.1, timeout is 2 seconds: Packet sent with a source address of 172.16. 0.1
.....
Success rate is 0 percent (0/5) Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.103.3, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
.....
Success rate is 0 percent (0/5) Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.2, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
.....
Success rate is 0 percent (0/5) Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.203.3, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
.....
Success rate is 0 percent (0/5) Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.14.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.14.2, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.1, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/16 ms Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.2, timeout is 2 seconds: Packet sent with a source address of 172.16.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms R4(tcl)#tclquit




Device Configurations


Router R1
hostname R1
!
interface Loopback1
ip address 10.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.14.1 255.255.255.252
no shutdown
!
interface Serial0/0/0
ip address 10.1.102.1 255.255.255.248
clock rate 64000
bandwidth 64 no shutdown
!
interface Serial0/0/1
ip address 10.1.103.1 255.255.255.248
bandwidth 64 no shutdown
!
router eigrp 65001
network 10.0.0.0
network 192.168.14.0
passive-interface FastEthernet0/0 no auto-summary
!
router bgp 65001
no synchronization
network 10.1.1.0 mask 255.255.255.0
neighbor 10.1.103.3 remote-as 65001
neighbor 10.2.2.2 remote-as 65001 neighbor 10.2.2.2 update-source Loopback1 neighbor 192.168.14.2 remote-as 65002
neighbor 192.168.14.2 route-map IN-FROM-TDP in neighbor 192.168.14.2 route-map OUT-TO-TDP out no auto-summary
!
route-map OUT-TO-TDP permit 10 set metric 10
!
route-map IN-FROM-TDP permit 10 set local-preference 200
end

Router R2

hostname R2
!
interface Loopback2
ip address 10.2.2.2 255.255.255.0
!
interface Loopback200
ip address 10.20.0.1 255.255.255.0

     !
interface Loopback201
ip address 10.20.1.1 255.255.255.0
!
interface Loopback202
ip address 10.20.2.1 255.255.255.0
!
interface Loopback203
ip address 10.20.3.1 255.255.255.0
!
interface Serial0/0/0
ip address 10.1.102.2 255.255.255.248
bandwidth 64 no shutdown
!
interface Serial0/0/1

ip address 10.1.203.2
clock rate 64000
255.255.255.248
bandwidth 64 no shutdown

!
router eigrp 65001
network 10.0.0.0 no auto-summary
!
router bgp 65001
no synchronization
network 10.2.2.0 mask 255.255.255.0
network 10.20.0.0 mask 255.255.252.0
neighbor 10.1.1.1 remote-as 65001 neighbor 10.1.1.1 update-source Loopback2 neighbor 10.1.203.3 remote-as 65001
no auto-summary
!
ip route 10.20.0.0 255.255.252.0 Null0
end


RouterR3

hostname R3
!
interface Loopback3
ip address 10.3.3.3 255.255.255.0
!
interface Serial0/0/0
ip address 10.1.103.3 255.255.255.248
clock rate 64000
bandwidth 64 no shutdown
!
interface Serial0/0/1
ip address 10.1.203.3 255.255.255.248
bandwidth 64 no shutdown
!
interface Serial0/1/0
ip address 192.168.34.1 255.255.255.252
clock rate 64000
    bandwidth 64                no shutdown
!
router eigrp 65001
network 10.0.0.0
network 192.168.34.0
passive-interface Serial0/1/0 no auto-summary
!
router bgp 65001
no synchronization
network 10.3.3.0 mask 255.255.255.0
neighbor 10.1.103.1 remote-as 65001
neighbor 10.1.203.2 remote-as 65001
neighbor 192.168.34.2 remote-as 65002
neighbor 192.168.34.2 route-map IN-FROM-TDP in neighbor 192.168.34.2 route-map OUT-TO-TDP out no auto-summary
!
route-map OUT-TO-TDP permit 10 set metric 20
route-map IN-FROM-TDP permit 10 set local-preference 100

end



 Router R4
hostname R4
!
interface Loopback0
ip address 172.16.0.1 255.255.252.0
!
interface Loopback4
ip address 172.16.4.1 255.255.252.0
!
interface Loopback8
ip address 172.16.8.1 255.255.252.0
!
interface Loopback12
ip address 172.16.12.1 255.255.252.0
!
interface FastEthernet0/0
ip address 192.168.14.2 255.255.255.252
no shutdown
!
interface Serial0/0/0
ip address 192.168.34.2 255.255.255.252
bandwidth 64 no shutdown
!
router eigrp 65002

network
172.16.0.0
network
192.168.14.0
network
192.168.34.0
passive-interface FastEthernet0/0 passive-interface Serial0/0/0
no auto-summary
!
router bgp 65002
no synchronization

network
172.16.0.0
mask
255.255.252.0
network
172.16.4.0
mask
255.255.252.0
network
172.16.8.0
mask
255.255.252.0
network 172.16.12.0 mask 255.255.252.0
aggregate-address 172.16.0.0 255.255.240.0 summary-only
neighbor 192.168.14.1 remote-as 65001
neighbor 192.168.34.1 remote-as 65001 no auto-summary
end


Nessun commento:

Posta un commento