#在VLANIF100接口下配置DHCP中继功能,并增加两个DHCP服务器的IP地址。 <HUAWEI>system-view[HUAWEI]dhcp enable[HUAWEI]vlan 100[HUAWEI-vlan100]quit[HUAWEI]interface vlanif 100[HUAWEI-Vlanif100]dhcp select relay[HUAWEI-Vlanif100]dhcp relay server-ip 10.1.1.2[HUAWEI-Vlanif100]dhcp relay server-ip 10....
#在VLANIF100接口下配置DHCP中继功能,并增加两个DHCP服务器的IP地址。 <HUAWEI>system-view[HUAWEI]dhcp enable[HUAWEI]vlan 100[HUAWEI-vlan100]quit[HUAWEI]interface vlanif 100[HUAWEI-Vlanif100]dhcp select relay[HUAWEI-Vlanif100]dhcp relay server-ip 10.1.1.2[HUAWEI-Vlanif100]dhcp relay server-ip 10....
ip address 192.168.8.1 255.255.255.0 dhcp select relay(基于中继获取ip地址) dhcp relay server-ip 12.1.1.2(指定去哪一个dhcp服务器去获取地址) interface Vlanif9 ip address 192.168.9.1 255.255.255.0 dhcp select relay dhcp relay server-ip 12.1.1.2 dhcp snooping :防止非法的dhcp 服务器 接入层交换机:...
dhcp select global ip route-s 0.0.0.0 0 12.1.1.1 模拟网关 vlan trunk 配置略 dhcp中继:sw1:interface Vlanif8ip address 192.168.8.1 255.255.255.0 dhcp select relay dhcp relay server-ip 12.1.1.2 interface Vlanif9 ip address 192.168.9.1 255.255.255.0 dhcp select relay dhcp...
dhcp server group dhcpgroup1 //创建DHCP服务器组 dhcp-server 10.10.10.1 //在DHCP服务器组中添加DHCP服务器 # interface Vlanif100 ip address 10.20.20.1 255.255.255.0 dhcp select relay //在接口下使能DHCP中继功能 dhcp relay server-select dhcpgroup1 //指定接口对应的DHCP服务器组 ...
dhcp select relay /开启中转模式 dhcp relay server-ip 192.168.100.2 # interface Vlanif100 ip address 192.168.100.1 255.255.255.0 应用主要是DHCP服务器的搭建 注释:注意,这里dhcp relay server-ip 192.168.100.2中的ip地址是服务器的ip地址,这里我们使用的ip路由器的接口ip。
路由器AR1配置 DHCP-Server配置 <Huawei>sys [Huawei]sysname DHCP-Server [DHCP-Server]un info en Info: Information centerisdisabled.[DHCP-Server]interfaceGigabitEthernet0/0/0[DHCP-Server-GigabitEthernet0/0/0]ip address192.168.10.124[DHCP-Server-GigabitEthernet0/0/0]quit[DHCP-Server]ip route-static...
dhcp server group dhcpgroup1 //创建DHCP服务器组 dhcp-server 10.10.10.1 //在DHCP服务器组中添加DHCP服务器 # interface Vlanif100 ip address 10.20.20.1 255.255.255.0 dhcp select relay //在接口下使能DHCP中继功能 dhcp relay server-select dhcpgroup1 //指定接口对应的DHCP服务器组 ...
1.2.49 reset dhcp server statistics 1.2.50 static-bind 1.2.51 tftp-server domain-name 1.2.52 tftp-server ip-address 1.2.53 valid class 1.2.54 verify class 1.2.55 voice-config 1.2.56 vpn-instance 1.3 DHCP中继配置命令 1.3.1 dhcp relay check mac-address 1.3.2 dhcp relay check mac-addres...