Quantcast
Viewing all articles
Browse latest Browse all 60861

Re: Policy-based routing (source address based) not working in EdgeMAX 1.9.0 on EdgeRouter X?

Hi ,

 

I'm having exactly the same issue. The problem is that source routing rules apply *before* your (and mine) openvpn connection gets established and "vtun0" gets created. This means that Edgerouter runs routing commands on non-existent interface that has no IPs. I had this setup working on previous EdgeMax software versions, but now it is horribly broken.

 

Basically to prove my words you can simply login into edgerouter and go to configure right after boot and re-create static routes like

 

delete protocols static table 1

commit

set protocols static table 1 route 0.0.0.0/0 next-hop 192.168.10.237

commit

 

Because your vtun0 interface will be up at that moment, your static routes will be created and things will work. Altenatively you can check this by running "ip r s t 1" after boot - you will see empty table, and run same "ip r s t 1" after re-creation of static routes as shown above.

 

It is pity this bug passed to production. I spent sleepless night to find this.

Also, there's no simple work-around. I'm going to try firmware down-grade.


Viewing all articles
Browse latest Browse all 60861

Trending Articles