Parameter
Site A :
Host Name : Site _A
Interface : Fastethernet 0/0
Ip Add interface f0/1 : 192.168.1.1 255.255.255.192 (IP Address
WAN)
Ip Add interface
f1/0 : 192.168.2.1 255.255.255.0
(IP Address LAN)
Parameter Site B :
Host Name : Site _B
Interface : Fastethernet 0/0
Ip Add interface : 192.168.1.2 255.255.255.192 (IP
Address WAN)
Ip Add interface
f1/0 : 192.168.3.1 255.255.255.0
(IP Address LAN)
Koneksi Antar Site_A ke Site_B menggunakan
kabel UTP Cross-over
Koneksi Site_A ke Switch A menggunakan kabel UTP Straigth
Koneksi Site_B ke Switch B menggunakan kabel UTP Straigth
Cara
Configurasi IP add LAN di Site_A
Site_A#conf
t
Enter
configuration commands, one per line.
End with CNTL/Z.
Site_A(config)#int
Site_A(config)#interface
fa
Site_A(config)#interface
fastEthernet 0/1
%Invalid
interface type and number
Site_A(config)#interface
fastEthernet 1/0
Site_A(config-if)#ip
add 192.168.2.1 255.255.255.0
Site_A(config-if)#no
shut
%LINK-5-CHANGED:
Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet1/0, changed state to up
Cara
Configurasi IP add LAN di Site_B
Site_B#conf
t
Enter
configuration commands, one per line.
End with CNTL/Z.
Site_B(config)#int
fa
Site_B(config)#int
fastEthernet 1/0
Site_B(config-if)#ip
add 192.168.3.1 255.255.255.0
Site_B(config-if)#no
shut
%LINK-5-CHANGED:
Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet1/0, changed state to up
Cara
Configurasi Static Route di Site_A
Site_A#conf
t
Enter
configuration commands, one per line.
End with CNTL/Z.
Site_A(config)#ip
route 192.168.3.0 255.255.255.0 192.168.1.2
Site_A(config)#exit
%SYS-5-CONFIG_I:
Configured from console by console
Site_A#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
192.168.1.0/26 is subnetted, 1 subnets
C 192.168.1.0 is directly connected,
FastEthernet0/0
C 192.168.2.0/24 is directly connected,
FastEthernet1/0
S 192.168.3.0/24 [1/0] via 192.168.1.2
Site_A#ping
192.168.3.4
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 192.168.3.4, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 5/7/12 ms
Cara
Configurasi Static Route di Site_B
Site_B(config)#ip route
192.168.2.0 255.255.255.0 192.168.1.1
Site_B(config)#do 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
192.168.1.0/26 is subnetted, 1 subnets
C 192.168.1.0 is directly connected,
FastEthernet0/0
S 192.168.2.0/24 [1/0] via 192.168.1.1
C 192.168.3.0/24 is directly connected, FastEthernet1/0
Site_B(config)#exit
%SYS-5-CONFIG_I: Configured from
console by console
Site_B#ping 192.168.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos
to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent
(5/5), round-trip min/avg/max = 5/10/17 ms
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max
= 2/3/5 ms
Tidak ada komentar:
Posting Komentar