如何让SRX220响应同一子网上的多个ip地址,但网关不同。
例如,
子网: 1.1.1.40/30 (.41网关,.42实际ip)子网: 1.1.1.44/30 (.45网关,.46实际ip)
这两个下降进入一个适当的开关,并输出到srx。
验证所有连接独立工作。
10小时了-尝试了ARP,把ip加到ge-0,我少了什么?
发布于 2013-05-26 09:09:29
你想要的东西沿着…
set interface <interface name> unit 0 family inet address 1.1.1.42/30
set interface <interface name> unit 1 family inet address 1.1.1.46/30
set routing-options static route 0.0.0.0/0 next-hop 1.1.1.41
set routing-options static route 0.0.0.0/0 next-hop 1.1.1.45但这可能不是您真正想要做的事情--这将导致您在两个静态路由之间进行相同的成本负载平衡,这将导致不对称路由(以及您的策略从而减少返回流量)。更糟糕的是,如果您正在使用NAT,您的流量将看起来像是来自两个不同的地方。
如果您想要做的只是使用一条路线,而在遇到问题时失败到另一条,那么您需要一些类似于
set interface <interface name> unit 0 family inet address 1.1.1.42/30
set interface <interface name> unit 1 family inet address 1.1.1.46/30
set routing-options static route 0.0.0.0/0 next-hop 1.1.1.41
set routing-options static route 0.0.0.0/0 qualified-next-hop preference 25 1.1.1.45 https://serverfault.com/questions/510930
复制相似问题