<Huawei> system-view [Huawei] interface GigabitEthernet 1/0/0 [Huawei-GigabitEthernet1/0/0] display this # interface GigabitEthernet1/0/0 description connect to inside network ip address 1.1.1.1 255.255.255.248 dhcp select interface dhcp server dns-list 1.1.1.1 //The current DNS server address is 1.1.1.1. # return [Huawei-GigabitEthernet1/0/0] undo dhcp server dns-list all [Huawei-GigabitEthernet1/0/0] dhcp server dns-list 8.8.8.8 //Change the DNS server address to the DNS server address 8.8.8.8 provided by the ISP.
Set the IP address of the DNS server provided by ISP A on the PC, and use the uplink of ISP A to access the Internet. Check whether the Internet access is normal.
Set the IP address of the DNS server provided by ISP B on the PC, and use the uplink of ISP B to access the Internet. Check whether the Internet access is normal.
If the PC fails to access the Internet in one of the preceding scenarios, change the DNS server address to 114.114.114.114 and perform a test. If the fault persists, contact the ISP.
If the PC cannot access the Internet in both the preceding scenarios, connect the PC directly to the ISP's network. If the PC still fails to access the Internet, contact the ISP.