HP MSR2000/3000/4000 Router Series Layer 2 - WAN Configuration Guide

9
Ste
p
Command
Remarks
6. Enter interface view.
interface interface-type
interface-number
N/A
7. Configure an IP address for the
interface.
ip address ip-address
By default, no IP address is
configured on an interface.
Configuring DNS server IP address negotiation
IPCP 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. Generally, 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 allocated by the access server so that the
device can resolve domain names by using the corresponding DNS server.
Configure DNS server settings depending on the role of your device in PPP negotiation.
Configuring the local end as the client
During PPP negotiation, the server will specify a DNS server IP address only for a client configured
with the ppp ipcp dns request command. For some special devices to forcibly specify DNS server
IP addresses for clients that do not initiate requests, you must configure the ppp ipcp dns admit-any
command on these devices.
To configure the local end as the client:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable the device to request
the peer for a DNS server IP
address.
ppp ipcp dns request
By default, a client does not
request its peer for a DNS server IP
address.
4. Configure the device to
accept the DNS server IP
addresses assigned by the
peer even though it does not
request the peer for the DNS
server IP addresses.
ppp ipcp dns admit-any
By default, a device does not
accept the DNS server IP
addresses assigned by the peer if
it does not request the peer for the
DNS server IP addresses.
Configuring the local end as the server
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A