思科路由器双外网如何配置

2023-05-14 综合 22阅读
使用策略路由
比如陵袜慧vlan 10
ip access-list extended vlan10_gateway
permit ip 192.168.1.0 0.0.0.255 any
route-map routemap_vlan10
match ip vlan10_gateway
set ip next-hop 1.1.1.2 //尺答(s0/0/0的对端地址)
比如vlan20
ip access-list extended vlan20_gateway
permit ip 172.16.0.0 0.0.0.255 any
route-map routemap_vlan20
match ip vlan20_gateway
set next-hop 2.2.2.1 //(s0/0/1的对端地址)
#在子接口中绑好滚定route-map
int f0.1
ip policy route-map routemap_vlan10
interface f0.2
ip policy route-map routemap_vlan20
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com