R0 路由器两端是两个网段 192.1.1.0和192.1.2.0
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add 192.1.1.254 255.255.255.0
Router(config-if)#no shutdown
?
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
?
Router(config-if)#exit
Router(config)#interface fastEthernet 0/1
Router(config-if)#ip add 192.1.2.254 255.255.255.0
Router(config-if)#no shutdown
?
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
?
Router(config-if)#
R1 路由器两端是两个网段 192.1.2.0和192.1.3.0
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add 192.1.2.253 255.255.255.0
Router(config-if)#no shutdown
?
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
?
Router(config-if)#exit
Router(config)#interface fastEthernet 0/1
Router(config-if)#ip add 192.1.3.254 255.255.255.0
Router(config-if)#no shutdown
?
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
?
Router(config-if)#
给DHCP-Server配置ip地址和默认网关(上面一排第二个)
创建ip地址池
给DNS-Server配置dns服务器ip地址(下面一排第二个)
配置域名和ip地址绑定起来
配置web服务器的ip地址(Switch2旁边那个)
配置RIP
配置中继服务
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip helper 192.1.2.1
配置RIP
(Switch 2 旁边那个)
给fake web server (伪造服务器)配置ip地址、子网掩码和默认网关地址(上面一排第三个)
修改伪造web服务器的主页
修改伪造dhcp服务器ip配置(上面一排第一个)
修改伪造dhcp服务器ip池
配置伪造dns服务器ip地址(下面一排第一个)
配置伪造dns服务器dns服务绑定伪造ip