2020-12-05

## Network basic equipment connection to automatically obtain IP experiment The
connection diagram is:
Insert picture description here

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
Insert picture description here

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;
Insert picture description hereenable dhcp on the interface where the address is issued. Service;
Insert picture description here
then double-click the computer PC, enter the basic configuration, click dhcp, and finally click the application, every computer is like this;
Insert picture description here
then you can see the assigned IP on the multicast page;
Insert picture description here

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;
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_53061888/article/details/110729462