VLAN间单臂路由访问
2013-11-11 11:34
267 查看
实验书上的拓朴图:
![](http://images.cnitblog.com/blog/465438/201311/11113348-bd90c5b96ef24dabb3e38e991ae54118.jpg)
注意TRUNK端口和路由器子端口设置,可以承载不同的VLAN标签。
交换机(用2691加交换模块实现的):
路由器A:
注意不好的型号和不同的模拟设备,最好单独配置idlepc值。
用idlepc get r1----idlepc save r1获得和保存IDLEPC值,要不然,CPU会操爆的。。。如果IDLEPC值正确,则五六个模拟都没有问题的。
如果发现设置了IDLEPC值之后,计算机CPU值还是超高,则可以重新运算生成和保存。
![](http://images.cnitblog.com/blog/465438/201311/11113348-bd90c5b96ef24dabb3e38e991ae54118.jpg)
注意TRUNK端口和路由器子端口设置,可以承载不同的VLAN标签。
交换机(用2691加交换模块实现的):
Building configuration... Current configuration : 1623 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero no ip routing ! ! ! no ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 no ip address no ip route-cache shutdown duplex auto speed auto ! interface FastEthernet0/1 no ip address no ip route-cache shutdown duplex auto speed auto ! interface FastEthernet1/0 switchport access vlan 2 no ip address ! interface FastEthernet1/1 switchport mode trunk no ip address ! interface FastEthernet1/2 no ip address shutdown ! interface FastEthernet1/3 no ip address shutdown ! interface FastEthernet1/4 no ip address shutdown ! interface FastEthernet1/5 no ip address shutdown ! interface FastEthernet1/6 no ip address shutdown ! interface FastEthernet1/7 no ip address shutdown ! interface FastEthernet1/8 no ip address shutdown ! interface FastEthernet1/9 no ip address shutdown ! interface FastEthernet1/10 switchport access vlan 3 no ip address ! interface FastEthernet1/11 switchport access vlan 3 no ip address shutdown ! interface FastEthernet1/12 no ip address shutdown ! interface FastEthernet1/13 no ip address shutdown ! interface FastEthernet1/14 no ip address shutdown ! interface FastEthernet1/15 no ip address shutdown ! interface Vlan1 ip address 192.168.1.2 255.255.255.0 no ip route-cache ! ip default-gateway 192.168.1.1 ip http server no ip http secure-server ip classless ! ! ! ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! end
路由器A:
version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ! ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/0.2 encapsulation dot1Q 2 ip address 192.168.2.1 255.255.255.0 no snmp trap link-status ! interface FastEthernet0/0.3 encapsulation dot1Q 3 ip address 192.168.3.1 255.255.255.0 no snmp trap link-status ! interface FastEthernet0/1 ip address 192.168.6.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 no ip address shutdown ! interface FastEthernet1/1 no ip address shutdown ! interface FastEthernet1/2 no ip address shutdown ! interface FastEthernet1/3 no ip address shutdown ! interface FastEthernet1/4 no ip address shutdown ! interface FastEthernet1/5 no ip address shutdown ! interface FastEthernet1/6 no ip address shutdown ! interface FastEthernet1/7 no ip address shutdown ! interface FastEthernet1/8 no ip address shutdown ! interface FastEthernet1/9 no ip address shutdown ! interface FastEthernet1/10 no ip address shutdown ! interface FastEthernet1/11 no ip address shutdown ! interface FastEthernet1/12 no ip address shutdown ! interface FastEthernet1/13 no ip address shutdown ! interface FastEthernet1/14 no ip address shutdown ! interface FastEthernet1/15 no ip address shutdown ! interface Vlan1 no ip address shutdown ! ip http server no ip http secure-server ip classless ! ! ! ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! end
注意不好的型号和不同的模拟设备,最好单独配置idlepc值。
用idlepc get r1----idlepc save r1获得和保存IDLEPC值,要不然,CPU会操爆的。。。如果IDLEPC值正确,则五六个模拟都没有问题的。
如果发现设置了IDLEPC值之后,计算机CPU值还是超高,则可以重新运算生成和保存。
![](http://images.cnitblog.com/blog/465438/201311/11113108-8a54dc53b0994b9982697f99a79406f5.png)
相关文章推荐
- 简约的ASP.NET 系统框架,提供源码。
- .NET设计模式(8):适配器模式(Adapter Pattern)
- JavaScript中判断对象类型的几种方法总结
- Big O, Big Omega, Big Theta的含义
- 建立数据库视图
- phpunit mock
- makefile 中使用函数
- 根据字段或者注释查询表清单
- Paoding分词-扩展词典
- 百度词典搜索_grandma
- C# 利用委托和事件 传入一个参数进行进行计算并返回结果
- 文件 Slack 空间信息隐藏
- js将输入的金额转化成每3位一个逗号隔开
- Linux下tar.xz结尾的文件的解压方法
- Python正则表达式指南
- 百度地图覆盖物的描述
- getGenericSuperclass,getSuperclass
- jQuery Django 用load post整个表单
- PHP获取随机数
- 通过 ulimit 改善系统性能