Project

General

Profile

Bug #15657

Updated by Marcos M 4 months ago

When @route-to@ sends traffic out of a different gateway from the default route, the state's interface is set according to the new gateway/path and the original default route's interface is kept in the @origif@ value. In the following example, @igc3@ is WAN1 (default gateway) and @igc2@ is WAN2. The state is a ping sourced from WAN2's address (using the @if-bound@ state policy): address: 
 <pre> 
 igc2 icmp 192.168.1.253:10514 -> 1.1.1.1:8         0:0 
    age 00:00:07, expires in 00:00:09, 7:7 pkts, 588:588 bytes, rule 166, allow-opts 
    id: f86ccf6600000000 creatorid: dc608246 route-to: 192.168.1.254@igc2 
    origif: igc3 
 </pre> 

 Currently, the diagnostics page lists @origif@ for the interface; instead it should show the "real" interface.

Back