双链路是什么意思_Juniper SRX防火墙双链路配置实例一

本文通过拓扑图和配置实例介绍了如何在Juniper SRX防火墙上配置双链路,确保PC1和PC2访问HTTP服务走wan1,telnet服务走wan2,其余流量走wan1。配置包括创建路由实例和设置路由信息组。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

拓扑图:

需求:

PC1

PC2

主机访问

http

服务走

ge-0/0/0

(

wan1

),访问

telnet

服务走

ge-0/0/1

(

wan2

)。其余走

ge-

0/0/0

(

wan1

)。

配置过程:

第一步,创建路由实例

(routing-instance)

set routing-instances

wan1

instance-type

forwarding

set routing-instances

wan1

routing-options static route

0.0.0.0/0

next-hop

202.100.1.1

set routing-instances

wan2

instance-type

forwarding

set routing-instances

wan2

routing-options static route

0.0.0.0/0

next-hop

202.100.2.1

wan1

:路由实例的名称

forwarding

:路由实例的类型

PS

:每一个路由实例可以理解为一个单独的路由转发表。

第二步:设置路由信息组(

rib-groups

)

set routing-options rib-groups

routing_table_group

import-rib

inet.0

set routing-options rib-groups

routing_table_group

import-rib

wan1.inet.0

set routing-options rib-groups

routing_table_group

import-rib

wan2.inet.0

说明:

routing_table_group

:路由信息组名称

wan1.inet.0

:如果

wan1

的话,它的路由转发表的命名就是

wan1.inet.0

,是自动生成的。

PS:As the two ISPs are part of inet.0, the rib-group configuration is required to import the directly

connected routes of the ISP into the routing-instance. (

来自官方解释

)

意思就是需要将直连的路由输入到路由实例中。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值