Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-19 Thread Ole Troan
Carlito, Some more detail would be helpful. Are you using VPP purely as a host, or are VPP acting as a router with other nodes behind it? For the VPP as a host case, I'd prefer to use a scoped/zoned address approach. E.g. ping 8.8.8.8@wan0 Source address selection should then pick a source

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-16 Thread Neale Ranns via Lists.Fd.Io
it and FIB can use this for link state monitoring. /neale -Message d'origine- De : au nom de carlito nueno Date : vendredi 16 août 2019 à 00:20 À : "bbal...@juniper.net" Cc : "vpp-dev@lists.fd.io" Objet : Re: [vpp-dev] Help with two interfaces accessing outside ne

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-15 Thread carlito nueno
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

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-15 Thread Balaji B via Lists.Fd.Io
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.

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-14 Thread carlito nueno
Sorry for not being clear. Each of the interfaces is connected to a different network (ISP). The scenario is of dual WAN. One ISP is providing static address and other is providing DHCP. wan1 is receiving DHCP. If I ONLY have: ip route add 0.0.0.0/0 via 172.78.10.158 wan0 then I am able to ping

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-14 Thread Balaji B via Lists.Fd.Io
I am assuming wan1 is also connected to same network as wan0, is that correct? Curious, what is your use case for wanting to have two interface connected to same network? Also, check to see if you got an address from DHCP and try to ping the next hop first. -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-14 Thread Neale Ranns via Lists.Fd.Io
172.78.10.158 wan0 still routes the packet via wan0. Maybe the upstream peer does uRPF. /neale -Message d'origine- De : au nom de carlito nueno Date : mardi 13 août 2019 à 22:55 À : "vpp-dev@lists.fd.io" Objet : [vpp-dev] Help with two interfaces accessing outside network Hi all,

[vpp-dev] Help with two interfaces accessing outside network

2019-08-13 Thread carlito nueno
Hi all, I am trying to setup two WAN interfaces where each of them can access to the outside world at the same time. So far I have: set int state wan0 up set int state wan1 up set int ip address wan0 172.78.10.155/29 set dhcp client intfc wan1 hostname test-wans ip route add 0.0.0.0/0 via