LSW1配置:
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port hybrid untagged vlan 100
#
interface Ethernet0/0/2
port link-type access
port default vlan 100
#
LSW2配置:
#
vlan batch 100
#
interface Vlanif1
ip address 192.168.1.254 255.255.255.0
dhcp select interface
#
interface Vlanif100
ip address 192.168.100.1 255.255.255.0
dhcp select interface
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100
#
interface GigabitEthernet0/0/2
port link-type trunk
#
AC配置:
#
interface Vlanif1
ip address 192.168.1.253 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
#
interface Wlan-Ess1
port hybrid untagged vlan 100
#
#
wlan
wlan ac source interface vlanif1
ap-auth-mode no-auth
ap id 0 type-id 19 mac 00e0-fc7f-30d0 sn 21023544831059336B5C
wmm-profile name wmm-0 id 0
traffic-profile name sec-0 id 0
security-profile name sec-0 id 0
service-set name ser-0 id 0
wlan-ess 1
ssid guest
traffic-profile id 0
security-profile id 0
service-vlan 100
radio-profile name rad-0 id 0
wmm-profile id 0
ap 0 radio 0
radio-profile id 0
service-set id 0 wlan 1
#
PC1:
Link local IPv6 address...........: fe80::5689:98ff:fe87:23eb
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 192.168.100.253
Subnet mask.......................: 255.255.255.0
Gateway...........................: 192.168.100.1
Physical address..................: 54-89-98-87-23-EB
DNS server........................:
已经能正确获取IP地址,DHCP服务器是正常的