Re: creation of tap interface

2007-11-23 Thread Andrew Pantyukhin
On Fri, Nov 23, 2007 at 06:33:48PM +0100, Alain G. Fabry wrote:
 On Fri, Nov 23, 2007 at 01:59:55PM +0300, Andrew Pantyukhin wrote:
  On Thu, Nov 22, 2007 at 10:41:58PM +0100, Alain G. Fabry wrote:
   I get the following error however when trying to create the tap
   interfaces
   
   FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid
   argument

What version of FreeBSD are you running?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: creation of tap interface

2007-11-23 Thread Alain G. Fabry
On Fri, Nov 23, 2007 at 10:32:07PM +0300, Andrew Pantyukhin wrote:
 On Fri, Nov 23, 2007 at 06:33:48PM +0100, Alain G. Fabry wrote:
  On Fri, Nov 23, 2007 at 01:59:55PM +0300, Andrew Pantyukhin wrote:
   On Thu, Nov 22, 2007 at 10:41:58PM +0100, Alain G. Fabry wrote:
I get the following error however when trying to create the tap
interfaces

FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid
argument
 
 What version of FreeBSD are you running?

FreeBSD 6.2-RELEASE

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: creation of tap interface

2007-11-23 Thread Andrew Pantyukhin
On Thu, Nov 22, 2007 at 10:41:58PM +0100, Alain G. Fabry wrote:
 
 Hi,
 
 I'm setting up Qemu, have installed Ubuntu and Gentoo guests on
 FreeBSD host but I would like to get the network interfaces to
 work also.
 
 I get the following error however when trying to create the tap
 interfaces
 
 FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid
 argument
 
 What is the problem here?

The command should work as you typed it, but try this:
# kldload if_tap
# ifconfig tap0 create
 ^^^
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: creation of tap interface

2007-11-23 Thread Alain G. Fabry
On Fri, Nov 23, 2007 at 01:59:55PM +0300, Andrew Pantyukhin wrote:
 On Thu, Nov 22, 2007 at 10:41:58PM +0100, Alain G. Fabry wrote:
  
  Hi,
  
  I'm setting up Qemu, have installed Ubuntu and Gentoo guests on
  FreeBSD host but I would like to get the network interfaces to
  work also.
  
  I get the following error however when trying to create the tap
  interfaces
  
  FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid
  argument
  
  What is the problem here?
 
 The command should work as you typed it, but try this:
 # kldload if_tap
 # ifconfig tap0 create
  ^^^

I actually tried that already aswell but it didn't work. So I added
device  tap
in the kernel, recompiled and still the same problem

FreeBSD# kldload if_tap
kldload: can't load if_tap: File exists
-- I guess because I compiled it in the kernel

FreeBSD# ifconfig tap0 create
ifconfig: SIOCIFCREATE: Invalid argument

FreeBSD# ifconfig tun0 create
ifconfig: SIOCIFCREATE: Invalid argument
-- get the same for a tun interface



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


creation of tap interface

2007-11-22 Thread Alain G. Fabry

Hi,

I'm setting up Qemu, have installed Ubuntu and Gentoo guests on FreeBSD host but
I would like to get the network interfaces to work also.

I get the following error however when trying to create the tap interfaces

FreeBSD# ifconfig tap create
ifconfig: SIOCIFCREATE: Invalid argument


What is the problem here?

Many thanks,

Alain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]