A user uses L2TP to dial up to the intranet proxy to access the Internet. He can log in to QQ but cannot open web pages. Run the ipconfig /all command on the CLI to check network connection attributes. It is found that the IP address allocated by L2TP does not have a DNS server. As a result, the L2TP dial-up client cannot browse web pages.
As the customer does not want to manually
configure a DNS server, to enable the L2TP address pool to automatically
allocate a DNS server, you need to add a command for assigning a DNS server to
the L2TP client in the virtual interface template:
ppp authentication-mode chap
ppp ipcp dns 18.104.22.168
ip address 192.168.100.1 255.255.255.0
remote address pool 1
The L2TP client does not have a DNS server. The DNS server can be manually configured to resolve this problem. However, the customer wants the L2TP address pool to automatically allocate a DNS server.