Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HI Friends,
I am trying to setup a hardware virtual machine on my Dell Laptop having wireless network card in it. I know there is no bridging support in wireless card, so I am using the routing techniques but thats not working.
I do not want to use "net user" mode of working as it is slow. So I am trying only TUN/TAP mode of netwroking.
Scenario is:
Laptop is running Fedora-12 X64
Laptop is connected with internet using WIFI card. WIFI IPADDR = 192.168.1.64/24 (DHCP). Default GW = 192.168.1.254
Created a tap interface "tap0" and gave it IPADDR = 192.168.100.50/24 (static IP)
Enabled IPV4 forwarding in kernel.
Launched the VM machine (Suse Linux). Gave it a static IP = 192.168.100.20/24, default route set to = 192.168.100.50
Now VM can ping to 192.168.100.50 and 192.168.1.64 , but it cannot ping to 192.168.1.254 or any other internet IP.
Error while trying to ping 192.168.1.254 is :
dst host unreacheble , error code 10
PS: I am able to ping any other internet IP from Host machine (i.e. Fedora-12)
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329
Rep:
Quote:
Originally Posted by eyemole80
So what would be appropriate (more in terms of speed), using Proxy ARP or IP Masq ?
Don't know, because I don't know about proxy-arp.
I've been using both bridged and routed (and NATed) networking with QEMU/KVM, and I like bridging the most - the easier to implement, once you understand how it works. But that's my opinion, of course.
You almost got it. You need both tuntap AND brctl to bridge the host's wireless interface with the KVM guest's tap interface. If I remember correctly, tap interfaces are also built into qemu and qemu-kvm if you don't want to use tuntap.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.