public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* bridges
@ 2009-05-07 15:57 Ross Boylan
       [not found] ` <4A03169C.60301@cs.ualberta.ca>
  2009-05-07 21:15 ` bridges Matthew Palmer
  0 siblings, 2 replies; 4+ messages in thread
From: Ross Boylan @ 2009-05-07 15:57 UTC (permalink / raw)
  To: kvm; +Cc: ross

I'm trying to understand bridging with KVM, but am still puzzled.
I think that the recommended bridging with TAP means that packets from
the VM will end up going out the host card attached to the default
gateway.  But it looks to me as if their IP address is unchanged, which
means replies will never reach me.  Is that correct?  Do I need to NAT
the packets, or is something already doing that?

Some documents indicate that I need to bring the interfaces (e.g., eth0)
down before I bring the bridge up, and that afterwards only the bridge
will have an IP address.  Is that right?

Some documents, e.g.,
http://ebtables.sourceforge.net/br_fw_ia/br_fw_ia.html, indicate
iptables should "just work" with bridging.  However, I've seen someone
with a 2.6.15 kernel ask about firewalling and be told they needed to
patch the kernel to get it work (don't have the reference handy).
Should it just work?

I'm running a 2.6.29 kernel on Debian Lenny with kvm 72+dfsg-5~lenny1.
Version 84+dfsg-2 is available in experimental.  Is there much to be
gained by going with the more recent version?

Please cc me; I'm not on the list.

Thanks.
Ross Boylan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-07 23:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-07 15:57 bridges Ross Boylan
     [not found] ` <4A03169C.60301@cs.ualberta.ca>
2009-05-07 17:48   ` bridges Ross Boylan
2009-05-07 19:19     ` bridges Cam Macdonell
2009-05-07 21:15 ` bridges Matthew Palmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox