Вы находитесь на странице: 1из 3

Router 1

Interface

IP Address

Prefix

Subnet Mask

Network

FastEthernet 0/0

192.168.20.1

/24

255.255.255.0

192.168.20.0

FastEthernet 0/1

192.168.30.1

/24

255.255.255.0

192.168.30.0

IP Address

Prefix

Subnet Mask

Network

FastEthernet 0/0

192.168.10.1

/24

255.255.255.0

192.168.10.0

FastEthernet 0/1

192.168.30.2

/24

255.255.255.0

192.168.30.0

LAN Area Kuning


Devi Interface
ce

IP Address

Router 2
Interface

Gateway

Prefix Subnet Mask

192.168.20.1

/24

255.255.255.0 192.168.10.0

PC1 FastEthernet 0/0 192.168.20.254 192.168.20.1

/24

255.255.255.0 192.168.30.0

LAN Area Merah


Devi Interface
ce

Gateway

Prefix Subnet Mask

192.168.10.1

/24

255.255.255.0 192.168.10.0

PC3 FastEthernet 0/0 192.168.10.254 192.168.10.1

/24

255.255.255.0 192.168.30.0

PC0 FastEthernet 0/0 192.168.20.2

IP Address

PC2 FastEthernet 0/0 192.168.10.2

Network

Network

=======================================================================
Untuk konfigurasi hostname,banner,password serta password console dan telnet lihat di modul.
=======================================================================
Konfigurasi ip di interface router 1
------------------------------------------------------------------------------------------------------------------------

ROUTER_1(config)#interface fastEthernet 0/0


ROUTER_1(config-if)#ip address 192.168.20.1 255.255.255.0
ROUTER_1(config-if)#no shutdown
ROUTER_1(config-if)#exit
ROUTER_1(config)#interface fastEthernet 0/1
ROUTER_1(config-if)#ip address 192.168.30.1 255.255.255.0
ROUTER_1(config-if)#no shutdown
ROUTER_1(config-if)#exit
=======================================================================
Menampilkan ip interface pada router 1
-----------------------------------------------------------------------------------------------------------------------ROUTER_1#sh ip interface brief
Interface
IP-Address
OK? Method Status
Protocol
FastEthernet0/0

192.168.20.1 YES manual up

up

FastEthernet0/1

192.168.30.1 YES manual up

up

Vlan1
ROUTER_1#

unassigned

YES unset administratively down down

=======================================================================
Konfigurasi ip di interface router 2
-----------------------------------------------------------------------------------------------------------------------ROUTER_2(config)#interface fastEthernet 0/0
ROUTER_2(config-if)#ip address 192.168.10.1 255.255.255.0
ROUTER_2(config-if)#no shutdown
ROUTER_2(config-if)#exit
ROUTER_2(config)#interface fastEthernet 0/1
ROUTER_2(config-if)#ip address 192.168.30.2 255.255.255.0
ROUTER_2(config-if)#no shutdown
ROUTER_2(config-if)#exit
=======================================================================
Menampilkan ip interface pada router 2
-----------------------------------------------------------------------------------------------------------------------ROUTER_2#sh ip interface brief
Interface
IP-Address
OK? Method Status
Protocol
FastEthernet0/0

192.168.10.1 YES manual up

up

FastEthernet0/1

192.168.30.2 YES manual up

up

Vlan1
unassigned YES unset administratively down down
ROUTER_2#
=======================================================================
konfigurasi static routing di router 1
-----------------------------------------------------------------------------------------------------------------------ROUTER_1#conf t
ROUTER_1(config)#ip route 192.168.10.0 255.255.255.0 192.168.30.2
ROUTER_1(config)#

ROUTER_1(config)#^Z
ROUTER_1#
%SYS-5-CONFIG_I: Configured from console by console
ROUTER_1#
ROUTER_1#copy run start
=======================================================================
konfigurasi static routing di router 2
-----------------------------------------------------------------------------------------------------------------------ROUTER_2#conf t
ROUTER_2(config)#ip route
ROUTER_2(config)#ip route 192.168.20.0 255.255.255.0 192.168.30.1
ROUTER_2(config)#^Z
ROUTER_2#
%SYS-5-CONFIG_I: Configured from console by console
ROUTER_2#
ROUTER_2#copy run start
=======================================================================
Menampilkan routing table di router 2
-----------------------------------------------------------------------------------------------------------------------ROUTER_2#
ROUTER_2#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 not set
C 192.168.10.0/24 is directly connected, FastEthernet0/0
S 192.168.20.0/24 [1/0] via 192.168.30.1
C 192.168.30.0/24 is directly connected, FastEthernet0/1
ROUTER_2#
=======================================================================
Menampilkan routing table di router 1
-----------------------------------------------------------------------------------------------------------------------ROUTER_1#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 not set
S 192.168.10.0/24 [1/0] via 192.168.30.2
C 192.168.20.0/24 is directly connected, FastEthernet0/0
C 192.168.30.0/24 is directly connected, FastEthernet0/1
ROUTER_1#

Вам также может понравиться