Ronald, I think that if you add a route to get to right= using the
source IP 11.22.33.46 it should work.

Here's an example:

 $ ip ro get 99.88.77.66                                                        
              # checking the source IP used to get to right=
 99.88.77.66 via 172.24.27.1 dev wlan0  src 11.22.33.46 
    cache 

You see that by default it uses the "main" IP on wlan0. Now let's add
the other IP

 $ sudo ip addr add 11.22.33.46/24 dev wlan0
# adding this IP alias

And add a route to right= using that new IP as the source

 $ sudo ip ro add 99.88.77.66  via 172.24.27.1 src 11.22.33.46  #
172.24.27.1 is my default GW

And confirm all worked:

 $ ip ro get 99.88.77.66
 99.88.77.66 via 172.24.27.1 dev wlan0  src 11.22.33.46 
    cache

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1092816

Title:
  Openswan doesn't honor 'left=' parameter on host with multipe ip's

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openswan/+bug/1092816/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to