Configuring Ethernet over GRE to Enable Layer 2 Communication Between an AC and a Wireless Gateway
Networking Requirements
As shown in Figure 5-94, an enterprise provides the Internet access service for users through a WLAN. On the network, APs provide access to user traffic, AC_1 provides AP access and user authentication, and AC_2 serves as the user gateway and assigns IP addresses to users. AC_1 and AC_2 are connected by an IP/MPLS backbone network. A large number of APs are involved in this scenario. To prevent severe resource consumption caused by frequent setup and deletion of a large number of GRE tunnels on AC_2, an administrator configures Ethernet over GRE (EoGRE) between AC_1 and AC_2 to implement Layer 2 communication.
Data Planning
Item |
Data |
---|---|
Management VLAN for APs |
VLAN 100 |
Service VLAN for STAs |
VLAN 101 |
AC's source interface address |
VLANIF 100: 10.23.100.1/24 |
DHCP server |
AC_1 serves as a DHCP server to assign IP addresses to APs, and AC_2 serves as a DHCP server to assign IP addresses to STAs. |
IP address pool for APs |
10.23.100.2 to 10.23.100.254/24 |
IP address pool for STAs |
10.23.101.3 to 10.23.101.254/24 |
AP group |
|
Regulatory domain profile |
|
SID profile |
|
Security profile |
|
VAP profile |
|
Item |
Data |
---|---|
Tunnel interface on AC_1 |
|
Tunnel interface on AC_2 |
|
VE interface on AC_1 |
|
VE interface on AC_2 |
|
Configuration Roadmap
- Use the configuration wizard to configure system parameters for AC_1 and AC_2.
- Use the configuration wizard to configure APs to go online on AC_1.
- Use the configuration wizard to configure WLAN services on AC_1.
- Configure Ethernet over GRE on AC_1 and AC_2.
- Deliver services to APs and verify the configuration.
Procedure
- Configure system parameters for AC_1.
- Configure system parameters for AC_2.Complete the following configurations in the same way as configuring AC_1.
Set Interface type of GigabitEthernet0/0/1 to Trunk and add the interface to VLAN 10. Set Interface type of GigabitEthernet0/0/2 to Trunk and add the interface to VLAN 101.
Set the IP address of VLANIF 101 to 10.23.101.1/24 and DHCP type to Interface address pool. Specify IP address 10.23.101.2 that cannot be automatically assigned.
Set the IP address of VLANIF 10 to 10.30.1.1/24.
- Configure an AP to go online on AC_1.
- Configure WLAN services on AC_1.
# Click Create. The Basic Information page is displayed.
# Configure the SSID name, forwarding mode, and service VLAN ID.
Click Next. The Security Authentication page is displayed.
# Set Security settings to Key (applicable to personnel networks) and set the key.
# Click Next. The Access Control page is displayed.
# Set Binding the AP group to ap-group1.
Click Finish.
- Configure Ethernet over GRE.
# The following assumes that IGP is run between all devices for communication on the public network, the source and destination interface IP addresses of the GRE tunnel on AC_1 is 10.20.1.1 and 10.30.1.1, respectively.
- Verify the configuration.