[Openswan Users] virtual interfaces
Paul Wouters
paul at xelerance.com
Mon Aug 8 19:54:40 CEST 2005
On Mon, 8 Aug 2005, Pedro Timoteo wrote:
> When I try to configure Openswan on a virtual interface, like eth0:1, the "ip
> route" command fails, it says it doesn't know the device. Is there a way
> around this? I'd really like to use this on alternate IP addresses for a
> particular interface.
You need to add each ip alias (eth0:1, eth0:2, etc) to the interfaces= line
with a corresponding ipsecX interface.
eg: interfaces="%defaultroute ipsec0=eth0:1 ipsec1=eth0:2 ipsec2=eth0:3"
Paul
More information about the Users
mailing list