- 积分
- 444
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
10鸿鹄币
本帖最后由 IT晓哥 于 2015-8-12 11:24 编辑
问题描述:前两天做了一个综合点的实验。用VTP+单臂+DHCP中继。其他特性都实现了,但是就是DHCP中继的时候,出现了奇怪的问题:
连接在R1路由器下的Host1和PC5可以获取各自网段的IP地址,没有问题。但是,PC1,PC2,PC3,PC4无法获取IP地址。
虽然确实在三层SVI上配置了ip helper 的命,但是仍然无效。问题搞了好久都没有弄好。想请大神帮忙看看吧!拓扑图在下面
GNS3版本1.3.7
路由器IOS:7200
交换机IOS:3745
==========================================
ESW1配置:
interface range f1/1 - 2 switchport mode trunk
vtp mode server
vtp domain abc
vtp password abc
vlan 10
name IT
vlan 20
name HR
interface VLAN 10
ip add 192.168.10.1 255.255.255.0
ip helper-address 10.1.1.1
interface VLAN 20
ip add 192.168.20.1 255.255.255.0
ip helper-address 10.1.1.1
ip routing
ip route 0.0.0.0 0.0.0.0 10.1.1.1
interface f1/5
no switchport
ip add 10.1.1.2 255.255.255.0
ESW2配置:
interface f1/1
switchport mode trunk
vtp mode client
vtp domain abc
vtp password abc
interface f1/3
switchport mode access
switchport access vlan 10
interface f1/4
switchport mode access
switchport access vlan 20
ESW3配置:
interface f1/2
switchport mode trunk
vtp mode client
vtp domain abc
vtp password abc
interface f1/3
switchport mode access
switchport access vlan 10
interface f1/4
switchport mode access
switchport access vlan 20
ESW4配置:
interface f1/1
switchport mode trunk
vlan 40
name CCNA
vlan 50
name CCIE
interface f1/2
switchport mode access
switchport access vlan 40
interface f1/3
switchport mode access
switchport access vlan 50
R1配置:
interface f1/1.40
encapsulation dot1Q 40
ip add 192.168.40.1 255.255.255.0
interface f1/1.50
encapsulation dot1Q 50
ip add 192.168.50.1 255.255.255.0
interface f1/1
no sh
int f1/0
ip add 10.1.1.1 255.255.255.0
no sh
ip route 0.0.0.0 0.0.0.0 10.1.1.2
ip dhcp pool VLAN10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
ip dhcp pool VLAN20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
ip dhcp pool VLAN40
network 192.168.40.0 255.255.255.0
default-router 192.168.40.1
ip dhcp pool VLAN50
network 192.168.50.0 255.255.255.0
default-router 192.168.50.1
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.40.1ip dhcp excluded-address 192.168.50.1
|
-
|