Sei sulla pagina 1di 29

\\10.7.2.

5 ==================================================== 19 may 2012 pelatihan cisco ================================================= ========RIP========= ---------------------------R1----------------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#enable secret cisco12345 R1(config)#line vty 0 4 R1(config-line)#password aa1b2c3d4e5 R1# %SYS-5-CONFIG_I: Configured from console by console R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#login ^ % Invalid input detected at '^' marker. R1(config)#enable secret cisco12345 R1(config)#line vty 0 4 R1(config-line)#password aa1b2c3d4e5 R1(config-line)#login R1(config-line)#exit R1(config)#int s0/0 R1(config-if)#desc connect R2 R1(config-if)#ip address 209.165.200.1 255.255.255.252 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0, changed state to up R1(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up R1(config-if)#exit R1(config)#int f0/0 R1(config-if)#desc connect to LAN1 R1(config-if)#ip address 172.30.1.1 255.255.255.0 R1(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R1(config-if)#int f0/1 R1(config-if)#desc connect to LAN2 R1(config-if)#ip address 172.30.2.1 255.255.255.0 R1(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t

o up R1(config-if)#^Z R1# %SYS-5-CONFIG_I: Configured from console by console R1#copy run % Incomplete command. R1#copy running-config sta Destination filename [startup-config]? Building configuration... [OK] R1#show run Building configuration... Current configuration : 657 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R1 ! ! ! enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl. ! ! ! ! ! ! ! ! ! ! R1#show ip int brief Interface FastEthernet0/0 FastEthernet0/1 IP-Address 172.30.1.1 172.30.2.1 OK? Method Status YES manual up YES manual up YES manual up Protocol up up up

Serial0/0 209.165.200.1 R1#show run Building configuration...

Current configuration : 657 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R1 ! ! !

enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl. ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description connect to LAN1 ip address 172.30.1.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 description connect to LAN2 ip address 172.30.2.1 255.255.255.0 duplex auto speed auto ! interface Serial0/0 description connect R2 --More-R1>ena Password: R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router ? bgp Border Gateway Protocol (BGP) eigrp Enhanced Interior Gateway Routing Protocol (EIGRP) ospf Open Shortest Path First (OSPF) rip Routing Information Protocol (RIP) R1(config)#router % Incomplete command. R1(config)#router rip R1(config-router)#network 209.165.200.0 R1(config-router)#network 172.30.1.0 R1(config-router)#network 172.30.2.0 R1(config-router)# R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router rip R1(config-router)#version 2 R1(config-router)#no au R1(config-router)#no auto-summary --------------------R2------------------------------------User Access Verification

Password: R2>config t ^ % Invalid input detected at '^' marker. R2>conf t ^ % Invalid input detected at '^' marker. R2>ena Password: R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int s0/0 R2(config-if)#desc conect to R1 R2(config-if)#ip address 209.165.200.2 255.255.255.252 R2(config-if)#clock rate 2000000 R2(config-if)#no shut R2(config-if)#int s0/1 R2(config-if)#desc connect to R3 R2(config-if)#ip address 209.165.200.6 255.255.255.252 R2(config-if)#clock rate 2000000 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/1, changed state to down R2(config-if)#int f0/0 R2(config-if)#desc connect to LAN1 R2(config-if)#desc connect to LAN R2(config-if)#ip address 10.10.10.1 255.255.255.0 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up R2(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R2(config-if)#int f0/1 R2(config-if)#desc connect 100.20.10.2 255.255.255.252 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up R2(config-if)#copy running-config sta ^ % Invalid input detected at '^' marker. R2(config-if)#exit R2(config)#^Z R2# %SYS-5-CONFIG_I: Configured from console by console R2#copy running-config sta Destination filename [startup-config]? Building configuration... [OK] R2#ping 209.165.200.1 Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 209.165.200.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 31/40/78 ms R2#ping 209.165.200.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 209.165.200.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/25/32 ms R2# %LINK-5-CHANGED: Interface Serial0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t o up

R2 con0 is now available

Press RETURN to get started. R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router rip R2(config-router)#network 209.165.200.0 R2(config-router)#network 209.165.200.4 R2(config-router)#network 10.10.10.0 R2(config-router)# R2#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set C C R 10.0.0.0/24 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 100.0.0.0/30 is subnetted, 1 subnets 100.20.10.0 is directly connected, FastEthernet0/1 172.30.0.0/16 [120/1] via 209.165.200.1, 00:00:01, Serial0/0

[120/1] via 209.165.200.5, 00:00:01, Serial0/1 209.165.200.0/30 is subnetted, 2 subnets C 209.165.200.0 is directly connected, Serial0/0 C 209.165.200.4 is directly connected, Serial0/1 R2#ping 172.30.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.30.1.1, timeout is 2 seconds: !U!.! Success rate is 60 percent (3/5), round-trip min/avg/max = 15/36/32 ms R2#show ip protocol Routing Protocol is "rip" Sending updates every 30 seconds, next due in 8 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain Serial0/0 1 2 1 Serial0/1 1 2 1 FastEthernet0/0 1 2 1 Automatic network summarization is in effect Maximum path: 4 Routing for Networks: 10.0.0.0 209.165.200.0 Passive Interface(s): Routing Information Sources: Gateway Distance Last Update 209.165.200.1 120 00:00:24 209.165.200.5 120 00:00:23 Distance: (default is 120) R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router rip R2(config-router)#version 2 R2(config-router)#no au R2(config-router)#no auto-summary %SYS-5-CONFIG_I: Configured from console by console R2#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set C C R 10.0.0.0/24 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 100.0.0.0/30 is subnetted, 1 subnets 100.20.10.0 is directly connected, FastEthernet0/1 172.30.0.0/16 is variably subnetted, 4 subnets, 2 masks 172.30.0.0/16 is possibly down, routing via 209.165.200.1, Serial0/0

is possibly down, routing via 209.165.200.5, Serial0/1 172.30.1.0/24 [120/1] via 209.165.200.1, 00:00:11, Serial0/0 172.30.2.0/24 [120/1] via 209.165.200.1, 00:00:11, Serial0/0 172.30.10.0/24 [120/1] via 209.165.200.5, 00:00:24, Serial0/1 209.165.200.0/30 is subnetted, 2 subnets C 209.165.200.0 is directly connected, Serial0/0 C 209.165.200.4 is directly connected, Serial0/1 R2#ping 172.30.1.1 R R R Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.30.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms R2#

R2 con0 is now available

Press RETURN to get started.

User Access Verification Password: R2>ena Password: R2#show ip pr R2#show ip protocols Routing Protocol is "rip" Sending updates every 30 seconds, next due in 10 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 2, receive 2 Interface Send Recv Triggered RIP Key-chain

Serial0/0 2 2 Serial0/1 2 2 FastEthernet0/0 2 2 Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 10.0.0.0 209.165.200.0 Passive Interface(s): Routing Information Sources: Gateway Distance Last Update 209.165.200.1 120 00:00:21 209.165.200.5 120 00:00:10 Distance: (default is 120) R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip route 0.0.0.0 0.0.0.0 f0/1 R2(config)#show ip route ^ % Invalid input detected at '^' marker. R2(config)#^Z R2# %SYS-5-CONFIG_I: Configured from console by console R2#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is 0.0.0.0 to network 0.0.0.0 10.0.0.0/24 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 100.0.0.0/30 is subnetted, 1 subnets C 100.20.10.0 is directly connected, FastEthernet0/1 172.30.0.0/24 is subnetted, 3 subnets R 172.30.1.0 [120/1] via 209.165.200.1, 00:00:08, Serial0/0 R 172.30.2.0 [120/1] via 209.165.200.1, 00:00:08, Serial0/0 R 172.30.10.0 [120/1] via 209.165.200.5, 00:00:19, Serial0/1 209.165.200.0/30 is subnetted, 2 subnets C 209.165.200.0 is directly connected, Serial0/0 C 209.165.200.4 is directly connected, Serial0/1 S* 0.0.0.0/0 is directly connected, FastEthernet0/1 R2# conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router rip R2(config-router)#de R2(config-router)#default-information origi R2(config-router)#default-information originate R2(config-router)# C ----------------------------R3----------------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R3 R3(config)#enable secret cisco12345 R3(config)#line vty 0 4 R3(config-line)#password cisco12345 R3(config-line)#login R3(config-line)#exit R3(config)#int s0/0 R3(config-if)#desc connect R2 R3(config-if)#ip address 209.165.200.5 255.255.255.252 R3(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0, changed state to up R3(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up R3(config-if)#int f0/0 R3(config-if)#desc connect to LAN R3(config-if)#ip address 172.30.10.1 % Incomplete command. R3(config-if)#ip address 172.30.10.1 255.255.255.0 R3(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R3(config-if)# R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router rip R3(config-router)#network 172.30.10.0 R3(config-router)#network 209.165.200.4 R3(config-router)# R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router rip R3(config-router)#version 2 R3(config-router)#no au R3(config-router)#no auto-summary R3>ena Password: R3#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is 209.165.200.6 to network 0.0.0.0 R 10.0.0.0/24 is subnetted, 1 subnets 10.10.10.0 [120/1] via 209.165.200.6, 00:00:10, Serial0/0 172.30.0.0/24 is subnetted, 3 subnets

R R C R C R*

172.30.1.0 [120/2] via 209.165.200.6, 00:00:10, Serial0/0 172.30.2.0 [120/2] via 209.165.200.6, 00:00:10, Serial0/0 172.30.10.0 is directly connected, FastEthernet0/0 209.165.200.0/30 is subnetted, 2 subnets 209.165.200.0 [120/1] via 209.165.200.6, 00:00:10, Serial0/0 209.165.200.4 is directly connected, Serial0/0 0.0.0.0/0 [120/1] via 209.165.200.6, 00:00:10, Serial0/0

-----------------------------ISP---------------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISP ISP(config)#enable secret cisco12345 ISP(config)#line vty 0 4 ISP(config-line)#password cisco12345 ISP(config-line)#login exit ^ % Invalid input detected at '^' marker. ISP(config-line)#login ISP(config-line)#exit ISP(config)#int f0/1 ISP(config-if)#desc connect R2 ISP(config-if)#ip address 100.20.10.1 255.255.255.252 ISP(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t o up ISP(config-if)#

============EIGRP=============== -----------------------R1--------------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#int s0/0 R1(config-if)#desc connect R2 R1(config-if)#ip address 172.16.10.1 255.255.255.252 R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0, changed state to down R1(config-if)#int f0/0 R1(config-if)#desc connect to LAN R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R1(config-if)#int s0/1

R1(config-if)#desc connect R3 R1(config-if)#ip address 172.16.10.9 255.255.255.252 R1(config-if)#clock rate 2000000 R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/1, changed state to down R1(config-if)# %LINK-5-CHANGED: Interface Serial0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up %LINK-5-CHANGED: Interface Serial0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

R1 con0 is now available

Press RETURN to get started.

R1>ena R1#ping 172.16.10.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.10.10, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 15/25/32 ms R1#show ip int brief Interface FastEthernet0/0 FastEthernet0/1 Serial0/0 IP-Address 192.168.1.1 unassigned 172.16.10.1 OK? Method Status YES manual up Protocol up

YES unset administratively down down YES manual up up

Serial0/1 172.16.10.9 YES manual up R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router eigrp 100 R1(config-router)#network 192.168.1.0 R1(config-router)#network 172.168.10.0 R1(config-router)#network 172.16.10.8 R1(config-router)# ------------------------------R2-----------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#int s0/0 R2(config-if)#desc connect R1 R2(config-if)#ip address 172.16.10.2 255.255.255.252 R2(config-if)#clock rate 2000000 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0, changed state to up

up

R2(config-if)#int %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up ^ % Invalid input detected at '^' marker. R2(config-if)#int f0/1 R2(config-if)#ip address 209.165.200.2 255.255.255.252 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up R2(config-if)#int f0/0 R2(config-if)#desc connect to LAN R2(config-if)#ip address 192.168.2.1 255.255.255.0 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R2(config-if)#int f0/1 R2(config-if)#desc connect ISP R2(config-if)#ip address 209.165.200.2 255.255.255.252 R2(config-if)#no shut R2(config-if)#int s0/1 R2(config-if)#desc connect R3 R2(config-if)#ip address 172.16.10.6 255.255.255.252 R2(config-if)#clock rate 2000000 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/1, changed state to down R2(config-if)# %LINK-5-CHANGED: Interface Serial0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t o up R2(config-if)#^Z R2# %SYS-5-CONFIG_I: Configured from console by console R2#ping 172.16.10.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/25/31 ms R2#ping 172.16.10.5 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.10.5, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/24/32 ms R2#show ip int brief Interface FastEthernet0/0 FastEthernet0/1 Serial0/0 IP-Address 192.168.2.1 209.165.200.2 172.16.10.2 OK? Method Status YES manual up YES manual up YES manual up Protocol up up up

Serial0/1 172.16.10.6 YES manual up up R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router eigrp 100 R2(config-router)#network 172.16.10.0 R2(config-router)# %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.16.10.1 (Serial0/0) is up: new adj acency R2(config-router)#network 172.16.10.0 R2(config-router)#network % Incomplete command. R2(config-router)#network 192.168.2.0 R2(config-router)#network 172.16.10.4 R2(config-router)# R2#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks 172.16.0.0/16 is a summary, 00:03:00, Null0 172.16.10.0/30 is directly connected, Serial0/0 172.16.10.4/30 is directly connected, Serial0/1 172.16.10.8/30 [90/2681856] via 172.16.10.1, 00:04:03, Serial0/0 [90/2681856] via 172.16.10.5, 00:01:24, Serial0/1 D 192.168.1.0/24 [90/2172416] via 172.16.10.1, 00:04:03, Serial0/0 C 192.168.2.0/24 is directly connected, FastEthernet0/0 D 192.168.3.0/24 [90/2172416] via 172.16.10.5, 00:00:54, Serial0/1 209.165.200.0/30 is subnetted, 1 subnets C 209.165.200.0 is directly connected, FastEthernet0/1 R2#show ip eigrp topology IP-EIGRP Topology Table for AS 100 D C C D Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - Reply status P 172.16.10.0/30, 1 successors, FD is 2169856 via Connected, Serial0/0 P 172.16.10.4/30, 1 successors, FD is 2169856 via Connected, Serial0/1 P 192.168.1.0/24, 1 successors, FD is 2172416 via 172.16.10.1 (2172416/28160), Serial0/0 P 172.16.10.8/30, 2 successors, FD is 2681856 via 172.16.10.1 (2681856/2169856), Serial0/0 via 172.16.10.5 (2681856/2169856), Serial0/1 P 192.168.2.0/24, 1 successors, FD is 28160 via Connected, FastEthernet0/0 P 172.16.0.0/16, 1 successors, FD is 2169856 via Summary (2169856/0), Null0 P 192.168.3.0/24, 1 successors, FD is 2172416 via 172.16.10.5 (2172416/28160), Serial0/1 R2>ena R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip route 0.0.0.0 0.0.0.0 f0/1 R2(config)#router eigrp 100 R2(config-router)#redi R2(config-router)#redistribute st R2(config-router)#redistribute static R2(config-router)#^Z R2# %SYS-5-CONFIG_I: Configured from console by console R2#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is 0.0.0.0 to network 0.0.0.0 D C C 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks 172.16.0.0/16 is a summary, 00:19:36, Null0 172.16.10.0/30 is directly connected, Serial0/0 172.16.10.4/30 is directly connected, Serial0/1

D D C D C S* R2#

172.16.10.8/30 [90/2681856] via 172.16.10.1, 00:20:39, Serial0/0 [90/2681856] via 172.16.10.5, 00:18:00, Serial0/1 192.168.1.0/24 [90/2172416] via 172.16.10.1, 00:20:39, Serial0/0 192.168.2.0/24 is directly connected, FastEthernet0/0 192.168.3.0/24 [90/2172416] via 172.16.10.5, 00:17:30, Serial0/1 209.165.200.0/30 is subnetted, 1 subnets 209.165.200.0 is directly connected, FastEthernet0/1 0.0.0.0/0 is directly connected, FastEthernet0/1

-------------------------------R3---------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R3 R3(config)#int s0/0 R3(config-if)#desc connect R1 R3(config-if)#ip address 172.16.10.10 255.255.255.252 R3(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0, changed state to up R3(config-if)#int s0/1 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up R3(config-if)#exit R3(config)#int s0/1 R3(config-if)#desc connect R2 R3(config-if)#ip address 172.16.10.5 255.255.255.252 R3(config-if)#no shut R3(config-if)# %LINK-5-CHANGED: Interface Serial0/1, changed state to up R3(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up R3(config-if)#int f0/0 R3(config-if)#desc connect to LAN R3(config-if)#ip address 192.168.3.1 255.255.255.0 R3(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R3(config-if)#^Z R3# %SYS-5-CONFIG_I: Configured from console by console R3#show ip int brief Interface FastEthernet0/0 FastEthernet0/1 IP-Address 192.168.3.1 unassigned OK? Method Status YES manual up Protocol up

YES unset administratively down down

Serial0/0

172.16.10.10

YES manual up

up

Serial0/1 172.16.10.5 YES manual up up R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router eigrp 100 R3(config-router)#network 172.16.10.8 R3(config-router)# %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.16.10.6 (Serial0/1) is up: new adj acency %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.16.10.9 (Serial0/0) is up: new adj acency R3(config-router)#network 172.16.10.8 R3(config-router)#network 172.16.10.4 R3(config-router)#network 192.168.3.0 R3(config-router)# R3(config-router)#^Z %SYS-5-CONFIG_I: Configured from console by console R3#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set D D C C D D C R3# 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks 172.16.0.0/16 is a summary, 00:00:12, Null0 172.16.10.0/30 [90/2681856] via 172.16.10.9, 00:00:42, Serial0/0 [90/2681856] via 172.16.10.6, 00:00:42, Serial0/1 172.16.10.4/30 is directly connected, Serial0/1 172.16.10.8/30 is directly connected, Serial0/0 192.168.1.0/24 [90/2172416] via 172.16.10.9, 00:00:42, Serial0/0 192.168.2.0/24 [90/2172416] via 172.16.10.6, 00:00:42, Serial0/1 192.168.3.0/24 is directly connected, FastEthernet0/0

=========================================================== 20 MAY 2012 ========================================================= =================OSPF=============== -----------------------R1---------------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#int f0/0 R1(config-if)#desc connect to LAN R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R1(config-if)#int s0/1 R1(config-if)#desc connect to R3 R1(config-if)#ip address 172.16.10.9 255.255.255.252 R1(config-if)#clock rate 2000000 R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/1, changed state to down R1(config-if)#int s0/0 R1(config-if)#desc connect to R2 R1(config-if)#ip address 172.16.10.1 255.255.255.252 R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0, changed state to down R1(config-if)# %LINK-5-CHANGED: Interface Serial0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up %LINK-5-CHANGED: Interface Serial0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

R1 con0 is now available

Press RETURN to get started.

R1>ena R1#show ip int brief Interface

IP-Address

OK? Method Status

Protocol

FastEthernet0/0 FastEthernet0/1 Serial0/0

192.168.1.1 unassigned 172.16.10.1

YES manual up

up

YES unset administratively down down YES manual up up

Serial0/1 172.16.10.9 YES manual up up R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router ospf 1 R1(config-router)#network 192.168.1.0 0.0.0.255 area 0 R1(config-router)#network 172.16.10.1 0.0.0.0 area 0 R1(config-router)#network 172.16.10.4 0.0.0.3 area 0 R1(config-router)# 00:26:41: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/0 from LOADING to FULL, Loading Done R1(config-router)#no network 172.16.10.4 0.0.0.3 area 0 R1(config-router)#no network 172.16.10.8 0.0.0.3 area 0 R1(config-router)#^Z R1# %SYS-5-CONFIG_I: Configured from console by console R1#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set C O C C O O 172.16.0.0/30 is subnetted, 3 subnets 172.16.10.0 is directly connected, Serial0/0 172.16.10.4 [110/128] via 172.16.10.2, 00:04:46, Serial0/0 172.16.10.8 is directly connected, Serial0/1 192.168.1.0/24 is directly connected, FastEthernet0/0 192.168.2.0/24 [110/65] via 172.16.10.2, 00:03:25, Serial0/0 192.168.3.0/24 [110/129] via 172.16.10.2, 00:00:52, Serial0/0

R1>ena Password: Password: R1#ena R1#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is 209.165.200.2 to network 0.0.0.0 R 10.0.0.0/24 is subnetted, 1 subnets 10.10.10.0 [120/1] via 209.165.200.2, 00:00:09, Serial0/0 172.30.0.0/24 is subnetted, 3 subnets

C C R

172.30.1.0 is directly connected, FastEthernet0/0 172.30.2.0 is directly connected, FastEthernet0/1 172.30.10.0 [120/2] via 209.165.200.2, 00:00:09, Serial0/0 209.165.200.0/30 is subnetted, 2 subnets C 209.165.200.0 is directly connected, Serial0/0 R 209.165.200.4 [120/1] via 209.165.200.2, 00:00:09, Serial0/0 R* 0.0.0.0/0 [120/1] via 209.165.200.2, 00:00:09, Serial0/0 R1#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.168.1.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 192.168.1.0 0.0.0.255 area 0 172.16.10.1 0.0.0.0 area 0 Routing Information Sources: Gateway Distance Last Update 192.168.1.1 110 00:15:31 192.168.3.1 110 00:09:29 209.165.200.2 110 00:10:32 Distance: (default is 110) R1#sho R1#show ip ospf ne R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address 209.165.200.2 0 FULL/ 00:00:34 172.16.10.2 R1#show ip ospf in R1#show ip ospf interface s0/1 %OSPF: OSPF not enabled on Serial0/1 R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router ospf 1 R1(config-router)#network 172.16.10.8 0.0.0.3 area 0 R1(config-router)#^Z R1# %SYS-5-CONFIG_I: Configured from console by console Interface Serial0/0

R1# 00:46:53: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from LOADING t o FULL, Loading Done R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 209.165.200.2 0 FULL/ 00:00:31 172.16.10.2 Serial0/0 192.168.3.1 0 FULL/ 00:00:36 172.16.10.10 Serial0/1 R1#show ip ospf interface s0/1 Serial0/1 is up, line protocol is up Internet address is 172.16.10.9/30, Area 0 Process ID 1, Router ID 192.168.1.1, Network Type POINT-TO-POINT, Cost: 64 Transmit Delay is 1 sec, State POINT-TO-POINT, Priority 0 No designated router on this network No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:04 Index 3/3, flood queue length 0

Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1 , Adjacent neighbor count is 1 Adjacent with neighbor 192.168.3.1 Suppress hello for 0 neighbor(s) R1>ena R1# R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int lo R1(config)#int loopback 0 %LINK-5-CHANGED: Interface Loopback0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up R1(config-if)#ip add R1(config-if)#ip address 10.10.10.1 255.255.255.255 R1(config-if)#^Z R1# %SYS-5-CONFIG_I: Configured from console by console R1#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.168.1.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 192.168.1.0 0.0.0.255 area 0 172.16.10.1 0.0.0.0 area 0 172.16.10.8 0.0.0.3 area 0 Routing Information Sources: Gateway Distance Last Update 192.168.1.1 110 00:22:44 192.168.3.1 110 00:22:44 209.165.200.2 110 00:07:42 Distance: (default is 110) R1#cl R1#cle R1#clear ip ospf pr R1#clear ip ospf process Reset ALL OSPF processes? [no]: yes 02:11:25: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset 02:11:25: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/0 from FULL to DOWN, Neighbor Down: Interface down or detached 02:11:25: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from FULL to D OWN, Neighbor Down: Adjacency forced to reset R1# 02:11:25: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from FULL to D OWN, Neighbor Down: Interface down or detached

02:11:34: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/0 from LOADING to FULL, Loading Done 02:11:39: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from LOADING t o FULL, Loading Done R1#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 10.10.10.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 192.168.1.0 0.0.0.255 area 0 172.16.10.1 0.0.0.0 area 0 172.16.10.8 0.0.0.3 area 0 Routing Information Sources: Gateway Distance Last Update 10.10.10.1 110 00:00:38 192.168.1.1 110 00:24:22 192.168.3.1 110 00:00:38 209.165.200.2 110 00:00:43 Distance: (default is 110) R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router ospf 1 R1(config-router)#router-id 10.10.10.10 R1(config-router)#Reload or use "clear ip ospf process" command, for this to tak e effect R1(config-router)#^Z R1# %SYS-5-CONFIG_I: Configured from console by console R1#clear ip ospf process Reset ALL OSPF processes? [no]: yes 02:14:23: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset 02:14:23: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/0 from FULL to DOWN, Neighbor Down: Interface down or detached R1# 02:14:23: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from FULL to D OWN, Neighbor Down: Adjacency forced to reset 02:14:23: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from FULL to D OWN, Neighbor Down: Interface down or detached R1#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set

Router ID 10.10.10.10 Number of areas in this router Maximum path: 4 Routing for Networks: 192.168.1.0 0.0.0.255 area 0 172.16.10.1 0.0.0.0 area 0 172.16.10.8 0.0.0.3 area 0 Routing Information Sources: Gateway Distance 10.10.10.1 110 10.10.10.10 110 192.168.1.1 110 192.168.3.1 110 209.165.200.2 110 Distance: (default is 110)

is 1. 1 normal 0 stub 0 nssa

Last Update 00:02:46 00:00:04 00:26:30 00:02:46 00:02:51

R1# 02:14:29: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from LOADING t o FULL, Loading Done 02:14:34: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/0 from LOADING to FULL, Loading Done R1#show ip ospf ne R1#show ip ospf neighbor Neighbor ID 209.165.200.2 192.168.3.1 Pri 0 0 State FULL/ FULL/ Dead Time 00:00:35 00:00:31 Address 172.16.10.2 172.16.10.10 Interface Serial0/0 Serial0/1

R1>ena R1#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set 10.0.0.0/32 is subnetted, 1 subnets 10.10.10.1 is directly connected, Loopback0 172.16.0.0/30 is subnetted, 3 subnets C 172.16.10.0 is directly connected, Serial0/0 O 172.16.10.4 [110/128] via 172.16.10.2, 00:41:49, Serial0/0 [110/128] via 172.16.10.10, 00:41:49, Serial0/1 C 172.16.10.8 is directly connected, Serial0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0 O 192.168.2.0/24 [110/65] via 172.16.10.2, 00:41:49, Serial0/0 O 192.168.3.0/24 [110/65] via 172.16.10.10, 00:41:59, Serial0/1 R1#show ip route Codes: C - connected, S - static, I - IGRP, 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 C

Gateway of last resort is not set 10.0.0.0/32 is subnetted, 1 subnets 10.10.10.1 is directly connected, Loopback0 172.16.0.0/30 is subnetted, 3 subnets C 172.16.10.0 is directly connected, Serial0/0 O 172.16.10.4 [110/128] via 172.16.10.2, 00:45:49, Serial0/0 [110/128] via 172.16.10.10, 00:45:49, Serial0/1 C 172.16.10.8 is directly connected, Serial0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0 O 192.168.2.0/24 [110/65] via 172.16.10.2, 00:45:49, Serial0/0 O 192.168.3.0/24 [110/65] via 172.16.10.10, 00:46:00, Serial0/1 R1#show ip route Codes: C - connected, S - static, I - IGRP, 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 C Gateway of last resort is 172.16.10.2 to network 0.0.0.0 10.0.0.0/32 is subnetted, 1 subnets 10.10.10.1 is directly connected, Loopback0 172.16.0.0/30 is subnetted, 3 subnets C 172.16.10.0 is directly connected, Serial0/0 O 172.16.10.4 [110/128] via 172.16.10.2, 00:46:52, Serial0/0 [110/128] via 172.16.10.10, 00:46:52, Serial0/1 C 172.16.10.8 is directly connected, Serial0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0 O 192.168.2.0/24 [110/65] via 172.16.10.2, 00:46:52, Serial0/0 O 192.168.3.0/24 [110/65] via 172.16.10.10, 00:47:02, Serial0/1 O*E2 0.0.0.0/0 [110/1] via 172.16.10.2, 00:00:00, Serial0/0 C ------------------------------R2---------------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#int s0/0 R2(config-if)#desc connect R1 R2(config-if)#ip address 172.16.10.2 255.255.255.252 R2(config-if)#clock rate 2000000 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0, changed state to up R2(config-if)#int %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up i ^ % Invalid input detected at '^' marker. R2(config-if)#int s0/1 R2(config-if)#desc connect R3 R2(config-if)#ip address 172.16.10.6 255.255.255.252 R2(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/1, changed state to down R2(config-if)#int fa0/0 R2(config-if)#desc connect to LAN R2(config-if)#ip address 192.168.2.1 255.255.255.0 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R2(config-if)#int f0/1 R2(config-if)#desc connect ISP R2(config-if)#ip address 209.165.200.2 255.255.255.252 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t o up R2(config-if)# %LINK-5-CHANGED: Interface Serial0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up R2(config-if)#int s0/1 R2(config-if)#desc connect R3 R2(config-if)#ip address 172.16.10.6 255.255.255.252 R2(config-if)#clok rate 2000000 ^ % Invalid input detected at '^' marker. R2(config-if)#clock rate 2000000 R2(config-if)#no shut R2(config-if)# R2(config-if)#^Z %SYS-5-CONFIG_I: Configured from console by console R2# R2# R2#sho % Incomplete command. R2#sho R2#show ip int brief Interface IP-Address OK? Method Status FastEthernet0/0 FastEthernet0/1 Serial0/0 192.168.2.1 209.165.200.2 172.16.10.2 YES manual up YES manual up YES manual up YES manual up line. End with CNTL/Z. 0.0.0.3 area 0 0.0.0.3 area 0

Protocol up up up up

Serial0/1 172.16.10.6 R2#conf t Enter configuration commands, one per R2(config)#router ospf 1 R2(config-router)#network 172.16.10.0 R2(config-router)#network 172.16.10.0

00:26:41: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.1 on Serial0/0 from LOADING t o FULL, Loading Done R2(config-router)#network 172.16.10.4 0.0.0.3 area 0 R2(config-router)#network 192.168.2.0 0.0.0.255 area 0 R2(config-router)# 00:31:43: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1 from LOADING t o FULL, Loading Done R2(config-router)#^Z R2# %SYS-5-CONFIG_I: Configured from console by console R2#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set 172.16.0.0/30 is subnetted, 3 subnets 172.16.10.0 is directly connected, Serial0/0 172.16.10.4 is directly connected, Serial0/1 172.16.10.8 [110/128] via 172.16.10.5, 00:01:15, Serial0/1 192.168.1.0/24 [110/65] via 172.16.10.1, 00:06:30, Serial0/0 192.168.2.0/24 is directly connected, FastEthernet0/0 192.168.3.0/24 [110/65] via 172.16.10.5, 00:00:29, Serial0/1 209.165.200.0/30 is subnetted, 1 subnets C 209.165.200.0 is directly connected, FastEthernet0/1 R2#ping 192.168.3.10 C C O O C O Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.10, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 78/89/94 ms R2#ping 192.168.1.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 67/79/94 ms R2>ena R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip route 0.0.0.0 0.0.0.0 f0/1 R2(config)#de R2(config)#defa R2(config)#router ospf 2 R2(config-router)#de R2(config-router)#default-information or R2(config-router)#default-information originate R2(config-router)#^Z R2# %SYS-5-CONFIG_I: Configured from console by console

R2#sh ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is 0.0.0.0 to network 0.0.0.0 172.16.0.0/30 is subnetted, 3 subnets 172.16.10.0 is directly connected, Serial0/0 172.16.10.4 is directly connected, Serial0/1 172.16.10.8 [110/128] via 172.16.10.1, 00:45:47, Serial0/0 [110/128] via 172.16.10.5, 00:45:47, Serial0/1 O 192.168.1.0/24 [110/65] via 172.16.10.1, 00:45:47, Serial0/0 C 192.168.2.0/24 is directly connected, FastEthernet0/0 O 192.168.3.0/24 [110/65] via 172.16.10.5, 02:27:34, Serial0/1 209.165.200.0/30 is subnetted, 1 subnets C 209.165.200.0 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 is directly connected, FastEthernet0/1 R2#sh run Building configuration... C C O Current configuration : 972 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R2 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description connect to LAN ip address 192.168.2.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 description connect ISP ip address 209.165.200.2 255.255.255.252

duplex auto speed auto ! interface Serial0/0 description connect R1 ip address 172.16.10.2 255.255.255.252 clock rate 2000000 ! interface Serial0/1 description connect R3 ip address 172.16.10.6 255.255.255.252 clock rate 2000000 ! router ospf 1 log-adjacency-changes network 172.16.10.0 0.0.0.3 area 0 network 172.16.10.4 0.0.0.3 area 0 network 192.168.2.0 0.0.0.255 area 0 ! router ospf 2 log-adjacency-changes default-information originate ! ip classless ip route 0.0.0.0 0.0.0.0 FastEthernet0/1 ! ! ! no cdp run R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router ospf 1 R2(config-router)#de R2(config-router)#default-information ori R2(config-router)#^Z R2# %SYS-5-CONFIG_I: Configured from console by console ---------------------------R3---------------------------------Router>ena Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R3 R3(config)#int s0/0 R3(config-if)#desc connect R1 R3(config-if)#ip address 172.16.10.10 255.255.255.252 R3(config-if)#no shut R3(config-if)# %LINK-5-CHANGED: Interface Serial0/0, changed state to up R3(config-if)#no shut %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up R3(config-if)#int s0/1 R3(config-if)#desc connect R2 R3(config-if)#ip address 172.16.10.5 255.255.255.252 R3(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/1, changed state to up

R3(config-if)#int s0/ %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to u ^ % Invalid input detected at '^' marker. R3(config-if)#int f0/0 R3(config-if)#desc connect to LAN R3(config-if)#ip address 192.168.3.1 255.255.255.0 R3(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up R3(config-if)#^Z R3# %SYS-5-CONFIG_I: Configured from console by console R3#show ip int brief Interface FastEthernet0/0 FastEthernet0/1 Serial0/0 Serial0/1 R3# IP-Address 192.168.3.1 unassigned 172.16.10.10 172.16.10.5 OK? Method Status YES manual up Protocol up

YES unset administratively down down YES manual up YES manual up up up

R3>ena R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router ospf 1 R3(config-router)#network 172.16.10.4 0.0.0.3 area 0 R3(config-router)# 00:31:43: %OSPF-5-ADJCHG: Process 1, Nbr 209.165.200.2 on Serial0/1 from LOADING to FULL, Loading Done R3(config-router)#network 172.16.10.8 0.0.0.3 area 0 R3(config-router)#network 192.168.3.0 0.0.0.255 area 0 R3(config-router)#^Z R3# %SYS-5-CONFIG_I: Configured from console by console R3#show ip route Codes: C - connected, S - static, I - IGRP, 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 Gateway of last resort is not set 172.16.0.0/30 is subnetted, 3 subnets

O 172.16.10.0 [110/128] via 172.16.10.6, 00:01:10, Serial0/1 C 172.16.10.4 is directly connected, Serial0/1 C 172.16.10.8 is directly connected, Serial0/0 O 192.168.1.0/24 [110/129] via 172.16.10.6, 00:01:10, Serial0/1 O 192.168.2.0/24 [110/65] via 172.16.10.6, 00:01:10, Serial0/1 C 192.168.3.0/24 is directly connected, FastEthernet0/0 R3#

============================================== untuk dari rip ke eigrp -router rip -redistribute eigrp 100 metric 1 -exit -router eigrp 100 -redistribute rip ? -redistribute rip untuk dari eigrp ke ospf -router eigrp -redistribute ospf 1 kebalikannya -router ospf 1 -redistribute eigrp 100 subnets