终于把dynamips上面划vlan给搞定了,屡试不爽,还能在模拟的三层交换机上起trunk和svi。
先是在R7,原来的fr交换机上加一块PA-8E的板子,然后分组桥接,配置上BVI和多个桥接组。
想trunk也不难,vlan iD也可以订制。
IF:interface_name:netio_type[:netio_parameters]
1) Configuring an Access Port
syntax: ACCESS:interface_name:vlan_id
2) Configuration a 802.1Q Trunk Port
syntax: DOT1Q:interface_name:native_vlan
The native VLAN is not tagged. On Cisco devices, by default the native VLAN
is VLAN 1.
Example of configuration file:
IF:E0:udp:10000:127.0.0.1:10001
IF:E1:udp:10002:127.0.0.1:10003
IF:E2:gen_eth:eth0
DOT1Q:E0:1
ACCESS:E1:4
DOT1Q:E2:1
这样,我R7也成了一台三层设备。top的灵活程度又提高了。
16 Ethernet interfaces
2 FastEthernet interfaces
8 Serial interfaces
125K bytes of NVRAM.