<div dir="ltr">Hi.<div><br></div><div>I'm running Ubiquiti EdgeRouter 1.9.7-beta1 that is running strongSwan 5.2.2, Linux 3.10.14-UBNT, mips.</div><div><br></div><div>In dual-wan environment where pppoe0 is primary WAN and eth2 is fail-over only WAN the system won't populate table 220. Not sure why, below are some relevant config and log pieces.</div><div><br></div><div>Any help/direction appreciated. Thank you</div><div><br></div><div>---</div><div>charon.log</div><div><div>Jun 20 22:11:36 00[DMN] Starting IKE charon daemon (strongSwan 5.2.2, Linux 3.10.14-UBNT, mips)</div><div>Jun 20 22:11:37 00[KNL] known interfaces and IP addresses:</div><div>Jun 20 22:11:37 00[KNL] lo</div><div>Jun 20 22:11:37 00[KNL] 127.0.0.1</div><div>Jun 20 22:11:37 00[KNL] ::1</div><div>Jun 20 22:11:37 00[KNL] switch0</div><div>Jun 20 22:11:37 00[KNL] fe80::822a:a8ff:fe1f:7c36</div><div>Jun 20 22:11:37 00[KNL] imq0</div><div>Jun 20 22:11:37 00[KNL] eth0</div><div>Jun 20 22:11:37 00[KNL] fe80::822a:a8ff:fe1f:7c30</div><div>Jun 20 22:11:37 00[KNL] eth1</div><div>Jun 20 22:11:37 00[KNL] 10.10.8.1</div><div>Jun 20 22:11:37 00[KNL] fe80::822a:a8ff:fe1f:7c31</div><div>Jun 20 22:11:37 00[KNL] eth2</div><div>Jun 20 22:11:37 00[KNL] 172.16.16.1</div><div>Jun 20 22:11:37 00[KNL] fe80::822a:a8ff:fe1f:7c32</div><div>Jun 20 22:11:37 00[KNL] eth3</div><div>Jun 20 22:11:37 00[KNL] eth4</div><div>Jun 20 22:11:37 00[KNL] 192.168.250.1</div><div>Jun 20 22:11:37 00[KNL] eth5</div><div>Jun 20 22:11:37 00[KNL] eth0.2</div><div>Jun 20 22:11:37 00[KNL] 10.10.11.1</div><div>Jun 20 22:11:37 00[KNL] fe80::822a:a8ff:fe1f:7c30</div><div>Jun 20 22:11:37 00[KNL] eth0.1</div><div>Jun 20 22:11:37 00[KNL] 10.10.10.1</div><div>Jun 20 22:11:37 00[KNL] fe80::822a:a8ff:fe1f:7c30</div><div>Jun 20 22:11:37 00[KNL] vtun0</div><div>Jun 20 22:11:37 00[KNL] 10.10.254.1</div><div>Jun 20 22:11:37 00[KNL] pppoe0</div><div>Jun 20 22:11:37 00[KNL] 23.91.155.88</div></div><div><div>Jun 20 22:11:41 09[KNL] 212.89.228.31 is not a local address or the interface is down</div><div>Jun 20 22:11:41 11[KNL] using 23.91.155.88 as address to reach <a href="http://212.89.228.31/32" target="_blank">212.89.228.31/32</a></div><div>Jun 20 22:11:41 11[KNL] adding policy <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> === <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> out (mark 0/0x00000000)</div><div>Jun 20 22:11:41 11[KNL] adding policy <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> === <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> in (mark 0/0x00000000)</div><div>Jun 20 22:11:41 11[KNL] adding policy <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> === <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> fwd (mark 0/0x00000000)</div><div>Jun 20 22:11:41 11[KNL] getting a local address in traffic selector <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a></div><div>Jun 20 22:11:41 11[KNL] using host 10.10.10.1</div><div>Jun 20 22:11:41 11[KNL] using 212.89.228.31 as nexthop to reach <a href="http://212.89.228.31/32" target="_blank">212.89.228.31/32</a></div><div>Jun 20 22:11:41 11[KNL] 23.91.155.88 is on interface pppoe0</div><div>Jun 20 22:11:41 11[KNL] installing route: <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> via 212.89.228.31 src 10.10.10.1 dev pppoe0</div><div>Jun 20 22:11:41 11[KNL] getting iface index for pppoe0</div><div>Jun 20 22:11:41 11[KNL] unable to install source route for 10.10.10.1</div></div><div>---</div><div><br></div><div><div># ip route </div><div><a href="http://0.0.0.0/24">0.0.0.0/24</a> dev vtun0 proto kernel scope link </div><div>default dev pppoe0 proto zebra </div><div><a href="http://10.8.0.0/24">10.8.0.0/24</a> via 172.16.16.3 dev eth2 proto zebra </div><div><a href="http://10.10.8.0/24">10.10.8.0/24</a> dev eth1 proto kernel scope link src 10.10.8.1 </div><div><a href="http://10.10.10.0/24">10.10.10.0/24</a> dev eth0.1 proto kernel scope link src 10.10.10.1 </div><div><a href="http://10.10.11.0/24">10.10.11.0/24</a> dev eth0.2 proto kernel scope link src 10.10.11.1 </div><div><a href="http://10.10.254.0/24">10.10.254.0/24</a> dev vtun0 proto kernel scope link src 10.10.254.1 </div><div>23.91.155.88 dev pppoe0 proto kernel scope link </div><div><a href="http://135.23.39.0/24">135.23.39.0/24</a> via 172.16.16.3 dev eth2 proto zebra </div><div><a href="http://172.16.16.0/24">172.16.16.0/24</a> dev eth2 proto kernel scope link src 172.16.16.1 </div><div><a href="http://172.17.0.0/16">172.17.0.0/16</a> via 172.16.16.3 dev eth2 proto zebra </div><div><a href="http://192.168.1.0/24">192.168.1.0/24</a> via 172.16.16.5 dev eth2 proto zebra </div><div><a href="http://192.168.32.0/24">192.168.32.0/24</a> via 172.16.16.3 dev eth2 proto zebra </div><div><a href="http://192.168.33.0/24">192.168.33.0/24</a> via 172.16.16.3 dev eth2 proto zebra </div><div><a href="http://192.168.250.0/24">192.168.250.0/24</a> dev eth4 proto kernel scope link src 192.168.250.1 </div><div>206.248.155.244 dev pppoe0 proto kernel scope link src 23.91.155.88 </div></div><div><br></div><div>My load-balancing wan specific tables are 201 and 202</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># ip rule </span><br>0: from all lookup local <br>201: from all fwmark 0x64800000/0x7f800000 lookup 201 <br>202: from all fwmark 0x65000000/0x7f800000 lookup 202 <br>220: not from all fwmark 0xffffffff lookup 220 <br>254: from all fwmark 0x7f000000/0x7f800000 lookup main <br>32766: from all lookup main <br>32767: from all lookup default <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># ip route list table 201
</span><br><a href="http://0.0.0.0/24">0.0.0.0/24</a> dev vtun0 scope link <br>default via 172.16.16.3 dev eth2 <br>blackhole default metric 256 <br><a href="http://10.10.8.0/24">10.10.8.0/24</a> dev eth1 scope link <br><a href="http://10.10.10.0/24">10.10.10.0/24</a> dev eth0.1 scope link <br><a href="http://10.10.11.0/24">10.10.11.0/24</a> dev eth0.2 scope link <br><a href="http://10.10.254.0/24">10.10.254.0/24</a> dev vtun0 scope link <br>23.91.155.88 dev pppoe0 scope link <br><a href="http://127.0.0.0/8">127.0.0.0/8</a> dev lo scope link <br><a href="http://172.16.16.0/24">172.16.16.0/24</a> dev eth2 scope link <br>206.248.155.244 dev pppoe0 scope link <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># ip route list table 202
</span><br><a href="http://0.0.0.0/24">0.0.0.0/24</a> dev vtun0 scope link <br>default dev pppoe0 scope link <br>blackhole default metric 256 <br><a href="http://10.10.8.0/24">10.10.8.0/24</a> dev eth1 scope link <br><a href="http://10.10.10.0/24">10.10.10.0/24</a> dev eth0.1 scope link <br><a href="http://10.10.11.0/24">10.10.11.0/24</a> dev eth0.2 scope link <br><a href="http://10.10.254.0/24">10.10.254.0/24</a> dev vtun0 scope link <br>23.91.155.88 dev pppoe0 scope link <br><a href="http://127.0.0.0/8">127.0.0.0/8</a> dev lo scope link <br><a href="http://172.16.16.0/24">172.16.16.0/24</a> dev eth2 scope link <br>206.248.155.244 dev pppoe0 scope link<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># ifconfig pppoe0 </span><br>pppoe0 Link encap:Point-to-Point Protocol <br> inet addr:23.91.155.88 P-t-P:206.248.155.244 Mask:255.255.255.255
<br> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
<br> RX packets:18322883 errors:0 dropped:0 overruns:0 frame:0
<br> TX packets:26636643 errors:0 dropped:0 overruns:0 carrier:0
<br> collisions:0 txqueuelen:100 <br> RX bytes:6601840681 (6.1 GiB) TX bytes:33442132686 (31.1 GiB)
<br>
<br># ifconfig eth2 <br>eth2 Link encap:Ethernet HWaddr 80:2a:a8:1f:7c:32 <br> inet addr:172.16.16.1 Bcast:172.16.16.255 Mask:255.255.255.0
<br> inet6 addr: fe80::822a:a8ff:fe1f:7c32/64 Scope:Link
<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
<br> RX packets:3680666 errors:0 dropped:6596 overruns:0 frame:0
<br> TX packets:6714323 errors:0 dropped:0 overruns:0 carrier:0
<br> collisions:0 txqueuelen:1000 <br> RX bytes:299818848 (285.9 MiB) TX bytes:9448033589 (8.7 GiB)<br>
<br></span></div></div>