您好,欢迎来到筏尚旅游网。
搜索
您的当前位置:首页中继式dhcp

中继式dhcp

来源:筏尚旅游网
中继式dhcp:top图如下:

具体步骤:

客户端:R1enable

config terminalhostname R1

no ip domain lookupline con 0

exec-timeout 00logging synchronousexit

interface FastEthernet0/0ip address dhcp客户端仍然只需设端口为dhcp自动获取no shutdownexitexit

debug ip dhcp server eventsdebug ip dhcp server packet

中间服务器:R2enable

config terminalhostname R2

no ip domain lookupline console 0exec-timeout 00logging synchronousexit

interface f0/0

ip address 192.168.1.1 255.255.255.0no shutdownexit

interface s1/1

ip address 192.168.2.2 255.255.255.0no shutdownexit

interface f0/0

ip helper-address 192.168.2.1 此处的帮助地址是很重要的,必须标明且是真是服务器的s1/0端口地址no shutdown

真实的服务器:R3

enable

config terminalhostname R3

no ip domain lookupline console 0exec-timeout 00logging synchronousexit

interface s1/0

ip address 192.168.2.1 255.255.255.0no shutdown exit

保留地址段ip dhcp excluded-address 192.168.1.1 192.168.1.100

地址池名字ip dhcp pool liulei

network 192.168.1.0 255.255.255.0 所发布的网络段

默认路由default-route 192.168.1.1

dns-server 202.103.24.68 dns服务lease 10exit

ip route 192.168.1.0 255.255.255.0 s1/0到所发布网段的静态路由条目

注意:这个实验,要注意的地方就是中间服务器以太网口上所配置的帮助地址,必须是真实服务器上的s1/0的地址还有就是真实服务器上最后所配置的那个静态路由条目,只有这两点做到了才会实现中继式发放ip。

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- efsc.cn 版权所有 赣ICP备2024042792号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务