科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道广电配置实例(nat加实ip网络)

广电配置实例(nat加实ip网络)

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

简单说一下结构,因为广电的用户一般安全要求较高,而且一般不连接到互联网,但因为部分业务需要一些真IP地址,如web mail以及网吧是公安部门要求的。

作者:Vlan9 来源:Vlan9 2008年6月10日

关键字: NAT 网络地址转换 什么是nat

  • 评论
  • 分享微博
  • 分享邮件

在本页阅读全文(共2页)

  cisco3620配置:

  Building configuration...

  Current configuration : 1551 bytes

  !

  version 12.2

  no parser cache

  service timestamps debug uptime

  service timestamps log uptime

  no service password-encryption

  !

  hostname XX_3620

  !

  boot system flash c3620-d-mz.122-7c.bin

  enable secret 5 $1$kNOY$LMBGz.M1MBGzMBGz

  !

  ip subnet-zero

  ip cef

  !

  !

  ip name-server 211.11.111.3

  !

  !

  !

  !

  interface FastEthernet0/0

  no ip address

  speed auto

  full-duplex

  !

  interface FastEthernet0/0.1 //这一段地址可以做WEB等服务用。

  encapsulation isl 10

  ip address 211.11.112.1 255.255.255.248

  no ip redirects

  !

  interface FastEthernet0/0.15

  encapsulation isl 15

  ip address 172.16.10.1 255.255.255.240

  no ip redirects

  ip nat inside

  !

  interface FastEthernet0/0.16

  encapsulation isl 16

  ip address 172.16.11.1 255.255.255.240

  no ip redirects

  ip nat inside //内部接口

  !

  interface Serial0/0

  ip address 211.11.111.118 255.255.255.252

  no ip redirects

  ip nat outside //NAT外部接口

  no cdp enable

  !

  interface Ethernet1/0

  no ip address

  no cdp enable

  !

  ip nat pool netpools 211.11.112.10 211.11.112.14 netmask 255.255.255.248

  //这里将二个地址段共用的一个地址池,这是不好的,实再*作中两个内网地址段分别分配了不同的外网址池

  ip nat inside source list 1 pool netpools overload

  ip classless

  ip route 0.0.0.0 0.0.0.0 211.11.111.117

  ip http server

  ip pim bidir-enable

  !

  access-list 1 permit 172.16.10.0 0.0.0.15

  access-list 1 permit 172.16.11.0 0.0.0.15

  access-list 99 permit 211.11.111.0 0.0.0.255

  access-list 99 permit 211.11.112.0 0.0.0.255

  !

  line con 0

  line aux 0

  line vty 0 4

  access-class 99 in

  login

  !

  end

    • 评论
    • 分享微博
    • 分享邮件
    闁喕娆㈢拋銏ゆ

    婵″倹鐏夐幃銊╂姜鐢瓕鎻╅崚鍥╂畱閹厖绨$憴顤廡妫板棗鐓欓張鈧弬棰侀獓閸濅椒绗岄幎鈧張顖欎繆閹垽绱濋柇锝勭疄鐠併垽妲勯懛鎶姐€婄純鎴炲Η閺堫垶鍋栨禒璺虹殺閺勵垱鍋嶉惃鍕付娴f娊鈧柨绶炴稊瀣╃閵嗭拷

    重磅专题
    往期文章
    最新文章