设为首页收藏本站language 语言切换
查看: 1617|回复: 7
收起左侧

[求助] 请各位专家帮助我看一下ip dhcp snooping的问题,谢谢!!!

[复制链接]
发表于 2016-12-22 16:13:20 | 显示全部楼层 |阅读模式
5鸿鹄币
各位网络专家好,我是网络管理的新手,在做ip dhcp snooping实验时计算机终端始终不能获取IP地址,但未启用ip dhcp snooping时可以正常获取IP地址。多谢!!!


具体情况:
1、DHCP服务器能够正常分配IP地址

2、3560的配置如下
ip dhcp snooping vlan 2
ip dhcp snooping information option allow-untrusted
ip dhcp snooping
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
ip dhcp snooping trust
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end

3、2960的配置如下
ip dhcp snooping vlan 2
ip dhcp snooping
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
ip dhcp snooping trust
switchport mode trunk
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
end

4、网络拓扑图如下

1.jpg

附件中有我packet tracer的PKT文件

ip dhcp snooping.pkt

161.61 KB, 下载次数: 2, 下载积分: 鸿鹄币 -1 个

最佳答案

查看完整内容

此现象是由于PT模拟器不支持option剔除导致的,有两种解决方法: 1,将2台交换机的2个端口都改成信任端口; 可以获取IP,这么操作基本没意义; 2,换模拟器进行测试; 有问题找何老师【Q 1052887325】
发表于 2016-12-22 16:13:21 | 显示全部楼层
此现象是由于PT模拟器不支持option剔除导致的,有两种解决方法:
1,将2台交换机的2个端口都改成信任端口;   可以获取IP,这么操作基本没意义;
2,换模拟器进行测试;  
  有问题找何老师【Q 1052887325】
沙发 2016-12-22 16:13:21 回复 收起回复
回复

使用道具 举报

发表于 2016-12-22 19:36:37 | 显示全部楼层
额  3560的g口换成trust试试   
板凳 2016-12-22 19:36:37 回复 收起回复
回复

使用道具 举报

发表于 2016-12-22 19:37:52 | 显示全部楼层
八百 发表于 2016-12-22 19:36
额  3560的g口换成trust试试

刚做了一遍 发现没连通  尴尬了     
地板 2016-12-22 19:37:52 回复 收起回复
回复

使用道具 举报

发表于 2016-12-22 21:57:20 | 显示全部楼层
换个模拟器试试
5# 2016-12-22 21:57:20 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-12-23 10:25:13 | 显示全部楼层
八百 发表于 2016-12-22 19:37
刚做了一遍 发现没连通  尴尬了

是呢,不知道为什么,谢谢!!!
6# 2016-12-23 10:25:13 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-12-23 10:26:28 | 显示全部楼层
Rockyw 发表于 2016-12-22 21:57
换个模拟器试试

谢谢!!!不过思科的就会用这个了
7# 2016-12-23 10:26:28 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-12-26 14:58:11 | 显示全部楼层
广州华尔思 发表于 2016-12-24 15:45
此现象是由于PT模拟器不支持option剔除导致的,有两种解决方法:
1,将2台交换机的2个端口都改成信任端口 ...

谢谢!!!
8# 2016-12-26 14:58:11 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-7 20:52 , Processed in 0.059583 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表