01-14-2020 03:02 PM
Hi all! can anyone tellme why when i set dhcp server at some interface in the AP, this function well buy i understand when i check this config this appear in the “interface pppoe”
interface vlan500
description "USUARIOS WiFi"
ip address 192.168.0.1/24
use ip-access-list in USUARIOS
ip ospf authentication null
interface pppoe1
use dhcp-server-policy SERVER-DHCP
use firewall-policy default
use client-identity-group default
vlan 500 is used to WIFI USERS
Solved! Go to Solution.
01-14-2020 04:22 PM
The DHCP policy is not mapped to a VLAN but based on the static IP address assigned to VLAN 500, the DHCP server will assign IP addresses to wireless clients coming through this vlan within that same IP range.
So in your case if vlan 500 was assigned the static IP of 192.168.0.1/24 and lets say DHCP pool is 192.168.0.2-192.168.0.240, (assuming that vlan 500 is already mapped to the wlan), all wireless clients coming through the wlan will hit vlan 500 and the dhcp server will automatically assigned them DHCP IP addresses based on the subnet vlan 500 is on meaning in the 192.168.0.0/24 range.
Makes sense?
Thanks,
Chris
01-14-2020 03:21 PM
It’s not really in pppoe1 and that’s just the way it’s listed in the CLI. To make sure, follow these steps:
SSH into the AP and run these commands:
>en
#self
#interface pppoe1
#show context
Example of my lab config:
ip address dhcp
ip address zeroconf secondary
ip dhcp client request options all
interface pppoe1
use dhcp-server-policy DHCPtest
use firewall-policy default
use client-identity-group default
#self
(config-device-74-67-F7-22-14-82)#interface pppoe1
(config-device-74-67-F7-22-14-82-if-pppoe1)#show context
interface pppoe1
I hope this helps
Chris