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

szkin

New Member
Oct 3, 2017
1
0
1
39
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.