[R1-GigabitEthernet0/0/1]dhcp select relay [R1-GigabitEthernet0/0/1]dhcp relay server-ip 10.1.10.2 [R1-GigabitEthernet0/0/1]quit [R1]ip route-static 0.0.0.0 0.0.0.0 10.1.10.2 DHCP: <Huawei>sys [Huawei]sysname DHCP [DHCP]un in en [DHCP]int g0/0/0 [DHCP-GigabitEthernet0/0/0]ip...
在接口 vlan100 下直接指定DHCP服务器IP地址 在接口 vlan200 下调用DHCP服务器组 SW1的配置: # dhcp enable # dhcp server group vlan200 dhcp-server 1.1.1.1 0 # interface Vlanif100 ip address 100.1.1.1 255.255.255.0 dhcp select relay dhcp relay server-ip 1.1.1.1 # interface Vlanif200 ip addres...
9.ensp 设置 PC 通过 DHCP 自动获取地址 注意:一定要点应用 PC3 已经获取到了 IP 注意:此时只有 PC3 能获取到 IP,PC1 和 PC2 仍无法获取 IP,还需要配置 DHCP 中继转发 回到顶部 10.三层交换机开启 DHCP 中继转发 dhcp enableintVlanif10dhcpselectrelay dhcp relay server-ip192.168.90.20qintVlanif20dhcpse...
设置路由器R3,给端口设置ip,开始DHCP服务,并将DHCP分配工作指向IP地址14.0.0.2 [Huawei] [Huawei]sys R3 [R3]dhcp enable [R3]int g0/0/3 [R3-GigabitEthernet0/0/3]ip add 15.0.0.1 24 [R3-GigabitEthernet0/0/3]dhcp select relay [R3-GigabitEthernet0/0/3]dhcp relay server-ip 14.0.0.2 顺手把...
[Huawei-GigabitEthernet0/0/0]dhcp select global //开启端口的DHCP服务功能,指定从全局地址池分配地址 1. 2. 3. 4. 5. 6. 7. 8. 9. DHCP实验二的拓扑图如下: 一、配置PC1和PC2 二、配置路由器DHCP Server 相关命令解析: [Huawei-ip-pool-1]dns-list 8.8.8.8 //配置DNS地址为8.8.8.8 ...
设置路由器R3,给端口设置ip,开始DHCP服务,并将DHCP分配工作指向IP地址14.0.0.2 [Huawei] [Huawei]sys R3 [R3]dhcp enable [R3]int g0/0/3 [R3-GigabitEthernet0/0/3]ip add 15.0.0.1 24 [R3-GigabitEthernet0/0/3]dhcp select relay [R3-GigabitEthernet0/0/3]dhcp relay server-ip 14.0.0.2 ...
ip address 192.168.100.1 255.255.255.0 vrrp vrid 100 virtual-ip 192.168.100.254 vrrp vrid 100 priority 120 dhcp select relay dhcp relay server-ip 192.168.12.1 dhcp relay server-ip 192.168.13.1 interface Vlanif101 ip address 192.168.101.1 255.255.255.0 ...
ip route-static 192.168.0.0 255.255.0.0 10.0.0.1 三、core交换机配置 vlan batch 2 to 3 dhcp enable interface Vlanif1 ip address 10.0.0.1 255.255.255.0 interface Vlanif2 ip address 192.168.2.254 255.255.255.0 dhcp select relay dhcp relay server-ip 10.0.0.2 ...
[LSW1-Vlanif20] dhcp relay server-ip 192.168.211.250 #配置的是VMWARE网关地址 [LSW1]int v 1 [LSW1-Vlanif1]ip add 192.168.211.3 24 配置的是VMware里Windows网关地址 [LSW1]V B 211 [LSW1]INT V 211 [LSW1-Vlanif211]IP ADD 192.168.211.3 24 ...
DHCP_SERVER R1 R2 Fw1 ISP AC 配置所有主机通过DHCP获取IP 首先,需要在DHCP_SERVER上,为多个vlan创建地址池。关键配置如下: ip pool vlan10 gateway-list 192.168.10.254 network 192.168.10.0 mask 255.255.255.0 excluded-ip-address 192.168.10.246 192.168.10.253 ...