xccjmpc

 

[Huawei]sys R1
[R1]dhcp enable
[R1]ip pool dhcp10
[R1-ip-pool-dhcp10]network 192.168.10.0 mask 24
[R1-ip-pool-dhcp10]gateway 192.168.10.1
[R1-ip-pool-dhcp10]dns-list 200.200.200.200
[R1-ip-pool-dhcp10]excluded-ip-address 192.168.10.101 配置地址池中某个ip不参与自动分配
[R1-ip-pool-dhcp10]lease day 0 hour 2 配置IP地址租期为2小时
[R1-ip-pool-dhcp10]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 192.168.10.1 24
[R1-GigabitEthernet0/0/0]dhcp select global
[R1-GigabitEthernet0/0/0]q
[R1]ip pool dhcp20
[R1-ip-pool-dhcp20]network 192.168.20.0 mask 24
[R1-ip-pool-dhcp20]gateway 192.168.20.1
[R1-ip-pool-dhcp20]dns-list 200.200.200.200
[R1-ip-pool-dhcp20]lease day 0 hour 2
[R1-ip-pool-dhcp20]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 192.168.20.1 24
[R1-GigabitEthernet0/0/1]dhcp select global

分类:

技术点:

相关文章:

  • 2021-10-05
  • 2021-11-12
  • 2021-06-07
  • 2022-02-08
  • 2022-01-06
  • 2021-04-11
  • 2021-10-02
  • 2021-09-22
猜你喜欢
  • 2021-09-14
  • 2021-08-07
  • 2022-02-08
  • 2021-12-28
  • 2021-12-25
  • 2021-04-29
相关资源
相似解决方案