RSS订阅
RSS订阅TT网络

关于网络两端网段重叠的处理方法(上)

2008-9-28  选择字号:  | |
打印本文章

导读:网络两端网段重叠的处理方法

关键词:网络两端网段重叠的处理方法

正在加载数据...

  应一个朋友的需求,另外,觉得实际工程中也可能要用到,因此撰写了关于网络两端网段重叠的处理方法的实例文章。

  一、拓扑及网段分布如下:

  备注:其中的S2016和S2008在此处是作为PC的功能使用的,S2016的IP是74.40.88.200/24缺省网关指向路由器A 74.40.88.254/24 。S2008的IP是74.40.88.1/28 缺省网关指向路由器C 74.40.88.1/28。此2机器的配置不再列出。图中S3100作为普通交换机使用,未任何配置。

  二、不用NAT双向映射的试验结果

  备注:此时路由器A所在的网段不能是用74.40.88.1-74.40.88.16范围内的IP地址,因为该范围属于74.40.88.0/28。

  配置如下:其中红色部分为关键配置

  路由器A:

  #sysname AR2810-A
  #cpu-usage cycle 1min
  #router id 1.1.1.1
  #radius scheme system
  #domain system
  #local-user admin
  password cipher .]@USE=B,53Q=^Q`MAF4<1!!
  service-type telnet terminal
  level 3
  service-type ftp
  #interface Aux0
  async mode flow
  #interface Ethernet0/0
  ip address 74.40.88.254 255.255.255.0
  #interface Serial0/0
  clock DTECLK1                           
  link-protocol ppp
  ip address dhcp-alloc
  #interface Serial2/0
  clock DTECLK1
  link-protocol ppp
  #interface Serial3/0
  clock DTECLK1
  link-protocol ppp
  #interface NULL0
  #info-center synchronous
  #FTP server enable
  #ip route-static 74.40.88.0 255.255.255.240 74.40.88.253 preference 60
  #user-interface con 0
  idle-timeout 0 0
  user-interface aux 0
  user-interface vty 0 4
  authentication-mode scheme              ?
  #return

  路由器B:

    #sysname AR2810-B
  #cpu-usage cycle 1min
  #router id 2.2.2.2
  #radius scheme system
  #domain system
  #local-user admin
  password cipher .]@USE=B,53Q=^Q`MAF4<1!!
  service-type telnet terminal
  level 3
  service-type ftp
  #interface Aux0
  async mode flow
  #interface Ethernet0/0
  ip address 74.40.88.253 255.255.255.0
  arp-proxy enable
  #interface Serial0/0                      ?
  link-protocol ppp
  ip address 192.168.1.1 255.255.255.252
  #interface NULL0
  #info-center synchronous
  #FTP server enable
  #ip route-static 74.40.88.0 255.255.255.240 192.168.1.2 preference 60
  #user-interface con 0
  idle-timeout 0 0
  user-interface aux 0
  user-interface vty 0 4
  authentication-mode scheme
  #return

  路由器C:  

#sysname AR1810-C
  #cpu-usage cycle 1min
  #router id 3.3.3.3
  #radius scheme system
  #domain system
  #local-user admin
  password cipher .]@USE=B,53Q=^Q`MAF4<1!!
  service-type telnet terminal
  level 3
  service-type ftp
  #interface Aux0
  async mode flow
  #interface Ethernet0/0
  ip address 74.40.88.1 255.255.255.240
  #interface Serial0/0
  clock DTECLK1                           
  link-protocol ppp
  ip address 192.168.1.2 255.255.255.252
  #interface NULL0
  #info-center synchronous
  #FTP server enable
  #ip route-static 74.40.88.0 255.255.255.0 192.168.1.1 preference 60
  #user-interface con 0
  idle-timeout 0 0
  user-interface aux 0
  user-interface vty 0 4
  authentication-mode scheme
  #return

  以上配置经测试可以互通: 

    S2016(PC1):
  [S2016]ping 74.40.88.2
  PING 74.40.88.2: 56  data bytes, press CTRL+C to break
  Reply from 74.40.88.2: bytes=56 Sequence=1 ttl=253 time = 91 ms
  Reply from 74.40.88.2: bytes=56 Sequence=2 ttl=253 time = 103 ms
  Reply from 74.40.88.2: bytes=56 Sequence=3 ttl=253 time = 86 ms
  Reply from 74.40.88.2: bytes=56 Sequence=4 ttl=253 time = 91 ms
  Reply from 74.40.88.2: bytes=56 Sequence=5 ttl=253 time = 93 ms
  --- 74.40.88.2 ping statistics ---
  5 packet(s) transmitted
  5 packet(s) received
  0.00% packet loss
  round-trip min/avg/max = 86/92/103 ms
  [S2016]
  S2008(PC2):
  [S2008]ping 74.40.88.200
  PING 74.40.88.200: 56  data bytes, press CTRL+C to break
  Reply from 74.40.88.200: bytes=56 Sequence=1 ttl=253 time = 91 ms
  Reply from 74.40.88.200: bytes=56 Sequence=2 ttl=253 time = 94 ms
  Reply from 74.40.88.200: bytes=56 Sequence=3 ttl=253 time = 87 ms
  Reply from 74.40.88.200: bytes=56 Sequence=4 ttl=253 time = 90 ms
  Reply from 74.40.88.200: bytes=56 Sequence=5 ttl=253 time = 94 ms
  --- 74.40.88.200 ping statistics ---
  5 packet(s) transmitted
  5 packet(s) received
  0.00% packet loss
  round-trip min/avg/max = 87/91/94 ms
  [S2008]


关于网络两端网段重叠的处理方法
 关于网络两端网段重叠的处理方法(上)
 关于网络两端网段重叠的处理方法(下)

原文出处:http://net.it168.com/a2008/0927/206/000000206837.shtml
来源:ssffzz博客    作者:ssffzz1    
相关的白皮书
作为企业的一名网管,你一定需要对网络内计算机的基本情况有所了解,只要使用系统的一个简单的命令,就能够批量收集整个网络里计算机的配置信息了。
最近遭遇的一个网络共享文件访问故障非常奇怪,以某一台固定的主机为例,不同时间访问另外一台主机的共享文件时,却出现时通时不通的现象。
单位A子网网络平时一直能够正常工作,不过笔者发现最近A子网中的工作站无法访问单位局域网服务器了,究竟是什么原因呢?
网速通常是网络管理中比较棘手的问题。如果您是以宽带上网,那么在注册表中设定适当的TcpWindow值,就可以立马加快上网速度。
ADSL掉线涉及到多方面的问题,包括线路故障(线路干扰)、ADSL Modem故障(发热、质量、兼容性)、网卡故障(速度慢、驱动程序陈旧)等。下面列出四种常见错误和解决方案。

如果你曾经有过处理HTTP错误码的经历,你肯定知道这个过程是很让人头痛的。往往,这些神秘的代码有多种意思而让你摸不着头脑。

随着无线网络的广泛应用,网络管理者在进行无线网络的监控、分析和测试的过程中需要应用到多种工具,如iPerf、频谱分析器和Pilot等。本专题对这些工具的应用进行了总结,供大家参考。

在这一专题中我们将按OSI分层角度探讨网络安全。我们将深入研究OSI堆栈,从物理层开始直到应用层。从分析每一层的漏洞出发,假想攻击这些漏洞的各种可能性。
最新更新
专家答疑
技巧
Lisa Phifer
问:在不同的无线技术中,分别在什么时候应用WLAN、Wi-Fi和WiMax?Wi-Fi和WLAN的最主要的不同是什么?
chris Partsenidis
因特网网络连接中经常会遇到两种连接方式:因特网连接共享(ICS)与XP中两个网络适配器(NIC)间桥接,这两种连接有什么区别?
Michael Gregg
问:我在工作中应用遗传算法(genetic algorithm)来进行入侵监控。我是这个领域的新手,我想请教专家为了进行算法工作,我该怎样进行编码?