hi,

can somebody tell me how i get qemu with tun-device working under
openbsd? qemu -user-net is working fine - but i want multiple interfaces
with different subnets...

i'm not very familiar with tun/tap devices.
here is what i've tried (both - installed qemu system and host are
openbsd 3.7-stable):

host (pf is not enabled):

# ifconfig tun0 create  
# ifconfig tun0 10.0.0.1 10.0.0.2 up

# ifconfig tun1 create  
# ifconfig tun1 10.0.1.1 10.0.1.2 up

# qemu -nics 2 -tun-fd 0 virtual.hd

inside qemu (pf is not enabled):

# ifconfig ne3 10.0.0.2
# ifconfig ne3 10.0.1.2 

# ping 10.0.0.1 

not working :( 

where is my mistake? what did i need to change?

greets 

umaxx

Reply via email to