ที่ผมกำหนดไว้นะครับ
router A ด้านซ้าย
#en
#conf t
#int s0/1/0
#no sh
#ex
#
#
#conf t
#int s0/1/0
#ip add 192.168.10.1 255.255.255.0
#no sh
#ex
#
#conf t
#int e1/0
#no sh
#ex
#
#int e1/0
#ip add 192.168.20.1 255.255.255.0
#no sh
#ex
#
#conf t
#int s0/1/0
#clock rate 64000
#ex
#
************************************
router B ด้านขวา
#en
#conf t
#int s0/1/0
#no sh
#ex
#
#
#conf t
#int s0/1/0
#ip add 192.168.10.2 255.255.255.0
#no sh
#ex
#
#conf t
#int e1/0
#no sh
#ex
#
#int e1/0
#ip add 192.168.30.1 255.255.255.0
#no sh
#ex
#
********************************************
router A ด้านซ้าย เซต static route
#
#ip route 192.168.20.0 255.255.255.0 192.168.10.2
#ex
router B ด้านขวา เซต static route
#
#ip route 192.168.30.0 255.255.255.0 192.168.10.1
#ex
และก็ ใส่ IP ใน PC1
192.168.20.2/24
192.168.20.1 gateway
ใส่ IP ใน PC2
192.168.30.2/24
192.168.30.1 gateway
ถ้าใช้แบบ static ทำแบบใหนครับ และ ถ้าเป็นไปได้ขอ Dynamic rip ด้วยครับ
Comment