>>>>> "Lars" == Lars Brinkhoff <lars.spam@xxxxxxxxxx> writes:
Lars> The application is in fact a computer emulator. Among other
Lars> things, the emulator emulates a network interface using the
Lars> af_packet facility. The emulator can run an operating system with
Lars> a TCP/IP stack, and the emulated machine will have a different IP
Lars> number than the Linux host.
Lars> The emulated machine communicates with other network hosts by
Lars> sending ethernet packets using af_packet. But since this doesn't
Lars> work for talking to the host machine the emulator is running on,
Lars> the emulator must strip off the ethernet header and send those
Lars> packets to the loopback device. Does that sound like a plausible
Lars> solution?
Sure...
Or, use ethertap0, and use bridging on the host to get onto the real
wire. That will solve all the problems with host communications.
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] mcr@xxxxxxxxxxxxxxxxxxxxxx http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [
|