请取消路由器中的封装子接口配置。
DES-3226s
config vlan defult delete 1-24
create vlan vlan4 tag 4
create vlan vlan5 tag 5
create vlan vlan6 tag 6
create vlan vlan7 tag 7
config vlan vlan4 add untaged 1-6
config vlan vlan5 add untaged 7-12
config vlan vlan6 add untaged 13-18
config vlan vlan7 add untaged 19-24
config vlan vlan4 add taged 25
config vlan vlan5 add taged 25
config vlan vlan6 add taged 25
config vlan vlan7 add taged 25
DGS-3312SR
config vlan defult delete 1-2
create vlan vlan2 tag 2
create vlan vlan3 tag 3
create vlan vlan4 tag 4
create vlan vlan5 tag 5
create vlan vlan6 tag 6
create vlan vlan7 tag 7
config vlan vlan2 add untaged 1
config vlan vlan3 add untaged 2
config vlan vlan4 add taged 4
config vlan vlan5 add taged 4
config vlan vlan6 add taged 4
config vlan vlan7 add taged 4
create ipif int2 vlan2
create ipif int3 vlan3
create ipif int4 vlan4
create ipif int5 vlan5
create ipif int6 vlan6
create ipif int7 vlan7
config ipif int2 ipaddress 192.168.2.1 vlan2 state enable
config ipif int3 ipaddress 192.168.3.1 vlan3 state enable
config ipif int4 ipaddress 192.168.4.1 vlan4 state enable
config ipif int5 ipaddress 192.168.5.1 vlan5 state enable
config ipif int6 ipaddress 192.168.6.1 vlan6 state enable
config ipif int7 ipaddress 192.168.7.1 vlan7 state enable
(假设路由器的inside 的ipaddress为192.168.1.2,路由器中的静态路由设置ip route defult 192.168.1.1)
create iproute 0.0.0.0 0.0.0.0 192.168.1.2
|