dhcp server ip-pool vlan10
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
dns-list 8.8.8.8
forbidden-ip 192.168.1.1
interface GigabitEthernet0/0
port link-mode route
ip address 10.10.10.1 255.255.255.0
ip route-static 192.168.1.0 24 10.10.10.1
sw配置如下:
interface Vlan-interface10
ip address 192.168.1.1 255.255.255.0
dhcp select relay
dhcp relay server-address 10.10.10.1
interface Vlan-interface100
ip address 10.10.10.2 255.255.255.0
interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 100
interface GigabitEthernet1/0/2
port link-mode bridge
port access vlan 10
ip route-static 0.0.0.0 0 10.10.10.2
pc 获取不到ip是怎么回事?
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明