Kamis, 19 Januari 2023
Home »
» STATIC ROUTING
STATIC ROUTING
ROUTER 4331 = 3
ROUTER ke 1
en
conf t
int g0/0/0
ip add 192.168.10.1 255.255.255.0
no shutdown
do wr
ex
int g0/0/1
ip add 10.10.10.1 255.255.255.252
no shutdown
do wr
ex
int g0/0/0
ip dhcp pool kiri
net 192.168.10.0 255.255.255.0
default-router 192.168.10.1
ex
ip dhcp excluded-address 192.168.10.1
ip route 192.168.20.0 255.255.255.0 10.10.10.2
ip route 192.168.30.0 255.255.255.0 10.10.10.2
ip route 11.11.11.0 255.255.255.252 10.10.10.2
do wr
ROUTER ke 2
en
conf t
int g0/0/1
no shutdown
ip add 10.10.10.2 255.255.255.252
do wr
ex
int g0/0/0
ip add 192.168.20.1 255.255.255.0
no shutdown
do wr
ex
int s0/1/0
ip add 11.11.11.1 255.255.255.252
no shutdown
do wr
ip route 192.168.10.0 255.255.255.0 10.10.10.1
ip route 192.168.30.0 255.255.255.0 11.11.11.2
ip route 11.11.11.0 255.255.255.252 11.11.11.2
do wr
ROUTER ke 3
en
conf t
int s0/1/0
ip add 11.11.11.2 255.255.255.252
no shutdown
do wr
ex
int g0/0/0
ip add 192.168.30.1 255.255.255.0
no shutdown
do wr
ip route 192.168.10.0 255.255.255.0 11.11.11.1
ip route 192.168.20.0 255.255.255.0 11.11.11.1
ip route 10.10.10.0 255.255.255.252 11.11.11.1
do wr
SW 2960 = 3
PC = 3
PC ke 1
ip dhcp
PC ke 2
ip 192.168.20.2/24 gw 192.168.20.1
PC ke 3
ip 192.168.30.2/24 gw 192.168.30.1
0 komentar:
Posting Komentar