返回列表 发帖

帮我来配配cisco路由器2800问题及解答

因公司测试需要,买了cisco的2800产品
带有IPV4和IPV6
现有一个网络。要求DHCP从192.168.1.2-192.168.2.254为止,为一个网段,可以互访,也是就搞一下子网掩码就可以。

然后这中间有192.168.1.2-192.168.1.30  和192.168.1.150-192.168.1.254 和192.168.2.150-192.168.2.254为固定IP,其它为DHCP
那么想问高人。
用telnet命令如何设啊。



网友:
config t
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.30
ip dhcp excluded-address 192.168.0.1 192.168.0.255
ip dhcp excluded-address 192.168.3.1 192.168.3.254
ip dhcp excluded-address 192.168.1.150 192.168.1.254
ip dhcp excluded-address 192.168.2.150 192.168.2.254
ip dhcp pool IPV4
   network 192.168.0.0 255.255.252.0
   dns-server 202.96.134.133
   default-router 192.168.1.1
int fa0/0
ip address 192.168.1.1 255.255.252.0
no shut



网友2:

路由器可以做DHCP的功能吗

直接搞台DHCP服务器好的多啊

返回列表