陆万益吧 关注:9贴子:161
  • 5回复贴,共1

访问控制列表

只看楼主收藏回复

标准 1-99
扩展100-199


1楼2012-11-19 08:41回复
    Router(config)#access-list 1 permit any


    2楼2012-11-19 08:44
    回复
      **。。直播?


      3楼2012-11-19 08:45
      收起回复

        Router(config)#interface fastEthernet 0/0
        Router(config-if)#ip address 192.168.0.111 255.255.255.0
        Router(config-if)#no shutdown
        Router(config-if)#ip nat outside
        Router(config)#interface fastEthernet 0/1
        Router(config-if)#ip address 192.168.11.1 255.255.255.0
        Router(config-if)#no shutdown
        Router(config-if)#ip nat inside
        Router(config)#access-list 1 permit any
        Router(config)#ip nat pool 123 192.168.0.111 192.168.0.111 netmask 255.255.255.0
        Router(config)#ip nat inside source list 1 pool 123 overload
        Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.0.254(目标地址)


        4楼2012-11-19 08:47
        回复