引起远程连接拒绝服务的原因有两种。第一种原因,客户端安装的远程连接软件,版本与服务器端控制台接受的版本不兼容。第二种原因,服务器端的网络控制台里并没有启用远程连接协议,故无法接受远程连接请求。嘿嘿 给以后的人做个参考
配置router0的f0/0端口ip
Router#configure terminal
Enter configuration commands, one per line End with CNTL/Z
Router(config)#interface f0/0
Router(config-if)#ip address 20010001 2552552550
Router(config-if)#no shutdown
%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
配置router0的f0/1端口ip
Router(config)#interface f0/1
Router(config-if)#ip address 20010011 2552552550
Router(config-if)#no shutdown
Router(config-if)#exit
配置router0s0/0/0端口ip
Router(config)#interface s0/0/0
Router(config-if)#ip address 20010021 2552552550
Router(config-if)#clock rate 500000
Router(config-if)#encapsulation hdlc
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Router(config-if)#exit
配置router1 s0/0/0端口ip
Router#configure terminal
Router(config)#interface s0/0/0
Router(config-if)#ip address 20010022 2552552550
Router(config-if)#clock rate 500000
Router(config-if)#encapsulation hdlc
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
声明路由器router1的网络
Router(config)#router rip
Router(config-router)#network 20010020
声明路由器router0的网络
Router(config)#router rip
Router(config-router)#network 20010000
Router(config-router)#network 20010010
Router(config-router)#network 20010020
在router0上添加acl表
Router>en
Router#configure terminal
Enter configuration commands, one per line End with CNTL/Z
Router(config)#access-list 101 permit tcp any 200100080 0000 eq 80
Router(config)#access-list 101 permit tcp 20010012 0000 200100080 0000 eq 3389
Router(config)#access-list 101 permit tcp 20010012 0000 200100080 0000 eq 23
Router(config)#access-list 101 permit icmp 20010012 0000 200100080 0000
Router(config)#interface f0/0
Router(config-if)#ip access-group 101 out
Router(config-if)#exit
Router(config)#
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)