R1(config)#ip dhcp excluded-address 192.168.1.255 R1(config)#ip dhcp pool vlan20 R1(dhcp-config)#network 192.168.2.0 255.255.255.0 R1(dhcp-config)#domain-name c1813.com R1(dhcp-config)#default-router 192.168.2.254 R1(dhcp-config)#dns-server 192.168.2.1 R1(dhcp-config)#lease infinite R1(d...
有,dhcp pool地址池的网关为vlan的接口地址
[DHCP Server-GigabitEthernet0/0/0]dhcp select global [DHCP Server]ip pool vlan10 [DHCP Server-ip-pool-vlan10]network 1.1.1.0 mask 24 [DHCP Server-ip-pool-vlan10]gateway-list 1.1.1.1 [DHCP Server-ip-pool-vlan10]lease day 1 [DHCP Server]ip pool vlan20 [DHCP Server-ip-pool-vlan20]ne...
dhcp-server(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.100//将此地址段排除出地址池 dhcp-server(config)#ip dhcp excluded-address 192.168.4.1 192.168.4.100//将此地址段排除出地址池 dhcp-server(config)#ip dhcp pool vlan1.add //建立地址池vlan1.add dhcp-server(dhcp-config)#network 19...
核心交换机:建vlan 配vlanif 配pool <HeXin>dis cur#dhcp enable#ip pool vlan10pool gateway-list 192.168.10.254 network 192.168.10.0 mask 255.255.255.0 dns-
[SwitchA-Vlan-interface10]ip address 10.1.1.1 255.255.255.0 5. 在VLAN接口10上选择全局地址池方式分配IP地址 [SwitchA-Vlan-interface10]dhcp select global 6. 创建全局地址池,并命名为”vlan10” [SwitchA]dhcp server ip-pool vlan10 7. 配置vlan10地址池给用户分配的地址范围以及用户的网关地址 ...
1、PC无法获取动态IP地址,且不通; 2、PC配置对应Vlan的IP地址,也不通。 组网及组网描述: 路由器配置: dhcp enable dhcp server ip-pool vlan10 gateway-list 192.168.0.1 network 192.168.0.0 mask 255.255.255.0 forbidden-ip 192.168.0.1 dhcp server ip-pool vlan20 gateway-list 192.168.10.1 network...
IPv4 over IPv6隧道配置配置DHCP策略VLAN示例 组网需求 如图4-2所示,企业部署多个部门分支,其中SwitchA部署为DHCP Server,部门A的主机通过SwitchB与DHCP Server相连,部门B的主机通过SwitchC与DHCP Server相连。企业内各部门基于子网划分VLAN,部门A内有2台新加入网络的主机,HostA和HostB;部门B内所有主机均为新加入网络...
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下的一台服务器,要给...
[SW3-vlan50]dhcp policy-vlan generic 6、测试 <SW1>dis ip pool interface vlanif10 Pool-name : vlanif10 Pool-No : 2 Lease : 1 Days 0 Hours 0 Minutes Domain-name : - DNS-server0 : - NBNS-server0 : - Netbios-type : - Position : Interface Sta...