container and vm network communicationtion for this

N

namorsito

Guest
Hi,

First of all, congratulation for this fantastic tool / solution ! I'm a new user coming from the VMware and I found it so great ! :p

Secondly, as I'm quite new, I'm asking maybe known topics about connectivity between a set of CT with fixed IP and other VM with DHCP.
I create 2 ct with fixed ip such as 10.0.1.10, 20 .. and I got one VM (desktop) with a DHCP one such as 10.0.2.15 via the 10.0.2.2

I can get over the internet for both CT and VM but I can not ping from CT and the VM each other.

What is the correct way to break this isolation ?

Thanks in advance
 
Hi,

Sorry was out for a while.

Here it is

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).


# The loopback network interface
auto lo
iface lo inet loopback


# for Routing
auto vmbr1
iface vmbr1 inet manual
post-up /etc/pve/kvm-networking.sh
bridge_ports dummy0
bridge_stp off
bridge_fd 0




# vmbr0: Bridging. Make sure to use only MAC adresses that were assigned to you.
auto vmbr0
iface vmbr0 inet static
address 127.165.127.127
netmask 255.255.255.0
network 127.165.127.0
broadcast 127.165.127.255
gateway 127.165.127.254
bridge_ports eth0
bridge_stp off
bridge_fd 0



of course I change a bit the ip

on my vm i have this in the /etc/network/interfaces
auto eth0
iface eth0 inet dhcp

on my ct, ootb configured
# This configuration file is auto-generated.
#
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and
# /etc/network/interfaces.tail instead, their contents will be
# inserted at the beginning and at the end of this file, respectively.
#
# NOTE: it is NOT guaranteed that the contents of /etc/network/interfaces.tail
# will be at the very end of this file.
#


# Auto generated lo interface
auto lo
iface lo inet loopback


# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down




iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0


auto venet0:0
iface venet0:0 inet static
address 10.1.0.10
netmask 255.255.255.255




Thx in advance
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!