Re: /dev/tun and raw sockets; emulators loose

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brad Parker wrote:
[snip]
So, I was wondering if I'm missing something obvious.

In a perfect world the emulator application could co-exist on the local
ethernet interface *and* talk to the host computer as if it were another
host on the same wire.

any suggestions?

Hi,

did you check out how qemu solves this? they basically give you a virtual device in the emulator that offers dhcp and packets going out originate as coming from the application (qemu) itself. Since it's open code you could take a peek. I don't think any AF_PACKET code is involved in this, it might not be what you want.

Auke
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux