From: D. Hugh Redelmeier (hugh_at_mimosa.com)
Date: Fri Jan 10 2003 - 20:46:30 CET
| From: Michael Niehren <michael_at_niehren.de>
| Date: Sat, 21 Dec 2002 15:48:42 +0100
| i try to setup VPN-Connection over 2 IPSEC-Interfaces, the first uses ppp0 over
| DSL from the internet, the second uses eth2 over WLAN.
| interfaces="ipsec0=ppp0 ipsec1=eth2"
| Because my internet connection goes up with dynamic Dialin, the IP-address change.
| But i can't do an ipsec restart in ip-up, because then all my WLAN-VPN-Connections
| are going down to, so that's not, what i want !
| So, what i want to do is only updating the setup for ipsec0.
|
| i tried the following commands to update the IP
| ipsec tncfg --detach --virtual ipsec0 --physical ppp0
| ipsec tncfg --attach --virtual ipsec0 --physical ppp0
| ifconfig ipsec0 inet <mynewip> pointopoint <mynewgateway> netmask 255.255.255.255
|
| it looks good, but it seems to be not enougth, because i always get the error
| "we have no ipsecN interface for either end of this connection"
pluto doesn't know about your new interface. It looks for interfaces
1) when started, and
2) when you do a "ipsec whack --listen"
If you've gotten everything else right (I don't know if you have)
then try issuing the "ipsec whack --listen"
The "ipsec auto --status" command output will show you what interfaces
Pluto knows about.
Let's look it your barfs at the output of "ipsec auto --status".
| i create a barf.txt and a log from /var/log/secure.
| you can find it unter http://www.svhasborn.de/barf.txt and
| http://www.svhasborn.de/secure
000 interface ipsec0/ppp0 80.131.103.115
| in http://www.svhasborn.de/barf_geht.txt you can find the
| barf, that works, after an ipsec restart.
000 interface ipsec0/ppp0 80.131.103.115
There seems to be no difference.
In either case, the error message would not come out if one side of
the conn were 80.131.103.115.
Hugh Redelmeier
hugh_at_mimosa.com voice: +1 416 482-8253
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users
This archive was generated by hypermail 2.1.5 : Sun Jan 12 2003 - 05:21:07 CET