[Openswan Users] adding interface ipsecX problem

ник карлов sco_support at mail.ru
Mon Mar 2 02:36:19 EST 2009


> > we have got error at openswan startup when had added new "ipsec2" interface in ipsec.conf
> > (interfaces="ipsec0=eth0:1 ipsec1=eth1 ipsec2=eth0"):
> > 
> > ipsec_setup: /usr/local/libexec/ipsec/tncfg: Socket ioctl failed on attach -- No such device.  Is the virtual device valid?  Is the ipsec module linked into the kernel or loaded as a module?
> 
> You cannot use device aliases (eg eth0:1)
> 
> Paul

adding third real NIC does not solve the problem...

ipsec.conf with
  interfaces="ipsec0=eth0 ipsec1=eth1 ipsec2=eth2"
does not work while with
  interfaces="ipsec0=eth0 ipsec1=eth1" or interfaces="ipsec0=eth2 ipsec1=eth1"
works fine

does anyone have working configuration with more than 2 ipsecX interfaces and openswan-2.6.x?

we use kernel 2.6.23.17/openswan 2.6.20

ps
openswan-2.4.13 on this server configured with 3 ipsecX startup without errors


More information about the Users mailing list