Chapter 7 Router Configurations
R1 Configuration
Example A-8 R1's Configuration
! version 11.1 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname R1 ! enable password falcons ! no ip domain-lookup ip host R1 192.169.1.1 ip host R2 192.169.2.2 ip host R3 192.169.3.3 ip host R4 192.169.4.4 ip host R5 192.169.5.5 ip host R6 192.169.6.6 ! interface Loopback0 ip address 192.169.1.1 255.255.255.0 ! interface Ethernet0 description This interface connects to R2's E0 ip address 192.168.1.1 255.255.255.0 ! interface Serial0 no ip address shutdown ! interface Serial1 no ip address shutdown ! no ip classless ! banner motd # This is Router 1 # ! line con 0 exec-timeout 0 0 password falcons logging synchronous line aux 0 line vty 0 4 password falcons login ! end
R2 Configuration
Example A-9 R2's Configuration
! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R2 ! enable password falcons ! ip subnet-zero no ip domain-lookup ip host R1 192.169.1.1 ip host R2 192.169.2.2 ip host R3 192.169.3.3 ip host R4 192.169.4.4 ip host R5 192.169.5.5 ip host R6 192.169.6.6 ! ! ! interface Loopback0 ip address 192.169.2.2 255.255.255.0 no ip directed-broadcast ! interface Ethernet0 ip address 192.168.1.2 255.255.255.0 no ip directed-broadcast ! interface Ethernet1 description This interface does not connect with another IP device ip address 192.168.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0 description This interface connects to R3's S0 (201) ip address 192.168.100.2 255.255.255.0 no ip directed-broadcast encapsulation frame-relay no ip mroute-cache frame-relay map ip 192.168.100.3 201 broadcast frame-relay map ip 192.168.100.4 201 broadcast frame-relay lmi-type ansi ! ip classless ! banner motd # This is Router 2 # ! line con 0 exec-timeout 0 0 password falcons logging synchronous line vty 0 4 password falcons login ! end
R3 Configuration
Example A-10 R3's Configuration
! version 11.2 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname R3 ! enable password falcons ! no ip domain-lookup ip host R1 192.169.1.1 ip host R2 192.169.2.2 ip host R3 192.169.3.3 ip host R4 192.169.4.4 ip host R5 192.169.5.5 ip host R6 192.169.6.6 ! interface Loopback0 ip address 192.169.3.3 255.255.255.0 ! interface Ethernet0 ip address 192.168.3.3 255.255.255.0 ! interface Serial0 description This interface connects to R2's S0 (DLCI 200) and R4's S0 (DLCI 100) ip address 192.168.100.3 255.255.255.0 encapsulation frame-relay frame-relay lmi-type ansi ! interface Serial1 description This interface connects to R5's S0 (DCE) ip address 192.168.35.3 255.255.255.0 ! no ip classless ! banner motd # This is Router 3 # ! line con 0 exec-timeout 0 0 password falcons logging synchronous line aux 0 line vty 0 4 password falcons login ! end
R4 Configuration
Example A-11 R4's Configuration
! version 11.2 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname R4 ! enable password falcons ! ip subnet-zero no ip domain-lookup ip host R1 192.169.1.1 ip host R2 192.169.2.2 ip host R3 192.169.3.3 ip host R4 192.169.4.4 ip host R5 192.169.5.5 ip host R6 192.169.6.6 ! interface Loopback0 ip address 192.169.4.4 255.255.255.0 ! interface Ethernet0 description This interface does not connect to another IP device ip address 192.168.4.4 255.255.255.224 ! interface Serial0 description This interface connects to R3's S0 (DLCI 101) ip address 192.168.100.4 255.255.255.0 encapsulation frame-relay frame-relay map ip 192.168.100.2 101 broadcast frame-relay map ip 192.168.100.3 101 broadcast frame-relay lmi-type ansi ! interface Serial1 no ip address shutdown ! no ip classless ! banner motd # This is Router 4 # ! line con 0 exec-timeout 0 0 password falcons logging synchronous line aux 0 line vty 0 4 password falcons login ! end
R5 Configuration
Example A-12 R5's Configuration
! version 11.2 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname R5 ! enable password falcons ! no ip domain-lookup ip host R1 192.169.1.1 ip host R2 192.169.2.2 ip host R3 192.169.3.3 ip host R4 192.169.4.4 ip host R5 192.169.5.5 ip host R6 192.169.6.6 ! interface Loopback0 ip address 192.169.5.5 255.255.255.0 ! interface Serial0 description This interface connects to R3's S1 (DTE) ip address 192.168.35.5 255.255.255.0 no fair-queue clockrate 2000000 ! interface Serial1 no ip address shutdown ! interface TokenRing0 description This interface does not connect with another IP device ip address 192.168.50.5 255.255.255.0 ring-speed 16 ! interface BRI0 no ip address shutdown ! no ip classless ! banner motd ^C This is Router 5 ^C ! line con 0 exec-timeout 0 0 password falcons logging synchronous line aux 0 line vty 0 4 password falcons login ! end
R6 Configuration
Example A-13 R6's Configuration
! version 11.2 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname R6 ! enable password falcons ! no ip domain-lookup ip host R1 192.169.1.1 ip host R2 192.169.2.2 ip host R3 192.169.3.3 ip host R4 192.169.4.4 ip host R5 192.169.5.5 ip host R6 192.169.6.6 ! interface Loopback0 ip address 192.169.6.6 255.255.255.0 ! interface Serial0 no ip address shutdown no fair-queue ! interface Serial1 no ip address shutdown ! interface TokenRing0 description This interface does not connect with another IP device ip address 192.168.60.6 255.255.255.0 ring-speed 16 ! interface BRI0 no ip address shutdown ! no ip classless ! banner motd ^C This is Router 6 ^C ! line con 0 exec-timeout 0 0 password falcons logging synchronous line aux 0 line vty 0 4 password falcons login ! end