答案:该dhcp的地址池,仅仅对于vlan 10的端口进行分配。其他的不分配。希望对你有帮助,麻烦给个采纳、点个赞,谢谢!!
SW1(config)#ip dhcp pool vlan10 SW1(dhcp-config)#network 192.168.1.0 255.255.255.0 SW1(dhcp-config)#default-router 192.168.1.1 SW1(dhcp-config)#dns-server 202.106.0.20 SW1(dhcp-config)#lease 2 SW1(dhcp-config)#exit SW1(config)#ip dhcp pool vlan20 SW1(dhcp-config)#network 192.168.2...
#ip dhcp pool vlan10 地址名Switch(dhcp-config)#default-router 192.168.10.254 地址网关 此处为vlan10网段的网关此处为关键Switch(dhcp-config)#dns 192.168.1.1 DNS地址Switch(dhcp-config)#ip dhcp pool vlan20Switch(dhcp-config)#ip dhcp pool vlan30Switch(dhcp-config)#dns 192.168.1.1 Switch(dhcp-...
[AR1]ip pool vlan10 #创建地址池vlan10 [AR1-ip-pool-vlan10]network10.10.10.0mask24#设定网段 [AR1-ip-pool-vlan10]gateway-list10.10.10.1#配置网关地址 [AR1-ip-pool-vlan10]dns-list10.10.10.1#配置dns地址 [AR1-ip-pool-vlan10]quit VLAN 20配置DHCP: [AR1]interfaceGigabitEthernet0/0/0.20[A...
开启局部DHCP: [lsw1]dhcp enable Info: The operation may take a few seconds. Please wait for a moment.done. 配置DHCP地址池: [lsw1]ip pool vlan10 Info:It's successful to create an IP address pool. [lsw1-ip-pool-vlan10]network 192.168.10.0 mask 24 ...
Switch(config)#ip dhcp pool vlan10地址名 Switch(dhcp-config)#default-router 192.168.10.254地址网关此处为vlan10网段的网关此处为关键 Switch(dhcp-config)#dns 192.168.1.1 DNS地址 Switch(dhcp-config)#network 192.168.10.0 255.255.255.0 Switch(dhcp-config)#ip dhcp pool vlan20 Switch(dhcp-config)#networ...
ip dhcp pool vlan101 // 这里的vlan101就是个名字,你写啥都行,只要不冲突。network 192.168.1.0 255.255.255.0 //这个才是关键,对应你的interface vlan101地址 default-router 192.168.1.1 ip helper-add是中继时才用到。比如你的DHCP SVR不是3750,而是VLAN102下的一台服务器,要给...
在SwitchC上配置普通的DHCP策略VLAN功能,实现部门B内的主机都能申请到10.3.3.1/28网段的IP地址。 操作步骤 在SwitchA上配置接口地址池功能 #在SwitchA上创建VLAN,并配置VLANIF接口的IP地址。 <HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] dhcp enable [SwitchA] vlan batch 10 30 50 [SwitchA...
配置DHCP地址池: [lsw1]ip pool vlan10 Info:It's successful to create an IP address pool. [lsw1-ip-pool-vlan10]network 192.168.10.0 mask 24 [lsw1-ip-pool-vlan10]gateway-list 192.168.10.1 [lsw1-ip-pool-vlan10]ip pool vlan20
# sysname SwitchB # vlan batch 10 20 # dhcp enable # ip pool pool1 gateway-list 10.1.1.1 network 10.1.1.0 mask 255.255.255.128 lease day 10 hour 0 minute 0 dns-list 10.1.1.2 excluded-ip-address 10.1.1.2 excluded-ip-address 10.1.1.4 # ip pool pool2 gateway-list 10.1.1.129 network 10...