我目前核心21口192.168.100.2 上连出口路由a 192.168.100.1核心15口192.168.200.1 上连出口路由b 192.168.200.2核心划分了vlan 1 172.20.85.0 用pc vlan 20 192.168.20.0用apvlan40 192.168.40.2核心和ac旁挂 192.168.40.1vlan10接的监控192.168.10.0 把核心的10口划分到vlan10现在情况是,我写了静态0.0.0.0 192.168.100.1所有都跑192.168.100.1了,怎么让,pc和ap跑出口a192.168.100.1让监控192.168.10.0段跑出口b 192.168.200.2我因该怎能配置,老师给个详细配置H3C核心交换机 S5500V2 SERIES 3113p02版本DEVICE_NAME : S5500V2-24P-SIDEVICE_SERIAL_NUMBER : 210235A1WKC16B000007MAC_ADDRESS : B0F9-63
acl number 3000
rule 1 permit ip source 172.20.85.0 0.0.0.255
rule 1000 deny ip
#
policy-based-route PC node 10
if-match acl 3000
apply next-hop 192.168.100.1(如不支持下一跳IP,则使用出接口apply output-interface GigabitEthernet0/0/15这里举例,需用实际接口)
#
interface Vlan-interface1
ip policy-based-route PC
#
acl number 3001
rule 1 permit ip source 192.168.10.0 0.0.0.255
rule 1000 deny ip
#
policy-based-route AP node 10
if-match acl 3001
apply next-hop 192.168.100.1(如不支持下一跳IP,则使用出接口apply output-interface GigabitEthernet0/0/15这里举例,需用实际接口)
#
interface Vlan-interface10
ip policy-based-route AP
#
acl number 3002
rule 1 permit ip source 172.20.85.0 0.0.0.255
rule 1000 deny ip
#
policy-based-route JK node 10
if-match acl 3002
apply next-hop 192.168.200.2(如不支持下一跳IP,则使用出接口apply output-interface GigabitEthernet0/0/21这里举例,需用实际接口)
#
interface Vlan-interface40
ip policy-based-route JK
#
ip route-static 0.0.0.0 0 192.168.100.1
ip route-static 0.0.0.0 0 192.168.200.2
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论