6x ips all connect to the mean proxmox server after install

tomi2020

New Member
May 21, 2023
3
0
1
Hello Guys sorry about my English in advance
i just got a server from a provider they provided me with 6 ips when i installed proxmox over debian 11 all 6 ips connect to the server i have try to remove them from the network list as they automatically get set on there after removing them and trying to reconfigure them to work with VM they dont connect no where

1.jpg

here is the /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 93.xx.xx.125
netmask 255.255.255.224

broadcast 93.xx.xx.125
post-up route add 93.xx.xx.97 dev eth0
post-up route add default gw 93.xx.xx.97 dev eth0
auto eth0:0
iface eth0:0 inet static
address 46.xx.xx.171
netmask 255.255.255.248

broadcast 46.xx.xx.171
post-up route add 46.xx.xx.169 dev eth0:0
post-up route add default gw 46.xx.xx.169 dev eth0:0
auto eth0:1
iface eth0:1 inet static
address 93.xx.xx.105
netmask 255.255.255.224

broadcast 93.xx.xx.105
post-up route add 93.xx.xx.97 dev eth0:1
post-up route add default gw 93.xx.xx.97 dev eth0:1
auto eth0:2
iface eth0:2 inet static
address 93.xx.xx.108
netmask 255.255.255.224

broadcast 93.xx.xx.108
post-up route add 93.xx.xx.97 dev eth0:2
post-up route add default gw 93.xx.xx.97 dev eth0:2
auto eth0:3
iface eth0:3 inet static
address 93.xx.xx.99
netmask 255.255.255.224

broadcast 93.xx.xx.99
post-up route add 93.xx.xx.97 dev eth0:3
post-up route add default gw 93.xx.xx.97 dev eth0:3
auto eth0:4
iface eth0:4 inet static
address 93.xx.xx.102
netmask 255.255.255.224

broadcast 93.xx.xx.102
post-up route add 93.xx.xx.97 dev eth0:4
post-up route add default gw 93.xx.xx.97 dev eth0:4


Any idea how to make this work please if anyone can help me it would be very appreciated

Thank you in advance
 
if provider support multi MAC on same interface :
do not set ip on pve host, but in vm.
set vm mac address to match those of the provider
 
all the ips on the screen shot you see they get automatically added to the /etc/network/interfaces it self and on the network you see on the pic the ips get set there it self if i try all the ips they all connect to the pve host it self when i remove them from the network pve host they dont connect no where i set new VM put the ip and gate way they automatically get an mac nr

here is a Vm i created for test

~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether d6:6c:d3:09:0f:00 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet xx.xx.30.99/24 brd xx.xx.30.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::d46c:d3ff:fe09:f00/64 scope link
valid_lft forever preferred_lft forever
 
i mean the ips they only connect to the pve host not on the VM i create what ever i try i been using proxmox 6.4 but didnt have problems with ips do you have any solution how to fix it
 

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!