Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] SD-WAN experiment

Subject: Rare project developers

List archive

Re: [rare-dev] SD-WAN experiment


Chronological Thread 
  • From: Edgard da Cunha Pontes <>
  • To: mc36 <>
  • Cc:
  • Subject: Re: [rare-dev] SD-WAN experiment
  • Date: Wed, 13 Jul 2022 00:04:48 -0300

Hi Csaba,

Only now I was able to continue the tests with the SD-WAN.

After doing some testing, I got the following progress:

On SD-WAN server (GCloud VM)
freertr#show sdwan gcloud                                                                              
addr                 port     user hub  id         prt addr                  port  prm inner4    inner6  for       since
[my-public-ip]  35206  u     true  28694  4    192.168.25.43  2554       2.2.2.10  ::      00:55:00  2022-07-13 03:51:04
[my-public-ip]  35520  u     true  31270  4    192.168.25.45  2554       2.2.2.12  ::      00:08:32  2022-07-13 04:37:33

On client VMs:
freertr#show vpdn gcloud                                                                                
user  peer                 port    num    iface                        addr4     addr6
u       [my-public-ip]  2554  28694  access334989981  2.2.2.10  ::

freertr#show vpdn gcloud                                                                                
user peer                 port   num     iface                        addr4     addr6                                    
u      [my-public-ip]  2554  31270  access782128584  2.2.2.12  ::

I still don't have connectivity (ping) between the VMs over the IPs (2.2.2.10 and 2.2.2.12). The dialer and "access..." interfaces are down.

i) Is it normal for the dialer and "access..." interfaces to be down?
ii) Is it now that I need to configure a dynamic routing protocol between these nodes?

Thanks again.

Em seg., 11 de jul. de 2022 às 12:58, mc36 <> escreveu:
hi,
so these vpdns should point to the eth1's ip of the gcloud node, assuming that ip is public or at least reachable to the clients...
if you want to make that private addressed loopback on the gcloud node reachable to the clients then you'll have to add the
client config knobs to the gcloud node itselt too... btw please note that this sdwan server just creates a bunch of l2tp
back and forth between the clients (marked as hub).. to move further, you'll need to run a routing protocol above these...
feel free to use the following as an example: http://sources.freertr.org/cfg/serv-sdwan01.tst
to run it locally on your computer, you can do the following:
wget freertr.org/rtr.zip
unzip rtr.zip
cd src
./c.sh
./tw.sh serv-sdwan01
afterward all the above, you can reach the router described in the test case by
telnet localhost 20001
telnet localhost 20002
telnet localhost 20003
telnet localhost 20004
br,
cs


On 7/11/22 16:56, Edgard da Cunha Pontes wrote:
> Hi everyone!
>
> While I was testing RARE/freeRtr's SD-WAN functionality, the following (noob) question came up:
>
> On client VMs, how to point to a loopback interface, on VM/GCloud (SD-WAN server) that is behind an associated public IP? I was in doubt which target I should put in the vpdn settings.
>
> I made a basic description of the settings I am using:
>
> https://github.com/edgardcunha/freeRouter/tree/main/sdwan/01 <https://github.com/edgardcunha/freeRouter/tree/main/sdwan/01>
>
> I hope this basic description can help you to understand this doubt.



Archive powered by MHonArc 2.6.19.

Top of Page