Configuring dns server ip address negotiation – H3C Technologies H3C SecPath F5020 User Manual

Page 21

Advertising
background image

13

Step Command

Remarks

4.

Associate the ISP domain with

the configured DHCP address
pool for address assignment.

authorization-attribute ip-pool
pool-name

By default, no DHCP address
pool is associated.
For more information about this
command, see Security

Command Reference.

5.

Return to system view.

quit

N/A

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

Configure DNS server settings depending on the role of your device in PPP negotiation.

Configure the local end as the client.
During PPP negotiation, the server will assign a DNS server IP address only for a client configured
with the ppp ipcp dns request command. For some special devices to forcibly assign 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:

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 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.

Configure the local end as the server.

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

Advertising
This manual is related to the following products: