Re: Routing traffic between private and public on KVM

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

 



My bridge is setup as follows:

$sudo brctl show
bridge name    bridge id        STP enabled    interfaces
br0        8000.d4ae52c951df    yes        em1
                            vnet0
                            vnet4
virbr0        8000.5254000eed39    yes        virbr0-nic
                            vnet1
                            vnet2
                            vnet3

virbr0 manages the private network of 192.168.122.X/24, and VM1 is
attached to vnet1.
br0 manages the public network of 1.1.1.X/24 and vnet0 is VM2 with the
public IP.


On Fri, Oct 11, 2013 at 3:47 PM, Sam Giraffe <sam@xxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I have 2 VM's, one is running in NAT mode and the other in bridged mode.
> VM1 IP is 192.168.122.3, and VM2 IP is on the public network, say 1.1.1.2.
> If I am logged onto VM2 which has the public IP, I cannot access VM2,
> since VM2 is on the private network. However from VM1 I can access
> VM2. I would like to enable routing so that the public IP VM2 can
> access the private IP VM1, not sure how to go about doing this in KVM?
>
> Thanks
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux