国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)管 > 路由交換 > 正文

雙線網(wǎng)絡(luò)發(fā)布服務(wù)器以及客戶端上網(wǎng)介紹

2020-07-24 11:55:40
字體:
供稿:網(wǎng)友

  實(shí)驗(yàn)要求:

  1、公司想將自己的服務(wù)器雙線發(fā)布出去。

  2、員工可以訪問電信和網(wǎng)通的WEB服務(wù)器。

  配置思路:

  1、事先指明公司和電信網(wǎng)通路由器的NAT的內(nèi)部和外部端口。配置NAT路由器的默認(rèn)路由。

  2、實(shí)現(xiàn)公網(wǎng)網(wǎng)絡(luò)互通。

  3、公司配置:

  配置訪問控制列表

  access-list 100 permit ip any 電信非直連網(wǎng)段  (允許電信網(wǎng)段)

  access-list100 deny ip any 電信非直連網(wǎng)段     (拒絕電信網(wǎng)段)

  access-list 100 permit ip any any           (允許所有網(wǎng)段通信)

  配置PAT       ip nat inside source list 100 電信wan口 overload

  ipnat inside source list 101 網(wǎng)通wan口 overload

  發(fā)布網(wǎng)站      ip nat inside source static tcp  服務(wù)器私網(wǎng)地址   80  電信公網(wǎng)地址 80

  ip nat inside source static tcp  服務(wù)器私網(wǎng)地址   80  網(wǎng)通公網(wǎng)地址 80

  4.電信和網(wǎng)通配置

  配置訪問列表  access-list 1 permit公司內(nèi)網(wǎng)網(wǎng)段

  配置PAT       ip nat inside sourcelist 1 interface FastEthernet0/0 overload

  發(fā)布網(wǎng)站      ip nat inside source statictcp 192.168.5.3 80 192.168.4.100 80

  實(shí)驗(yàn)配置如下:

  router0:(公司路由器)

  interfaceFastEthernet0/0

  ip address 192.168.3.1 255.255.255.0

  ip nat outside

  duplex auto

  speed auto

  !

  interfaceFastEthernet0/1

  ip address 192.168.6.1 255.255.255.0

  ip nat outside

  duplex auto

  speed auto

  !

  interfaceFastEthernet1/0

  ip address 192.168.1.1 255.255.255.0

  ip nat inside

  duplex auto

  speed auto

  !

  interfaceFastEthernet1/1

  ip address 192.168.2.1 255.255.255.0

  ip nat inside

  duplex auto

  speed auto

  !

  interfaceVlan1

  no ip address

  shutdown

  !

  ipnat inside source list 100 interface FastEthernet0/0 overload

  ipnat inside source list 101 interface FastEthernet0/1 overload

  ipnat inside source static tcp 192.168.2.3 80 192.168.3.101 80

  ipnat inside source static tcp 192.168.2.2 80 192.168.3.100 80

  ipnat inside source static tcp 192.168.2.3 80 192.168.6.101 80

  ipnat inside source static tcp 192.168.2.2 80 192.168.6.100 80

  ipclassless

  iproute 192.168.4.0 255.255.255.0 FastEthernet0/0

  iproute 192.168.7.0 255.255.255.0 FastEthernet0/1

  !

  !

  access-list100 permit ip any 192.168.4.0 0.0.0.255

  access-list101 deny ip any 192.168.4.0 0.0.0.255

  access-list101 permit ip any any

  router1:(公網(wǎng)路由器)

  interfaceFastEthernet0/0

  ip address 192.168.3.2 255.255.255.0

  duplex auto

  speed auto

  !

  interfaceFastEthernet0/1

  ip address 192.168.4.1 255.255.255.0

  duplex auto

  speed auto

  router2:(公網(wǎng)路由器)

  interface FastEthernet0/0

  ip address192.168.6.2 255.255.255.0

  duplex auto

  speed auto

  !

  interface FastEthernet0/1

  ip address192.168.7.1 255.255.255.0

  duplex auto

  speed auto

  router3:(電信路由器)

  interface FastEthernet0/0

  ipaddress 192.168.4.2 255.255.255.0

  ip natoutside

  duplexauto

  speedauto

  !

  interface FastEthernet0/1

  ipaddress 192.168.5.1 255.255.255.0

  ip natinside

  duplexauto

  speedauto

  !

  interface Vlan1

  no ipaddress

  shutdown

  !

  ip nat inside source list 1 interfaceFastEthernet0/0 overload

  ip nat inside source static tcp 192.168.5.380 192.168.4.100 80

  ip classless

  ip route 0.0.0.0 0.0.0.0 FastEthernet0/0

  !

  !

  access-list 1 permit 192.168.5.0 0.0.0.255

  !

  !

  router4:(網(wǎng)通路由器)

  interface FastEthernet0/0

  ipaddress 192.168.7.2 255.255.255.0

  ip natoutside

  duplexauto

  speedauto

  !

  interface FastEthernet0/1

  ipaddress 192.168.8.1 255.255.255.0

  ip natinside

  duplexauto

  speedauto

  !

  interface Vlan1

  no ipaddress

  shutdown

  !

  ip nat inside source list 1 interfaceFastEthernet0/0 overload

  ip nat inside source static tcp 192.168.8.380 192.168.7.100 80

  ip classless

  ip route 0.0.0.0 0.0.0.0 FastEthernet0/0

  !

  !

  access-list 1 permit 192.168.8.0 0.0.0.255

  !

  !

發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 崇义县| 麻栗坡县| 清原| 钟山县| 南华县| 龙门县| 军事| 丰原市| 贡觉县| 固安县| 衢州市| 即墨市| 新津县| 乌鲁木齐县| 张家港市| 洪湖市| 汶上县| 额尔古纳市| 綦江县| 常熟市| 阜城县| 宜宾县| 台北市| 辽宁省| 太和县| 江都市| 甘德县| 泗阳县| 论坛| 桦甸市| 阿拉善盟| 全椒县| 云林县| 西峡县| 临安市| 茂名市| 乌拉特后旗| 遵义市| 红河县| 鲁甸县| 两当县|