主機0
配IP:192.168.1.100255.255.255.0
閘道器:192.168.1.1
路由器2的配置
ena
conft
intf0/0
ipadd192.168.1.1255.255.255.0
noshu
exit
ints0/0/0
clockrate64000
ipadd192.168.2.1255.255.255.0
iproute192.168.6.0255.255.255.0192.168.2.2
iproute192.168.5.0255.255.255.0192.168.2.2
wr
路由器0的配置
ints0/2/0
ipadd192.168.2.2255.255.255.0
ints0/1/0
ipadd192.168.3.1255.255.255.0
ipadd192.168.4.1255.255.255.0
路由器1的配置
ipadd192.168.4.2255.255.255.0
ipadd192.168.5.1255.255.255.0
iproute192.168.6.0255.255.255.0192.168.4.1
iproute192.168.1.0255.255.255.0192.168.4.1
主機2
配ip:192.168.5.2255.255.255.0
閘道器:192.168.5.1
路由器3的配置
ipadd192.168.3.2255.255.255.0
ipadd192.168.6.1255.255.255.0
iproute192.168.5.0255.255.255.0192.168.3.1
iproute192.168.1.0255.255.255.0192.168.3.1
主機1的配置
配ip:192.168.6.2255.255.255.0
閘道器:192.168.1.1
主機0
配IP:192.168.1.100255.255.255.0
閘道器:192.168.1.1
路由器2的配置
ena
conft
intf0/0
ipadd192.168.1.1255.255.255.0
noshu
exit
ints0/0/0
clockrate64000
ipadd192.168.2.1255.255.255.0
noshu
exit
conft
iproute192.168.6.0255.255.255.0192.168.2.2
iproute192.168.5.0255.255.255.0192.168.2.2
exit
wr
路由器0的配置
ena
conft
ints0/2/0
clockrate64000
ipadd192.168.2.2255.255.255.0
noshu
exit
ints0/1/0
clockrate64000
ipadd192.168.3.1255.255.255.0
noshu
exit
ints0/0/0
clockrate64000
ipadd192.168.4.1255.255.255.0
noshu
exit
wr
路由器1的配置
ena
conft
ints0/0/0
clockrate64000
ipadd192.168.4.2255.255.255.0
noshu
exit
intf0/0
ipadd192.168.5.1255.255.255.0
noshu
exit
conft
iproute192.168.6.0255.255.255.0192.168.4.1
iproute192.168.1.0255.255.255.0192.168.4.1
wr
主機2
配ip:192.168.5.2255.255.255.0
閘道器:192.168.5.1
路由器3的配置
ena
conft
ints0/0/0
clockrate64000
ipadd192.168.3.2255.255.255.0
noshu
exit
intf0/0
ipadd192.168.6.1255.255.255.0
noshu
exit
conft
iproute192.168.5.0255.255.255.0192.168.3.1
iproute192.168.1.0255.255.255.0192.168.3.1
wr
主機1的配置
配ip:192.168.6.2255.255.255.0
閘道器:192.168.1.1