网络菜鸟在这里。
我试图让我的 DHCP 服务器使用 VLAN 1 在 2 台交换机上发出租约。
使用 GNS3,我有 1 个运行 isc-dhcp 的 VirtualBox 来宾和 2 个运行 IOS 12.4 的 Cisco 交换机,配置如下:
[dhcp_server]-(eth1) <--> (fa1/0)[switch_1](fa1/1) <--> (fa1/0)[switch_2]
VLAN 1 是我在两台交换机上配置的唯一 VLAN:
switch_1# conf t
switch_1# int vlan 1
switch_1# ip address dhcp
switch_1# no shut
在 switch_2 上也一样:
switch_2# conf t
switch_2# int vlan 1
switch_2# ip address dhcp
switch_2# no shut
这成功地使用来自 DHCP 服务器的 IP 地址配置了 switch_1,但 switch_2 无法获取 IP 地址。
我尝试将另一个访客 VM 连接到 switch_1,但它也无法从 DHCP 服务器获取 IP 地址。