华为eNSP--6DHCP配置--远程路由器分配地址

华为eNSP–5DHCP配置
在这里插入图片描述
在上一讲的当中,我们对一个网段进行了IP地址的DHCP动态分配,现在我们我使用该路由器远程的给另外一个网段分配动态地址

R1路由器配置

[Huawei]dhcp enable
[Huawei]ip pool R1_yellow    //创建地址池
Info:It's successful to create an IP address pool.
[Huawei-ip-pool-R1_yellow]network 192.168.3.0 mask 255.255.255.0
[Huawei-ip-pool-R1_yellow]gateway 192.168.3.10
[Huawei-ip-pool-R1_yellow]dns-list 192.168.2.100
[Huawei-ip-pool-R1_yellow]int e0/0/1    //调用---R1的e0/0/1接口调用
[Huawei-Ethernet0/0/1]dhcp select global

R3路由器配置

[Huawei]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]int e0/0/1    //在R3的e0/0/1接口上开启转功能
[Huawei-Ethernet0/0/1]dhcp select relay
[Huawei-Ethernet0/0/1]dhcp relay server-ip 192.168.12.1   //转接到R1的e0/0/1的地址上

猜你喜欢

转载自blog.csdn.net/qq_42530422/article/details/105589106