qemu, vde_switch and tun0
Maarten Sanders
maarten at sandersatkins.nl
Mon May 2 01:50:57 PDT 2005
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 at maarten.lan:/usr/obj/usr/src/sys/MAARTEN
i386
More information about the freebsd-emulation
mailing list