
conf t
int f0/0
ip add 172.16.100.254 255.255.255.0
no sh
int s1/0
ip add 10.1.12.1 255.255.255.0
no sh
ip route 192.168.1.0 255.255.255.0 s1/0 10.1.12.2
conf t
int s1/0
ip add 10.1.12.2 255.255.255.0
no sh
int f0/0
ip add 192.168.1.254 255.255.255.0
no sh
ip route 172.16.100.0 255.255.255.0 s1/0 10.1.12.1
conf t
int f0/0
ip add 192.168.1.100 255.255.255.0
no sh
no ip routing
ip default-gateway 192.168.1.254
→ cmd 관리자 모드 실행
route add 192.168.1.0 mask 255.255.255.0 172.16.100.254
→ routing table 추가
→ 인터페이스, 메트릭(26)이 맞아야 한다.
route delete 192.168.1.0 mask 255.255.255.0 172.16.100.254
route add 192.168.1.0 mask 255.255.255.0 172.16.100.254
conf t
int f0/0
ip add 192.168.1.100 255.255.255.0
no sh
no ip routing
ip default-gateway 192.168.1.254



