13
Step Command Remarks
7. Disable the peer end from
using the locally configured
IP address.
ppp ipcp remote-address
forced
Optional.
By default, the peer end is
allowed to use the locally
configured IP address. In this
case, the local end does not
allocate an IP address to the peer
end if the latter already has an IP
address.
Configuring DNS server IP address negotiation
PPP address negotiation can also determine the DNS server IP address. You can configure a device
to allocate the DNS server IP address to the peer or receive the DNS server IP address from the peer.
For a PPP link between a host and a device, the DNS server IP address is allocated by the device so
that the host can access the Internet directly using domain names. For a PPP link established
between a device and the access server of a carrier, the DNS server IP address is usually allocated
by the access server so that the device can resolve domain names by using the allocated address.
Configure DNS server settings depending on the role of your device in PPP negotiation.
• Configuring the local end as the client
To configure settings for DNS server IP address negotiation when the device is functioning as
the client in PPP negotiation:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Enable the local end to
request the peer for a DNS
server IP address.
ppp ipcp dns request
By default, a device does not
request its peer for a DNS
server IP address.
4. Enable the local end to
accept the DNS server IP
address assigned by the
peer.
ppp ipcp dns admit-any
Optional.
By default, a device does not
accept the DNS server IP
address assigned by the peer.
NOTE:
The server will specify a DNS server IP address for a client in PPP negotiation only after the
client is configured with the ppp ipcp dns request command. For some special devices to
forcibly specify DNS server IP addresses for clients that dot not initiate requests, you must
configure the ppp ipcp dns admit-any command on these devices.
• Configuring the local end as the server
To configure settings for DNS server IP address negotiation when the device is functioning as
the server in PPP negotiation:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A