Hi Carlito, You almost certainly want them in the same table.
As I said, if you do this: ping 8.8.8.8 source wan1 then the ping packet will be constructed with a source address from wan1, but it will still follow your routing config for transmission. This means that if you have: ip route add 0.0.0.0/0 via 172.78.10.158 wan0 then the packet will be sent on wan0 but with wan1's source, the upstream could/should reject this due to a uRPF check. You might lobby the community, or perhaps add yourself, a 'send via interface,nexthop' option to ping. Regarding redundancy, if you configure ECMP; ip route add 0.0.0.0/0 via 172.78.10.158 wan0 ip route add 0.0.0.0/0 via <NH> wan1. /// or perhaps your DHHCP server gives you this then the FIB will react to the state of the links. When one is down only the other will be used. You can also configure BFD if you peer supports it and FIB can use this for link state monitoring. /neale -----Message d'origine----- De : <vpp-dev@lists.fd.io> au nom de carlito nueno <carlitonu...@gmail.com> Date : vendredi 16 août 2019 à 00:20 À : "bbal...@juniper.net" <bbal...@juniper.net> Cc : "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Objet : Re: [vpp-dev] Help with two interfaces accessing outside network Hi Balaji, As far as I know, VPP doesn't have link monitoring to switch routes. But as you said, I added a cron job to check link status and switch routes on failure. I added each interface route to a particular FIB table. This way I am able to use ping 8.8.8.8 source wan0 or wan1. Is this the correct way? Thanks! On Thu, Aug 15, 2019 at 2:46 PM Balaji B via Lists.Fd.Io <bbalaji=juniper....@lists.fd.io> wrote: > > Not sure there is a way to do this without a routing protocol. > > Don't think there is link monitoring or path monitoring to switch the default route to backup route. > > Maybe you can have a cron job that check the link status and next hop connectivity and switch the route when there is a failure. > > Good luck. -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#13755): https://lists.fd.io/g/vpp-dev/message/13755 > Mute This Topic: https://lists.fd.io/mt/32857184/675621 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [carlitonu...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13762): https://lists.fd.io/g/vpp-dev/message/13762 Mute This Topic: https://lists.fd.io/mt/32857184/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-