我很挣扎,我真的不知道我需要什么来设置我的网络。
我有一个 Cisco 路由器 C1111-8p(8 个交换机端口)和一个 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/*是 8 个交换机端口GigabitEthernet 0/0/0是WAN口
我想为每个 SSID 的每个 VLAN 使用不同的子网:
- VLAN 10 上的 SSID10
10.10.10.0/24 - VLAN 20 上的 SSID20
10.10.20.0/24 - 其他一切
10.10.1.0/24
每个人都应该访问互联网。
这是我目前的配置:
# 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
问题 1:
- 我是否需要为每个 VLAN 设置 DHCP?单个 DHCP 服务器?与 DHCP 池有什么区别?
- 我应该排除 VLAN 的子网吗?
ip dhcp excluded-address - 我应该为每个 VLAN 子网创建不同的池吗?
- 我应该排除 VLAN 的子网吗?
问题2:
- AP 如何与所有 VLAN 和本地 VLAN 配合使用?
- 我
1在路由器和 AP 中都设置了本地 VLAN 。
- 我
问题 3:
- AP 能否访问不同子网中的 RADIUS/SQUID 服务器
10.10.1.0/24?