super-sub lan实现二层与三层的通信
[sw1]
#
interface Vlanif13
ip address 192.168.2.2 255.255.255.0
#
interface Vlanif14
ip address 192.168.3.1 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 13
port trunk allow-pass vlan 10 to 11 13
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 14
#
#
ip route-static 0.0.0.0 0.0.0.0 192.168.2.1
#
sw2
#
interface Vlanif12
ip address 192.168.1.1 255.255.255.0
arp-proxy inter-sub-vlan-proxy enable
#
interface Vlanif13
ip address 192.168.2.1 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 13
port trunk allow-pass vlan 10 to 11 13
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 11
#
#
ip route-static 0.0.0.0 0.0.0.0 192.168.2.2
#
链接:https://pan.baidu.com/s/16hPYdup4cgAP_sdHv_Q7RQ
提取码:tgv0
————————————————
请立即点击咨询我们或拨打咨询热线: 17804441181,我们会详细为你一一解答你心中的疑难。项目经理在线