Sunteți pe pagina 1din 28

KONFIGURASI ROUTER 2 Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#line con 0 Router(config-line)#password cisco Router(config-line)#login Router(config-line)#exit Router(config)#line vty 0 4 Router(config-line)#password cisco Router(config-line)#login Router(config-line)#exit Router(config)#enable password cisco Router(config)#int Fa0/0 Router(config-if)#no shutdown

Router(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ip address 172.20.20.1 255.255.255.0 Router(config-if)#exit Router(config)#int S0/2 %Invalid interface type and number

Router(config)#int S2/0 Router(config-if)#ip address 10.1.1.2 255.255.255.252 Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial2/0, changed state to down Router(config-if)#no shutdown Router(config-if)#exit Router(config)#int S2/0 Router(config-if)#no shutdown Router(config-if)#ip address 10.1.1.2 255.255.255.252 Router(config-if)#clock rate 64000 Router(config-if)#exit Router(config)#router rip Router(config-router)#network 172. ^ % Invalid input detected at '^' marker.

Router(config-router)#exit Router(config)#router rip Router(config-router)#network 172.20.20.0 255.255.255.0 ^ % Invalid input detected at '^' marker.

Router(config-router)#network 172.20.20.0 Router(config-router)#network 172.20.10.0

Router(config-router)#network 172.20.30.0 Router(config-router)#network 172.20.40.0 Router(config-router)#network 10.1.1.0 Router(config-router)#network 10.1.1.12 Router(config-router)#network 10.1.1.8 Router(config-router)#exit Router(config)#router rip Router(config-router)#no auto summary Router(config-router)#version 2 Router(config-router)#network 172.20.10.0 Router(config-router)#network 172.20.20.0 Router(config-router)#network 172.20.30.0 Router(config-router)#network 172.20.40.0 Router(config-router)#network 10.1.1.0 Router(config-router)#network 10.1.1.8 Router(config-router)#network 10.1.1.12 Router(config-router)#exit Router(config)# %LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

Router con0 is now available

Press RETURN to get started.

KONFIGURASI ROUTER 1 R1(config-if)#no shutdown R1(config-if)#clock rate 64000 R1(config-if)#ip address 10.1.1.14 255.255.255.253 Bad mask 0xFFFFFFFD for address 10.1.1.14 R1(config-if)#ip address 10.1.1.14 255.255.255.252 R1(config-if)#ip address 10.1.1.14 255.255.255.252 R1(config-if)#exit R1(config)#exit R1# %SYS-5-CONFIG_I: Configured from console by console

R1#show run Building configuration...

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

! enable password cisco ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 172.20.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 no ip address

duplex auto speed auto shutdown ! interface Serial2/0 ip address 10.1.1.1 255.255.255.252 ! interface Serial3/0 ip address 10.1.1.14 255.255.255.252 clock rate 64000 ! interface FastEthernet4/0 no ip address shutdown ! interface FastEthernet5/0 no ip address shutdown ! router rip version 2 network 10.0.0.0 network 172.20.0.0 no auto-summary !

ip classless ! ! ! ! ! ! ! line con 0 password cisco login ! line aux 0 ! line vty 0 4 password cisco login ! ! ! end

R1# config t Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#router rip R1(config-router)#network 172.20.10.0 R1(config-router)#network 172.20.20.0 R1(config-router)#network 172.20.30.0 R1(config-router)#network 172.20.40.0 R1(config-router)#network 10.1.1.0 R1(config-router)#network 10.1.1.8 R1(config-router)#network 10.1.1.12 R1(config-router)#version 2 R1(config-router)#exit R1(config)# R1# %SYS-5-CONFIG_I: Configured from console by console

R1#show run Building configuration...

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

! ! ! enable password cisco ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 172.20.10.1 255.255.255.0 duplex auto speed auto !

interface FastEthernet1/0 no ip address duplex auto speed auto shutdown ! interface Serial2/0 ip address 10.1.1.1 255.255.255.252 ! interface Serial3/0 ip address 10.1.1.14 255.255.255.252 clock rate 64000 ! interface FastEthernet4/0 no ip address shutdown ! interface FastEthernet5/0 no ip address shutdown ! router rip version 2 network 10.0.0.0 network 172.20.0.0

no auto-summary ! ip classless ! ! ! ! ! ! ! line con 0 password cisco login ! line aux 0 ! line vty 0 4 password cisco login ! ! ! end

R1#

R1 con0 is now available

Press RETURN to get started.

KONFIGURASI ISP Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISP ISP(config)#line con 0 ISP(config-line)#password cisco ISP(config-line)#exit ISP(config)#line vty 0 4 ISP(config-line)#password cisco ISP(config-line)#login ISP(config-line)#exit ISP(config)#enable password cisco ISP(config)#int Fa0/0 ISP(config-if)#no shutdown

ISP(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

ISP(config-if)#ip address 172.20.30.11 255.255.255.0 ISP(config-if)#exit ISP(config)#int S2/0 ISP(config-if)#no shutdown

ISP(config-if)# %LINK-5-CHANGED: Interface Serial2/0, changed state to up

ISP(config-if)#ip address 10 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up .1 ISP# %SYS-5-CONFIG_I: Configured from console by console

ISP#config t Enter configuration commands, one per line. End with CNTL/Z. ISP(config)#int S2/0 ISP(config-if)#no shutdown ISP(config-if)#ip address 10.1.1.10 255.255.255.252 ISP(config-if)#exit ISP(config)# ISP# %SYS-5-CONFIG_I: Configured from console by console

ISP#show run Building configuration...

Current configuration : 702 bytes !

version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname ISP ! ! ! enable password cisco ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

! interface FastEthernet0/0 ip address 172.20.30.11 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 no ip address duplex auto speed auto shutdown ! interface Serial2/0 ip address 10.1.1.10 255.255.255.252 ! interface Serial3/0 no ip address shutdown ! interface FastEthernet4/0 no ip address shutdown ! interface FastEthernet5/0 no ip address

shutdown ! ip classless ! ! ! ! ! ! ! line con 0 password cisco ! line aux 0 ! line vty 0 4 password cisco login ! ! ! end

ISP#config t

Enter configuration commands, one per line. End with CNTL/Z. ISP(config)#ip route

KONFIGURASI Router 4 ! ! enable password cisco ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 172.20.40.1 255.255.255.0 duplex auto speed auto !

interface FastEthernet1/0 no ip address duplex auto speed auto shutdown ! interface Serial2/0 ip address 10.1.1.13 255.255.255.252 ! interface Serial3/0 ip address 10.1.1.9 255.255.255.252 clock rate 64000 ! interface FastEthernet4/0 no ip address shutdown ! interface FastEthernet5/0 no ip address shutdown ! ip classless ! ! !

! ! ! ! line con 0 password cisco login ! line aux 0 ! line vty 0 4 password cisco login ! ! ! end

R4# R4#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R4(config)#interface Serial2/0 R4(config-if)# R4(config-if)#exit

R4(config)#

R4 con0 is now available

Press RETURN to get started.

User Access Verification

Password:

R4>en Password: R4# R4#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R4(config)#ip route 172.20.30.10 255.255.255.0 10.1.1.10 %Inconsistent address and mask R4(config)#ip route 172.20.30.10 255.255.255.0 10.1.1.10 %Inconsistent address and mask R4(config)# %LINK-5-CHANGED: Interface Serial3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

R4# %SYS-5-CONFIG_I: Configured from console by console

R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)# R4(config)#ip route 10.1.1.8 255.255.255.252 10.1.1.10 R4(config)#ip route 172.20.30.0 255.255.255.0 10.1.1.10 R4(config)#router rip R4(config-router)#version 2 R4(config-router)#no auto summary R4(config-router)#network 10.1.1.12 R4(config-router)#network 172.20.40.0 R4(config-router)#exit R4(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.10 R4(config)#exit R4# %SYS-5-CONFIG_I: Configured from console by console

R4#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 10.1.1.10 to network 0.0.0.0

10.0.0.0/30 is subnetted, 3 subnets R C C 10.1.1.0 [120/1] via 10.1.1.14, 00:00:16, Serial2/0 10.1.1.8 is directly connected, Serial3/0 10.1.1.12 is directly connected, Serial2/0 172.20.0.0/24 is subnetted, 4 subnets R R S C 172.20.10.0 [120/1] via 10.1.1.14, 00:00:16, Serial2/0 172.20.20.0 [120/2] via 10.1.1.14, 00:00:16, Serial2/0 172.20.30.0 [1/0] via 10.1.1.10 172.20.40.0 is directly connected, FastEthernet0/0

S* 0.0.0.0/0 [1/0] via 10.1.1.10 R4# R4#exit

R4 con0 is now available

Press RETURN to get started.

User Access Verification

Password:

R4>en

Password: R4#

S-ar putea să vă placă și