孤独750 发表于 2018-7-24 12:15:29

华为路由器1760的nat配置

Quidway#show run  Now create configuration...
  Current configuration
  !
  version 1.66
  enable password ,Y@JM,UXNZL0XaLTV.U4*!!!
  access-list normal 100 permit ip 10.0.0.0 0.255.255.255 any
  !
  interface Aux0
  async mode interactive
  encapsulation ppp
  !
  interface Ethernet0 #inside port#
  speed auto
  duplex auto
  no loopback
  ip address 10.0.0.2 255.255.255.0
  !
  interface Ethernet1 #outside port#
  speed auto
  duplex auto
  no loopback
  ip address 192.168.0.198 255.255.255.0
  nat inside 100 interface #通过这个命令帮定访问列表和地址池在外部端口上#
  !
  interface Serial0
  encapsulation ppp
  !
  exit
  ip route 0.0.0.0 0.0.0.0 192.168.0.254 preference 60
  !
  end
页: [1]
查看完整版本: 华为路由器1760的nat配置