这是问题
SW_R2(config)#int vlan 2
SW_R2(config-if)#ip addr 172.16.0.129 255.255.255.240
SW_R2(config-if)#int vlan 3
SW_R2(config-if)#ip addr 172.16.0.145 255.255.255.224
% 172.16.0.128 overlaps with Vlan2
SW_R2(config-if)#
我正在使用第 3 层交换机,在三个 VLAN 中设置 IP 地址。
172.16.0.128/29 和 172.16.0.144/27 位于不同的子网中,我在路由器中测试了该地址,在 FastEthernet 接口中设置,并且工作正常!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
ip address 172.16.0.129 255.255.255.240
!
interface Vlan3
no ip address
我看不到我的错误在哪里,请有什么建议吗?
