因為你這圖中間路由器的埠沒有標示出來,我只能認為是10.1.1.0/24網段,
左邊的路由器
interface FastEthernet0/0 //中間路由器的埠地址
ip address 10.1.1.1 255.255.255.0
no sh
interface FastEthernet0/1 //連線客戶端的埠地址
ip address 192.168.1.1 255.255.255.0
ip route 0.0.0.0 0.0.0.0 10.1.1.2 //預設路由
右邊路由器配置
ip address 10.1.1.2 255.255.255.0
ip address 168.30.23.1 255.255.255.0
ip route 0.0.0.0 0.0.0.0 10.1.1.1 //預設路由
左邊客戶端
IP地址192.168.1.5 子網掩碼 255.255.255.0 閘道器192.168.1.1
右邊客戶端
IP地址 168.30.23.5 子網掩碼 255.255.255.0 閘道器168.30.23.1
互PING,全網互通
因為你這圖中間路由器的埠沒有標示出來,我只能認為是10.1.1.0/24網段,
左邊的路由器
interface FastEthernet0/0 //中間路由器的埠地址
ip address 10.1.1.1 255.255.255.0
no sh
interface FastEthernet0/1 //連線客戶端的埠地址
ip address 192.168.1.1 255.255.255.0
no sh
ip route 0.0.0.0 0.0.0.0 10.1.1.2 //預設路由
右邊路由器配置
interface FastEthernet0/0 //中間路由器的埠地址
ip address 10.1.1.2 255.255.255.0
no sh
interface FastEthernet0/1 //連線客戶端的埠地址
ip address 168.30.23.1 255.255.255.0
no sh
ip route 0.0.0.0 0.0.0.0 10.1.1.1 //預設路由
左邊客戶端
IP地址192.168.1.5 子網掩碼 255.255.255.0 閘道器192.168.1.1
右邊客戶端
IP地址 168.30.23.5 子網掩碼 255.255.255.0 閘道器168.30.23.1
互PING,全網互通