0

我的帖子

个人中心

设置

  发新话题
华为S5700划VLAN后
电脑手工分配固定IP
然后一小部分电脑DHCP的IP跟固定IP冲突。
请问怎么解决?
假如手工固定IP192.168.16.2-192.168.16.230
但是有一部分手工IP的电脑没开
然后DHCP就获取到了手工固定IP192.168.16.2-192.168.16.230其中一个(192.168.16.50)
然后手工电脑IP(192.168.16.50)电脑开机了,这样就冲突了
大概情况就这个样子

麻烦各位看看要怎么弄?
谢谢~~!!

!Software Version V200R001C00SPC300
sysname rmk
#
vlan batch 2 15 to 18 100
#
undo http server enable
#
undo nap slave enable
#
dhcp enable
#
dhcp server database enable

ip pool 15
gateway-list 192.168.15.1
network 192.168.15.0 mask 255.255.255.0
lease day 1 hour 1 minute 1
dns-list 202.96.128.86 202.96.128.166
#
ip pool 16
gateway-list 192.168.16.1
network 192.168.16.0 mask 255.255.255.0
lease day 1 hour 1 minute 1
dns-list 202.96.128.86 202.96.128.166
#
ip pool 17
gateway-list 192.168.17.1
network 192.168.17.0 mask 255.255.255.0
lease day 1 hour 1 minute 1
dns-list 202.96.128.86 202.96.128.166
#
ip pool 18
gateway-list 192.168.18.1
network 192.168.18.0 mask 255.255.255.0
lease day 1 hour 1 minute 1
dns-list 202.96.128.86 202.96.128.166
#
ip pool 19
gateway-list 192.168.19.1
network 192.168.19.0 mask 255.255.255.0
lease day 1 hour 1 minute 1
dns-list 202.96.128.86
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user rmk password cipher %$%$RMWfYzmP:4)W|r1TSFDE5md[%$%$
local-user rmk privilege level 15
local-user rmk service-type telnet
local-user admin password cipher %$%$O9hP7mbf4Q#E\vU4j#wX3ypg%$%$
local-user admin service-type http
#
interface Vlanif1
ip address 172.16.1.3 255.255.255.0
dhcp select interface
#
interface Vlanif15
ip address 192.168.15.1 255.255.255.0
dhcp select global
#
interface Vlanif16
ip address 192.168.16.1 255.255.255.0
dhcp select global
#
interface Vlanif17
ip address 192.168.17.1 255.255.255.0
dhcp select global
#
interface Vlanif18
ip address 192.168.18.1 255.255.255.0
dhcp select global
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 15
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 15
#
interface GigabitEthernet0/0/5
port link-type access
port default vlan 15
#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 15
#
interface GigabitEthernet0/0/7
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/8
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/9
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/10
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/11
port link-type access
port default vlan 17
#
interface GigabitEthernet0/0/12
port link-type access
port default vlan 17
#
interface GigabitEthernet0/0/13
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/14
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/15
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/16
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/17
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/18
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/19
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/20
port link-type access
port default vlan 16
#
interface GigabitEthernet0/0/21
port link-type access
port default vlan 18
#
interface GigabitEthernet0/0/22
port link-type access
port default vlan 18
#
interface GigabitEthernet0/0/23
port link-type access
port default vlan 18
#
interface GigabitEthernet0/0/24
port link-type access
port default vlan 18
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 172.16.1.1
#
ssh user rmk
ssh user rmk authentication-type password
ssh user rmk service-type stelnet
#
user-interface maximum-vty 15
user-interface con 0
authentication-mode password
set authentication password cipher %$%$C=G)6z&*x=Tvfe<(`Ht<,KB9uVa!L4^Yz%4F=*=$ia<"QHC%$%$
user-interface vty 0 14
authentication-mode aaa
user privilege level 3
user-interface vty 16 20
#
return

1.png (32.88 KB)

2018-10-5 15:40

1.png




本帖最后由 呜啦啦啊 于 2018-10-5 15:44 编辑
1   地址池排除 固定ip
2 清除 dhcp地址池




引用:
原帖由 janeyou 于 2018-10-6 11:35 发表
1   地址池排除 固定ip
2 清除 dhcp地址池

楼上真棒,就是这样来



引用:
原帖由 janeyou 于 2018-10-6 11:35 发表
1   地址池排除 固定ip
2 清除 dhcp地址池

OK,明白了,谢谢



引用:
原帖由 网络调试 于 2018-10-8 11:24 发表

楼上真棒,就是这样来
OK,明白了,谢谢



这么多 vlan  干嘛不上一台DHCP服务器,简单方便直观



引用:
原帖由 ft87994437 于 2018-10-9 15:09 发表
这么多 vlan  干嘛不上一台DHCP服务器,简单方便直观
其实也就3个VLAN在用,PC+wifi那些加起来也就200-300左右



引用:
原帖由 ft87994437 于 2018-10-9 15:09 发表
这么多 vlan  干嘛不上一台DHCP服务器,简单方便直观
我这里一个S5700系列交换机上面划了快30个vlan......



‹‹ 上一贴:堆叠问题   |   下一贴:请问2309-PWR-EI交换机的升级包 ››
  发新话题
快速回复主题
关于我们 | 诚聘英才 | 联系我们 | 网站大事 | 友情链接 |意见反馈 | 网站地图
Copyright©2005-2018 51CTO.COM
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系:bbs@51cto.com