DHCP 拿不到IP
Building configuration...
Current configuration : 4651 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname CTCQ-SW3750-12s-1
!
!
no aaa new-model
switch 1 provision ws-c3750g-12s
system mtu routing 1500
ip subnet-zero
ip routing
ip dhcp excluded-address 192.168.161.240 192.168.162.253
ip dhcp excluded-address 192.168.163.240 192.168.163.253
ip dhcp excluded-address 192.168.164.240 192.168.164.253
ip dhcp excluded-address 192.168.165.240 192.168.165.253
ip dhcp excluded-address 192.168.166.240 192.168.166.253
ip dhcp excluded-address 192.168.167.240 192.168.167.253
ip dhcp excluded-address 192.168.168.240 192.168.168.253
ip dhcp excluded-address 192.168.169.240 192.168.169.253
ip dhcp excluded-address 192.168.171.240 192.168.171.253
ip dhcp excluded-address 192.168.162.240 192.168.162.253
!
ip dhcp pool Wireless
network 192.168.161.0 255.255.255.0
default-router 192.168.161.254
dns-server 192.168.96.234
!
ip dhcp pool 9#4/F
network 192.168.163.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.163.254
!
ip dhcp pool 9#3/F
network 192.168.164.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.164.254
!
ip dhcp pool 9#2/F
network 192.168.165.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.165.254
!
ip dhcp pool 9#1/F
network 192.168.166.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.166.254
!
ip dhcp pool 8#1/F
network 192.168.167.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.167.254
!
ip dhcp pool 8#2/F
network 192.168.168.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.168.254
!
ip dhcp pool 8#3/F
network 192.168.169.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.169.254
!
ip dhcp pool 8#4/F
network 192.168.170.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.170.254
!
ip dhcp pool 8#5/F
network 192.168.171.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.171.254
!
ip dhcp pool 9#5/F
network 192.168.162.0 255.255.255.0
dns-server 192.168.96.234
default-router 192.168.162.254
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/4
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/5
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/6
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/7
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/8
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/9
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/10
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/11
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/12
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan160
ip address 192.168.160.254 255.255.255.0
!
interface Vlan161
ip address 192.168.161.254 255.255.255.0
!
interface Vlan162
ip address 192.168.162.254 255.255.255.0
!
interface Vlan163
ip address 192.168.163.254 255.255.255.0
!
interface Vlan164
ip address 192.168.164.254 255.255.255.0
!
interface Vlan165
ip address 192.168.165.254 255.255.255.0
!
interface Vlan166
ip address 192.168.166.254 255.255.255.0
!
interface Vlan167
ip address 192.168.167.254 255.255.255.0
!
interface Vlan168
ip address 192.168.168.254 255.255.255.0
!
interface Vlan169
ip address 192.168.169.254 255.255.255.0
!
interface Vlan170
ip address 192.168.170.254 255.255.255.0
!
interface Vlan171
ip address 192.168.171.254 255.255.255.0
!
interface Vlan172
ip address 192.168.172.254 255.255.255.0
!
interface Vlan175
ip address 192.168.175.254 255.255.255.0
!
只有Vlan 162 通过DHCP得不到IP ,其它的vlan都可以得到,很奇怪;而且在相应的端口手动指vlan 162相关的IP访问都正常,就是DHCP拿不到IP,我都试了好多回方法了,还是没找到问题的解决方法
不知坛里面有哪个哥们遇过类似问题,望指点
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
路过的哥们很多呀,要是可以的话麻烦留下点什么 :wink:
vlan 162是否配置了DHCP?
你在客户端上抓一个DHCP过程的包我看下。