Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qemu - no ethernet guest inetrface
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
afx44
n00b
n00b


Joined: 18 Mar 2014
Posts: 18

PostPosted: Fri Dec 12, 2014 4:18 pm    Post subject: qemu - no ethernet guest inetrface Reply with quote

I use qemu for windows guest system. I set br0 and tap0 interfaces following this article: http://wiki.gentoo.org/wiki/QEMU/Options
ifconfig: http://pastebin.com/sThxxaMM
cat /etc/conf.d/net: http://pastebin.com/Apv1yiZP
cat ./qemu_run: http://pastebin.com/rGc1HNcu
dmesg tail -n100: http://pastebin.com/RFQHuRwi

When I do:
Code:
./qemu_run
i get this warning:
Code:
Warning: vlan 0 is not connected to host network
In guest windows machine only Local Area Connection interface appears

I need bridget network iface at my guest machine, but i don't know what is wrong. Please help
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3134

PostPosted: Fri Dec 12, 2014 6:22 pm    Post subject: Reply with quote

Names dont match. You create virtual iface tap0 and then you tell qemu to bind vnet0 (which doesn't exist)
Back to top
View user's profile Send private message
afx44
n00b
n00b


Joined: 18 Mar 2014
Posts: 18

PostPosted: Mon Dec 15, 2014 7:52 am    Post subject: Reply with quote

I renamed the interface:
Code:
 -netdev tap,id=t0,ifname=tap0,script=no,downscript=no -device e1000,netdev=t0 \
    -net nic,model=rtl8139 \

but have the same result:
Code:
Warning: vlan 0 is not connected to host network
Back to top
View user's profile Send private message
afx44
n00b
n00b


Joined: 18 Mar 2014
Posts: 18

PostPosted: Mon Dec 15, 2014 8:17 am    Post subject: Reply with quote

It's strange, bacause after renaming interface to tap0, i have the same warning, but new Local Area Connection interface appears and it gets valid ip address. Anyway, thank you, szatox
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum