How does the AR router obtain a DNS address from a carrier

4

The AR obtains the DNS address from a carrier as follows:
[Huawei] interface dialer 0
[Huawei-Dialer0] ppp ipcp dns admit-any //Configure the AR to receive the DNS server address specified by the remote end.
[Huawei-Dialer0] ppp ipcp dns request //Configure the AR to request the DNS server address specified by the remote end.

Other related questions:
How to configure the AR router to obtain DNS address from the ISP provider?
The configuration of the AR router to obtain the DNS address from the ISP provider is as follows. [Huawei] interface dialer 0 [Huawei-Dialer0] PPP IPCP DNS admit-any //configure the router passively receive the address of the DNS server which was specified by other end [Huawei-Dialer0] PPP IPCP DNS request //router active request to end the specified DNS server address

Configure multi-carrier access on an AR router
The roadmap of configuring multi-carrier access on an AR router is as follows: 1. If users need to be forwarded to different carriers for Internet access, configure policy-based routing to implement access. 2. If users do not need to be forwarded to different carriers for Internet access, configure equivalent static routing to implement load sharing or backup routing to implement active/standby backup. 3. You can also configure policy-based routing to redirect a part of users to specified carrier lines and enable the remaining users to access the Internet through the default route.

What is the DN set of the AR router
A DN set is also called a dial plan. A DN set contains a set of numbers that are processed together. Only numbers, call prefixes, trunks, and routes that belong to the same DN set are processed. That is, two users must belong to the same DN set before calling each other. A DN set, a country code, and an area code identify the home area of a user; a DN set and a call prefix determine the dialing plan for a user. A DN set divides a physical network or a device into multiple logical networks, similar to VLANs for a LAN.

DHCP client cannot obtain a correct IP address
The request packets (DHCP discover) are broadcast by the DHCP clients. If multiple DHCP servers are located on the same subnet (for example, bogus DHCP server), the clients may obtain IP addresses from a bogus DHCP server. To address this problem, configure DHCP snooping. Then clients can receive DHCP packets from only the trusted DHCP server. Perform the following configuration: [Huawei] dhcp enable [Huawei] dhcp snooping enable [Huawei] interface gigabitethernet 1/0/1 //Enter the view of the interface connected to the DHCP client. [Huawei-GigabitEthernet1/0/1] dhcp snooping enable [Huawei-GigabitEthernet1/0/1] quit [Huawei] interface gigabitethernet 1/0/2 [Huawei-GigabitEthernet1/0/2] dhcp snooping trusted //Configure the interface of the DHCP server as the trusted interface. [Huawei-GigabitEthernet1/0/2] quit Note: - When you configure DHCP snooping on a Layer 2 access device, steps 1, 2, and 3 are mandatory and must be performed in the following sequence. - When you configure DHCP snooping on a DHCP relay agent, only steps 1 and 2 are required.

How are DNS and NetBIOS server addresses configured on an AR
The AR can automatically assign the DNS server IP address allocated by a carrier, DNS domain name suffix, and NetBIOS server address to a DHCP client. Perform the following configurations: - Interface-based [Huawei] interface gigabitethernet 1/0/0 [Huawei-GigabitEthernet1/0/0] dhcp select interface [Huawei-GigabitEthernet1/0/0] dhcp server import all //Enable the interface to automatically obtain the DNS and NetBIOS server addresses. - Global mode [Huawei] ip pool global [Huawei-ip-pool-global] import all //Enable the AR to automatically obtain the DNS and NetBIOS server addresses in the global address pool.

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