Network configuration

doubi

Active Member
Mar 18, 2017
1
0
41
36
I have two different segments of IP addresses,

23.10.6.218/29

23.10.8.1/24

gateway 23.10.6.217



The server network configuration is as follows:

auto lo
iface lo inet loopback

iface enp1s0f0 inet manual

auto vmbr0
iface vmbr0 inet static
address 23.10.6.218
netmask 255.255.255.248
gateway 23.10.6.217
bridge_ports enp1s0f0
bridge_stp off
bridge_fd 0

iface enp1s0f1 inet manual



The VM1 network configuration is as follows:

auto lo
iface lo inet loopback
iface lo inet6 loopback

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto eth0
iface eth0 inet static
address 23.10.6.219
netmask 255.255.255.248
gateway 23.10.6.217






The VM2 network configuration is as follows:

auto lo
iface lo inet loopback
iface lo inet6 loopback

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto eth0
iface eth0 inet static
address 23.10.6.220
netmask 255.255.255.248
gateway 23.10.6.217






The VM3 network configuration is as follows:

auto lo
iface lo inet loopback
iface lo inet6 loopback

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto eth0
iface eth0 inet static
address 23.10.8.3
netmask 255.255.255.0
gateway 23.10.6.217





The VM4 network configuration is as follows:

auto lo
iface lo inet loopback
iface lo inet6 loopback

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto eth0
iface eth0 inet static
address 23.10.8.4
netmask 255.255.255.0
gateway 23.10.6.217





VM1 VM2 network is normal and can connect to the Internet.

VM3 VM4 network is abnormal and Internet connection is not available.

VM3 VM4 can PING each other.


How do I configure to connect vm3 vm4 to the internet?


Thank you.
 

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!