kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* routed tap devices
@ 2009-01-07 14:00 Sterling Windmill
  0 siblings, 0 replies; only message in thread
From: Sterling Windmill @ 2009-01-07 14:00 UTC (permalink / raw)
  To: kvm

I am using kvm-82 on a 64-bit host and giving my virtual machines routed tap devices and utilizing proxy arp to provide them connectivity.

My host has two ethernet adapters, one connected to the WAN and the other is a private link to another server with a private IP address.

Even though I'm assigning device names (on the host) based upon mac address, it seems that depending upon the order in which the linux kernel sees my ethernet adapters they are behaving differently in terms of ip forwarding. 

If I run `ip link` I see eth1 listed before eth0 and a virtual machine running behind a tap device that is using ip forwarding sees eth1's IP as it's first hop in a traceroute. 

If I swap eth0 and eth1 (via their configuration), the first hop in the guest's traceroute is eth0's IP and `ip link` shows eth0 first. Is there a way to control this behavior other than switching physical ethernet adapters?

I may be paranoid, but I don't want the virtual machines to "see" my private IP address when using standard tools such as traceroute.

Anyone have any ideas?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-07 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-07 14:00 routed tap devices Sterling Windmill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).