Date: Mon, 02 May 2005 10:50:54 +0200 From: Maarten Sanders <maarten@sandersatkins.nl> To: freebsd-emulation@freebsd.org Subject: qemu, vde_switch and tun0 Message-ID: <1115023854.659.8.camel@maarten.lan>
next in thread | raw e-mail | index | archive | help
Hi, I posted a similar message yesterday to fbsd-questions but I think this list is more likely to provide me with an answer. I have qemu working, I have vde_switch working an I manage to setup a network between two qemu sessions. Now I am trying to get qemu working attached to a tun device: rten# vde_switch -tap tun0 -daemon ; ifconfig tun0 192.168.1.254 ; chmod 777 /tmp/vde.ctl ifconfig: interface tun0 does not exist My kernel has, as far as I can see, all the options required: ===== # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support #device sl # Kernel SLIP #device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter ====== Does anyone know what I need to do to get a tun device working? Thanks, Maarten rten# uname -a FreeBSD maarten.lan 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun May 1 12:03:54 CEST 2005 maarten@maarten.lan:/usr/obj/usr/src/sys/MAARTEN i386
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1115023854.659.8.camel>