P
P
Pavel Nikitin2016-02-01 21:05:29
linux
Pavel Nikitin, 2016-02-01 21:05:29

How to add another ip to interfaces?

Available:

auto lo
iface lo inet loopback

# device: eth0
auto eth0
iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
address 111.111.111.111
netmask 255.255.255.0
gateway 151.80.230.254
bridge_ports eth0
bridge_stp off
bridge_fd 0

How to add another ip 222.222.222.222 here?
Tried to add below
auto eth0:1
iface eth0:1 inet static
    address 222.222.222.222 
    netmask 255.255.255.255

ip is pinged, but the network on the virtual machine under proxmox breaks down .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Zhivotnev, 2016-02-01
@kopbox

auto vmbr0:1
iface vmbr0:1 inet static
and so on

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question