Whether DHCP can be configured on the intranet LAN interface of the AR

8

The DHCP server can be configured on a Layer 3 interface of the Huawei AR to allocate IP addresses to users connected to the Layer 3 interface. In practice, an interface connected to the intranet is enabled with the DHCP server and allocates intranet IP addresses to intranet users. The interface connected to the public network has NAT enabled to communicate with the public network.

Other related questions:
Can DHCP snooping be implemented on an AR with no LAN card
DHCP snooping can only be provided by the LAN card. To limit source MAC addresses without a LAN card installed, the AR can use a Layer 2 ACL. However, Layer 2 ACL is not a replacement for DHCP snooping.

Does an AR router support an interface being switched over between Layer 2 and Layer 3
The following AR routers support an interface being switched over between Layer 2 and Layer 3. By default, Ethernet interfaces are Layer 2 interfaces. Run the undo portswitch command to switch the interfaces from Layer 2 mode to Layer 3 mode, and run the portswitch command to switch the interfaces back to Layer 2 mode. V200R006C00 and earlier versions: - AR150 and AR200 series: Eth0/0/0 - AR120-S series: Eth0/0/0~Eth0/0/3 - AR150-S, AR160-S, and AR200-S series (except for AR151-S2): Eth0/0/0 - AR151-S2: GE0/0/0 - AR160 series: GE0/0/0 - AR1220F: Eth0/0/0~Eth0/0/7 - AR2201-48FE, AR2202-48FE, and AR2201-48FE-S: Eth0/0/0 and Eth0/0/47 V200R007C00: - AR120 and AR150 series, AR120-S series, AR151-S, AR151W-P-S, and AR151G-U-S: Eth0/0/0~Eth0/0/3 - AR160 series, AR509G-L-D-H, AR110-S series, AR151-S2 and AR160-S series: GE0/0/0~GE0/0/3 - AR200 series, AR1220, AR1220V, AR1220W, AR1220VW, AR1220F, AR200-S series, AR1220-S, AR1220W-S, and AR1220F-S: Eth0/0/0~Eth0/0/7 - AR1220C, AR1220E, AR1220EV, AR1220EVW, and AR1220E-S: GE0/0/0~GE0/0/7 - AR2201-48FE and AR2202-48FE: Eth0/0/0~Eth0/0/47 - AR2204-51GE-P: GE0/0/3~GE0/0/50 - AR2204-27GE-P, AR2204-27GE, and AR2201-48FE-S: GE0/0/3~GE0/0/26 V200R008C00: - AR120 (except for AR129CGVW-L) and AR150 series, AR120-S series, AR151-S, AR151W-P-S, and AR151G-U-S: Eth0/0/0~Eth0/0/3 -AR100 series, AR160 series, AR129CGVW-L, AR503EW, AR503EDGW-Lc, AR509CG-Lt, AR509CG-Lc, AR509G-Lc, AR515GW-LM9-D and AR509G-L-D-H, AR100-S series, AR110-S series, AR151-S2 and AR160-S series: GE0/0/0~GE0/0/3 - AR200 series, AR1220, AR1220V, AR1220W, AR1220VW, and AR1220F, AR200-S series, AR1220-S, AR1220W-S, and AR1220F-S series: Eth0/0/0~Eth0/0/7 - AR1220C, AR1220E, AR1220EV and AR1220EVW, and AR1220E-S: GE0/0/0~GE0/0/7 - AR2201-48FE, AR2202-48FE, and AR2201-48FE-S: Eth0/0/0 and Eth0/0/47 - AR2204-51GE-P, AR2204-51GE-R, and AR2204-51GE: GE0/0/3~GE0/0/50 - AR2204-27GE-P and AR2204-27GE: GE0/0/3~GE0/0/26 At present, the interfaces of all cards do not support Layer 2 and Layer 3 interface switchover.

Configure DHCP server on S series switch based on the interface address pool
To configure the DHCP server based on the interface address pool for the S series switches (excluding the S1700), configure an IP address for the interface and the switch allocates addresses that are on the same network segment as the interface IP address to clients. This configuration mode is simple and applies only to scenarios where the DHCP server and clients are on the same network segment. That is, no DHCP relay exists.The configuration is as follows: [HUAWEI] dhcp enable //Enable DHCP. [HUAWEI] interface gigabitethernet 2/0/0 //Enter the view of the interface connected to the DHCP client. [HUAWEI-GigabitEthernet2/0/0] port link-type access [HUAWEI-GigabitEthernet2/0/0] port default vlan 10 [HUAWEI-GigabitEthernet2/0/0] quit [HUAWEI] interface vlanif 10 [HUAWEI-Vlanif10] ip address 10.1.1.1 24 //Configure the network segment where the DHCP client resides. The IP address range of the interface-based DHCP server is: 10.1.1.2 to 10.1.1.254. [HUAWEI-Vlanif10] dhcp select interface //Enable the DHCP server function based on the interface address pool. [HUAWEI-Vlanif10] dhcp server dns-list 114.114.114.114 //Specify the DNS server address in the interface address pool. [HUAWEI-Vlanif10] dhcp server lease day 2 //Set the lease of IP addresses to 2 days. [HUAWEI-Vlanif10] quit

which interfaces of AR routers do not support configuration NAT?
LAN side interface (such as VLANIF port) does not support to configure NAT.

Can multiple FE interfaces be grouped into a LAN
Multiple FE interfaces can be grouped into a LAN provided that the interfaces are grouped into a VLAN.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top