Hi,I have 5 Public IP in one NIC,how to config interfaces.

szkin

New Member
Oct 3, 2017
1
0
1
38
This is default setting.
Code:
# network interface settings
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
    address  192.111.154.10
    netmask  255.255.255.248
    gateway  192.111.154.9
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

and i change it can not work.
Code:
# network interface settings
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
    address  192.111.154.50
    netmask  255.255.255.248
    gateway  192.111.154.49
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0


auto vmbr1
iface vmbr1 inet static
    address  192.111.154.11
    netmask  255.255.255.248
    gateway  192.111.154.9
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

auto vmbr2
iface vmbr2 inet static
    address  192.111.154.12
    netmask  255.255.255.248
    gateway  192.111.154.9
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0
How to write is correct.
Thanks!
 
I suppose you want to assign these IP addresses to Guest Systems ( VM, Containers) ?
Then you should configure the IP address inside each guest, not on the PVE host.
 

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!