單臂路由
1 劃分vlan
2 在交換機接口上
switch trunk encap dot1q
switch mode trunk
3 在路由器接口上
int g0/0.1
encapsulation dot1q 1(VLAN號)
ip add IP地址 掩碼
int g0/0.2
encapsulation dot1q 2(VLAN號)
ip add IP地址 掩碼
三層交換
1 劃分VLAN
2 給VLAN ip
3 ip routing
單臂路由
1 劃分vlan
2 在交換機接口上
switch trunk encap dot1q
switch mode trunk
3 在路由器接口上
int g0/0.1
encapsulation dot1q 1(VLAN號)
ip add IP地址 掩碼
int g0/0.2
encapsulation dot1q 2(VLAN號)
ip add IP地址 掩碼
三層交換
1 劃分VLAN
2 給VLAN ip
3 ip routing