static routting

image

en
conf t
hostname branch

int fa1/1
ip address 193.1.1.1 255.255.255.0
no shut

int fa0/1
ip address 192.168.1.1 255.255.255.0
no shut

int fa0/0
ip address 192.168.2.1 255.255.255.0
no shut

ip route 192.168.3.0 255.255.255.0 193.1.1.2
ip route 192.168.5.0 255.255.255.0 193.1.1.2


en
conf t
hostname hq

int fa1/0
ip address 193.1.1.2 255.255.255.0
no shut

int fa0/1
ip address 192.168.5.1 255.255.255.0
no shut

int fa0/0
ip address 192.168.3.1 255.255.255.0
no shut

ip route 192.168.1.0 255.255.255.0 193.1.1.1
ip route 192.168.2.0 255.255.255.0 193.1.1.1

Home Official Website Video Portal