描述
路由器的接口G0/0和交换机G0/6间是单臂路由,设置了4个子接口,VLAN10 和VLAN30 客户端通过DHCP获得IP地址
问题
接在路由器的GE_0/1的PC想实现和VLAN10通过DHCP获得地址路由器该如何配置
实现AP1和AP2在同一网段,可以互通
请各位大神多指教,谢谢!!!!
路由器的设置
# version 7.1.075, Alpha 7571
# sysname H3C
# dhcp enable
# vlan 1
# vlan 10 to 40
# dhcp server ip-pool vlan10
gateway-list 192.168.10.1
network 192.168.10.0 mask 255.255.255.0
dns-list 8.8.8.8
forbidden-ip 192.168.10.1
# dhcp server ip-pool vlan30
gateway-list 192.168.30.1
network 192.168.30.0 mask 255.255.255.0
dns-list 8.8.8.8
forbidden-ip 192.168.30.1
# interface GigabitEthernet0/0.1 ip address 192.168.10.1 255.255.255.0
vlan-type dot1q vid 10
dhcp server apply ip-pool vlan10
# interface GigabitEthernet0/0.2 ip address 192.168.20.1 255.255.255.0
vlan-type dot1q vid 20
# interface GigabitEthernet0/0.3 ip address 192.168.30.1 255.255.255.0
vlan-type dot1q vid 30
dhcp server apply ip-pool vlan30
# interface GigabitEthernet0/0.4 ip address 192.168.1.1 255.255.255.0
vlan-type dot1q vid 40
交换机的设置
# version 7.1.075, Alpha 7571
# sysname H3C
# vlan 10 description AP
# vlan 20 description IPC
# vlan 30 description MI-VIDEO
# vlan 40 description PLC-SERVER
# interface GigabitEthernet1/0/1 port link-mode bridge
port access vlan 20
combo enable fiber
# interface GigabitEthernet1/0/2 port link-mode bridge
port access vlan 20
combo enable fiber
# interface GigabitEthernet1/0/3 port link-mode bridge
port access vlan 10
combo enable fiber
# interface GigabitEthernet1/0/4 port link-mode bridge
port access vlan 40
combo enable fiber
# interface GigabitEthernet1/0/5 port link-mode bridge
port access vlan 30
combo enable fiber
# interface GigabitEthernet1/0/6 port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论