I am struggling and I don't really know what I need to setup my network.
I have a Cisco router C1111-8p (8 switch ports) and a wifi AP C1832.
+---------------+
+----------+ | | trunk port +--------------+
| | | | | |
|ISP modem +-------->+0/0/0 +------------------------+ WIFI AP |
| | | 0/1/0 | SSID10 |
+----------+ | +------------------------+ SSID20 |
| | VLAN 10 for SSID10 | |
| 0/1/1 | VLAN 20 for SSID20 | |
+---------------+ +--------------+
|
|
+------------------+
| SERVER |
+------------------+
0/1/*
are the 8 switch portsGigabitEthernet 0/0/0
is the WAN port
I'd like a different subnet for each VLAN for each SSID:
- SSID10 on VLAN 10 with
10.10.10.0/24
- SSID20 on VLAN 20 with
10.10.20.0/24
- Everything else on
10.10.1.0/24
Everybody should access the Internet.
Here is my current configuration:
# Setup ISP internet connection
configure terminal
interface GigabitEthernet 0/0/0
ip address 219.a.b.c 255.255.255.252
no shutdown
ip route 0.0.0.0 0.0.0.0 219.a.b.d
#Setup the trunk port for the Wifi AP
configure terminal
interface GigabitEthernet 0/1/0
switchport mode trunk
switchport trunk native vlan 1
switchport trunk allowed vlan add 1,10,20
switchport nonegotiate
no shutdown
# Setup the switch port for the server that will host RADIUS and SQUID
configure terminal
interface GigabitEthernet 0/1/1
switchport mode access
ip address 10.10.1.1 255.255.255.0
# Configure VLANs
configure terminal
vlan 10
vlan 20
interface vlan 10
ip address 10.10.10.1 255.255.255.0
no shutdown
vlan 20
interface vlan 20
ip address 10.10.20.1 255.255.255.0
no shutdown
Question 1:
- Do I need to setup a DHCP for each VLAN? A single DHCP server? What's the difference with a DHCP pool?
- Should I exclude subnet of VLANs?
ip dhcp excluded-address
- Should I create a different pool for each VLAN subnet?
- Should I exclude subnet of VLANs?
Question 2:
- How the AP is working with all the VLANs and native VLAN?
- I set the native VLAN at
1
in both router and AP.
- I set the native VLAN at
Question 3:
- Will the AP be able to access the RADIUS/SQUID server in a different subnet
10.10.1.0/24
?
ip dhcp pool VLAN10
andip dhcp pool VLAN20
and then configure your subnets as described.