IT|路由器DHCP分配地址

路由器DHCP分配地址
IT|路由器DHCP分配地址
文章图片

The device is running!
【IT|路由器DHCP分配地址】un t m
Info: Current terminal monitor is off.
sys
[Huawei]dhcp enable
[Huawei]ip pool 1
[Huawei-ip-pool-1]network 192.168.1.0 mask 24
[Huawei-ip-pool-1]gateway-list 192.168.1.254
[Huawei-ip-pool-1]dns-list 1.1.1.1
[Huawei-ip-pool-1]excluded-ip-address 192.168.1.30 192.168.1.100
[Huawei-ip-pool-1]lease day 0 hour 0 minute 10
[Huawei-ip-pool-1]dis th
[V200R003C00]
ip pool 1
gateway-list 192.168.1.254
network 192.168.1.0 mask 255.255.255.0
excluded-ip-address 192.168.1.30 192.168.1.100
dns-list 1.1.1.1
return
[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[Huawei-GigabitEthernet0/0/0]
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]dhcp select global
在PC上查询自己的网卡命令: ipconfig
PC>ipconfig
Link local IPv6 address…: fe80::5689:98ff:fe08:1783
IPv6 address…: :: / 128
IPv6 gateway…: ::
IPv4 address…: 192.168.1.249
Subnet mask…: 255.255.255.0
Gateway…: 192.168.1.254
Physical address…: 54-89-98-08-17-83
DNS server…: 1.1.1.1

    推荐阅读