## Network basic equipment connection to automatically obtain IP experiment The
connection diagram is:
Enter the router and configure the interface IP:
user mode can view all device commands;
sys
system-view key in the system view command;
[Huawei]quit exit this mode;
configure the 0/0/0 interface IP address as 192.168.1.1 gateway: 255.255. 255.0
configure 0/0/1 interface IP as 192.168.2.1 gateway: 255.255.255.0
Configure the fish pond.
Build a fish pond named a to serve the broadcast domain of interface 0/0/0. Set the network number to 192.168.1.0, set the gateway to 192.168.1.1, and dns to 114.114.114.114 8.8.8.8;
create a name The fish pond called b serves the broadcast domain of interface 0/0/1. Set the network number to 192.168.2.0, the gateway to 192.168.2.1, and the dns setting to 114.114.114.114 8.8.8.8;
enable dhcp on the interface where the address is issued. Service;
then double-click the computer PC, enter the basic configuration, click dhcp, and finally click the application, every computer is like this;
then you can see the assigned IP on the multicast page;
display this can view all the commands configured at this location
[Huawei]display current-configuration view all the configuration commands on the device.
[Huawei]display ip interface brief View interface summary After
success, you can enter it on the command line *
Finally, use the pc<ipconfig command to see your own IP, subnet mask, gateway, etc.; use PC> to ping other computers IP address; for example, PC>ping 192.168.2.253;