H3C AP is used as a wireless router for fixed ip Internet access configuration

Configuration requirements or instructions

V7 FAT AP as a wireless router fixed ip Internet configuration (web page)

Applicable product series

Applicable to the following products: V5 platform fat mode AP supporting 11ac protocol, including: WAP712C, WAP722S, WA4300 series, etc.
The default management address of the device is 192.168.0.50, and the login account is: admin and password: h3capadmin.

Configuration requirements and achieved effects

This case describes how to configure a static IP address for WAP722S to go online through the command line.
Assuming that the WAP722S Ethernet port is connected to the upper switch (which can be directly connected to the operator), the assigned public network address, gateway, and DNS are as follows:
Insert picture description here
AP transmits wireless signals to allow wireless terminals to connect and obtain addresses to go online. The PC automatically obtains the 192.168.10.0/24 network segment, the gateway is the vlan1 port address 192.168.10.1, and the DNS server address is 114.114.114.114.

Network diagram

Insert picture description here

External network ip vlan2: 192.168.1.2
Internal network ip vlan1: 192.168.0.50

Configuration steps

IP address configuration

System-Network Configuration-VLAN, create vlan2,
Insert picture description here

Add the uplink physical interface G1/0/1 to vlan2, configure the external network ip address,
Insert picture description here
Insert picture description here
Insert picture description here

Configure the external network default route and NAT function

System-network configuration-routing, add static default route,
Insert picture description here

System-network configuration-service-NAT, add easy ip dynamic conversion
Insert picture description here

Configure DHCP service

System-Network Configuration-Service-DHCP/DNS, enable DHCP
Insert picture description here

Add a DHCP address pool, assign the intranet 192.168.0.0/24 network segment address, the gateway is 192.168.0.50, and the dns is 114.114.114.114.
Insert picture description here
Insert picture description here
Insert picture description here

Preservation arrangement

System-System-Management-Configuration file, save the current configuration.
Insert picture description here

result

Insert picture description here

CLI configuration commands are as follows:

The above is the web configuration with reference to the community documentation, the following is the actual networking configuration

IP address configuration
#Create VLAN, add physical interface G1/0/1 to VLAN30, configure upper interface IP

vlan 30
port g1/0/1
quit
interface vlan-interface 30
ip address 10.0.30.252 24
quit

Configure the external network default route and NAT function

ip route-static 0.0.0.0 0 10.0.3.1
inter vlan-interface 2
nat outbound
quit

Configure DHCP service

dhcp enable
dhcp server ip-pool 1
network 172.16.1.0 24
gateway-list 172.16.1.1 
dns-list 10.0.0.29
quit

Save

save

AP routing mode

If you want to better use ACL control, you don't need NAT, the implementation is very simple, you only need to cancel the nat outbound, and make a backhaul route in the upper VLAN device, so that the routing mode is realized.

Guess you like

Origin blog.csdn.net/qq_39689711/article/details/108690862