实验原理图
实验要求:
p0能登陆r2,不能pingr2、p0不能登陆r1但能ping通r1;p1相反,既
p0 Telnet 192.168.2.2
p0 ICMP 192.168.1.1 192.168.2.1
p1 ICMP 192.168.2.2
p1 Telnet 192.168.1.1 192.168.2.1
实验配置:
Router0路由器:
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip access-group ww in
interface FastEthernet0/1
ip address 192.168.2.1 255.255.255.0
ip flow-export version 9
ip access-list standard qq
access-list 100 permit ip host 192.168.1.2 host 192.168.1.1
access-list 100 permit ip host 192.168.1.2 host 192.168.2.1
ip access-list extended ww
permit tcp host 192.168.1.2 host 192.168.2.2 eq telnet
permit icmp host 192.168.1.2 host 192.168.1.1
permit icmp host 192.168.1.2 host 192.168.2.1
permit tcp host 192.168.1