10
system-view
2.
Enter interface view.
interface interface-type interface-number
3.
Enable IP address negotiation.
ip address ppp-negotiate
By default, IP address negotiation is not enabled.
If you execute this command and the
ip address
command multiple times, the most recent
configuration takes effect. For more information about the
ip address
command, see
Layer
3—IP Services Command Reference
.
Enabling IP segment match
About IP segment match
This feature enables the local interface to check whether its IP address and the IP address of the
remote interface are in the same network segment. If they are not, IPCP negotiation fails.
Procedure
1.
Enter system view.
system-view
2.
Enter interface view.
interface interface-type interface-number
3.
Enable IP segment match.
ppp ipcp remote-address match
By default, this feature is disabled.
Configuring DNS server IP address negotiation on the client
About DNS server IP address negotiation on 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 to clients that do not initiate requests, configure the
ppp ipcp dns
admit-any
command on these devices.
Procedure
1.
Enter system view.
system-view
2.
Enter interface view.
interface interface-type interface-number
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.
This command is not necessary if the
ppp ipcp dns request
command is configured.