네트워크 수업
[총정리] static 라우팅 23.03.20
6^6
2023. 3. 20. 13:41
728x90
R1]
int f0/0
no shut
ip add 1.1.10.254 255.255.255.0
int f0/1
no shut
ip add 1.1.12.5 255.255.255.252
R2]
int f0/0
no shut
ip add 1.1.30.254 255.255.255.0
int f0/1
no shut
ip add 1.1.12.6 255.255.255.252
ip add 1.1.12.6 255.255.255.252
PC1]
int f0/0
no shut
ip add 1.1.10.1 255.255.255.0
exit
no ip routing
ip default-gateway 1.1.10.254
PC2]
int f0/0
no shut
ip add 1.1.30.1 255.255.255.0
no ip routing
ip default-gateway 1.1.30.254
==
R1]
ip route 1.1.30.0 255.255.225.0 f0/1 1.1.12.6
R2]
ip route 1.1.10.0 255.255.255.0 f0/1 1.1.12.5
728x90