Professional Documents
Culture Documents
R1-1229118
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1-1229118
R1-1229118(config)#no ip domain-lookup
R1-1229118(config)#service password-encryption
R1-1229118(config)#enable secret class
R1-1229118(config)#banner motd #
Enter TEXT message. End with the character '#'.
Unauthorized access is strictly prohibited. #
R1-1229118(config)#line con 0
R1-1229118(config-line)#password cisco
R1-1229118(config-line)#login
R1-1229118(config-line)#logging synchronous
R1-1229118(config-line)#line vty 0 4
R1-1229118(config-line)#password cisco
R1-1229118(config-line)#login
R1-1229118(config)#int g0/0
R1-1229118(config-if)#ip address 192.168.0.1 255.255.255.0
R1-1229118(config-if)#no shut
R1-1229118(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R1-1229118(config-if)#int g0/1
R1-1229118(config-if)#ip address 192.168.1.1 255.255.255.0
R1-1229118(config-if)#no shut
R1-1229118(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
R1-1229118(config-if)#int s0/0/0
R1-1229118(config-if)#clock rate 128000
R1-1229118(config-if)#ip address 192.168.2.253 255.255.255.252
R1-1229118(config-if)#no shut
R2-1229118:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2-1229118
R2-1229118(config)#no ip domain-lookup
R2-1229118(config)#service password-encryption
R2-1229118(config)#enable secret class
R2-1229118(config)#banner motd #
Enter TEXT message. End with the character '#'.
Unauthorized access is strictly prohibited. #
R2-1229118(config)#line con 0
R2-1229118(config-line)#password cisco
R2-1229118(config-line)#login
R2-1229118(config-line)#logging synchronous
R2-1229118(config-line)#line vty 0 4
R2-1229118(config-line)#password cisco
R2-1229118(config-line)#login
R2-1229118(config)#int s0/0/0
R2-1229118(config-if)#ip address 192.168.2.254 255.255.255.252
R2-1229118(config-if)#no shut
R2-1229118(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2-1229118(config-if)#int s0/0/1
R2-1229118(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
ISP:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#no ip domain-lookup
ISP(config)#service password-encryption
ISP(config)#enable secret class
ISP(config)#banner motd #
Enter TEXT message. End with the character '#'.
Unauthorized access is strictly prohibited. #
ISP(config)#line con 0
ISP(config-line)#password cisco
ISP(config-line)#login
ISP(config-line)#logging synchronous
ISP(config-line)#line vty 0 4
ISP(config-line)#password cisco
ISP(config-line)#login
ISP(config-line)#int s0/0/1
ISP(config-if)#ip address 209.165.200.225 255.255.255.224
ISP(config-if)#no shut
ISP(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
ISP(config-if)#
Step 4: Configure dynamic, default, and static routing on the routers.
R1-1229118:
R1-1229118(config-if)#router rip
R1-1229118(config-router)#versio 2
R1-1229118(config-router)#network 192.168.0.0
R1-1229118(config-router)#network 192.168.1.0
R1-1229118(config-router)#network 192.168.2.252
R1-1229118(config-router)#no auto-summary
R1-1229118(config-router)#end
R1-1229118#
%SYS-5-CONFIG_I: Configured from console by console
R2-1229118:
R2-1229118(config-if)#router rip
R2-1229118(config-router)#version 2
R2-1229118(config-router)#network 192.168.2.252
R2-1229118(config-router)#default-information originate
R2-1229118(config-router)#exit
R2-1229118(config)#ip route 0.0.0.0 0.0.0.0 209.165.200.225
R2-1229118(config)#end
R2-1229118#
%SYS-5-CONFIG_I: Configured from console by console
ISP:
ISP(config)#ip route 192.168.0.0 255.255.252.0 209.165.200.226
ISP(config)#end
ISP#
%SYS-5-CONFIG_I: Configured from console by console
R1-1229118:
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R1-1229118#
R2-1229118:
R2-1229118#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
PC-A:
C:\>ipconfig /all
Bluetooth Connection:
C:\>
PC-B:
C:\>ipconfig /all
Bluetooth Connection:
C:\>
Step 2: Configure R1-1229118 as a DHCP relay agent.
Password:
R1-1229118>en
Password:
R1-1229118#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-1229118(config)#int g0/0
R1-1229118(config-if)#ip helper-address 192.168.2.254
R1-1229118(config-if)#int g0/1
R1-1229118(config-if)#ip helper-address 192.168.2.254
R1-1229118(config-if)#
Bluetooth Connection:
PC-B:
C:\>ipconfig /all
Bluetooth Connection:
C:\>
Step 4: Verify DHCP services and address leases on R2-1229118.
R2-1229118:
R2-1229118#show ip dhcp binding
IP address Client-ID/ Lease expiration Type
Hardware address
192.168.0.10 00E0.B034.729D -- Automatic
192.168.1.10 000B.BE3E.8099 – Automatic
Pool R1-1229118G0 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 1
Excluded addresses : 2
Pending event : none
Pool R1-1229118G1 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 1
Excluded addresses : 2
Pending event : none