单臂路由实验
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://justim.blog.51cto.com/740099/243083
|
什么是: 为什么要用到单臂路由。VLAN(虚拟局域网)技术是路由交换中非常基础的技术。在网络管理实践中,通过在交换机上划分适当数目的vlan,不仅能有效隔离广播风暴,还能提高网络安全系数及网络带宽的利用效率。划分vlan之后,vlan与vlan之间是不能通信的, 要想使不同VLAN里的主机互访就得使用VLAN间路由技术。在考虑成本的情况下我们一般选择单臂路由,单臂路由需要一台交换机和一台路由器来共同实现。<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
拓扑如下:
<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />
实验目的:接口信息以及IP地址规划如拓扑所示,PC1——PC3分别属于VLAN1——VLAN3,
运用单臂路由与NAT的结合,最终使得用户之间能够互相访问,使企业内部全部能够访问因特网。
具体配置:
R1: ISP: PC>ping 192.168.2.1 Pinging 192.168.2.1 with 32 bytes of data:
PC>ping 192.168.3.1 Pinging 192.1683.1 with 32 bytes of data: Reply from 192.168.3.1: bytes=32 time=73ms TTL=254 Reply from 192.168.3.1: bytes=32 time=112ms TTL=254 Reply from 192.168.3.1: bytes=32 time=52ms TTL=254 Reply from 192.168.3.1: bytes=32 time=70ms TTL=254 Ping statistics for 192.168.3.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 52ms, Maximum = 112ms, Average = 76ms PC> -------------------------------------------------------------------------------------
PC2:
PC>ipconfig IP Address......................: 192.168.2.1 Subnet Mask.....................: 255.255.255.0 Default Gateway.................: 192.168.2.254 PC>ping 218.87.18.2 Pinging 218.87.18.2 with 32 bytes of data: Reply from 218.87.18.2: bytes=32 time=39ms TTL=254 Reply from 218.87.18.2: bytes=32 time=44ms TTL=254 Reply from 218.87.18.2: bytes=32 time=58ms TTL=254 Reply from 218.87.18.2: bytes=32 time=29ms TTL=254 Ping statistics for 218.87.18.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 29ms, Maximum = 58ms, Average = 42ms PC>
-------------------------------------------------------------------------------------
PC3: PC>ipconfig IP Address......................: 192.168.3.1 Subnet Mask.....................: 255.255.255.0 Default Gateway.................: 192.168.3.254 PC>ping 218.87.18.2 Pinging 218.87.18.2 with 32 bytes of data: Reply from 218.87.18.2: bytes=32 time=83ms TTL=254 Reply from 218.87.18.2: bytes=32 time=71ms TTL=254 Reply from 218.87.18.2: bytes=32 time=42ms TTL=254 Reply from 218.87.18.2: bytes=32 time=44ms TTL=254 Ping statistics for 218.87.18.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 42ms, Maximum = 83ms, Average = 60ms PC> 总结: 本实验与实际中小企业网络非常相似,部署单臂路由既节省了成本,又提高了工作效率. 本文出自 “梅岩〃s博客” 博客,请务必保留此出处http://justim.blog.51cto.com/740099/243083
本文出自 51CTO.COM技术博客
|
转载于:https://blog.51cto.com/51yezi/285229