cant able to add new ip address

named

New Member
Jun 2, 2017
2
0
1
45
Hello,

i have proxmox installed but i cant able to figure out how can i able to add a /29 subnet i have tried to add in /etc/network/interfaces


auto lo
iface lo inet loopback

auto vmbr1
iface vmbr1 inet static
address 142.xx.xx.xx
netmask 255.255.255.xxx
network 142.xx.xx.xx
broadcast 142.xx.xx.xx
gateway 142.xx.xx.xx
bridge_ports eth1
bridge_stp off
bridge_fd 0
bridge_maxwait 0

auto vmbr2
iface vmbr2 inet static
address 142.xx.xx.2
netmask 255.255.255.xxx
network 142.xx.xx.xx
broadcast 142.xx.xx.xx
gateway 142.xx.xx.xxx
bridge_ports none
bridge_stp off
bridge_fd 0
bridge_maxwait 0

auto eth1
iface eth1 inet manual


hello im using this format but no success to add new ip address


/etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...RTNETLINK answers: File exists
Failed to bring up vmbr2.
done.

PV info:

proxmox-ve-2.6.32: 3.1-114 (running kernel: 3.2.0-4-amd64)

pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)

pve-kernel-2.6.32-20-pve: 2.6.32-100

pve-kernel-2.6.32-26-pve: 2.6.32-114

lvm2: 2.02.98-pve4

clvm: 2.02.98-pve4

corosync-pve: 1.4.5-1

openais-pve: 1.1.4-3

libqb0: 0.11.1-2

redhat-cluster-pve: 3.2.0-2

resource-agents-pve: 3.9.2-4

fence-agents-pve: 4.0.0-2

pve-cluster: 3.0-8

qemu-server: 3.1-8

pve-firmware: 1.0-23

libpve-common-perl: 3.0-8

libpve-access-control: 3.0-7

libpve-storage-perl: 3.0-17

pve-libspice-server1: 0.12.4-2

vncterm: 1.1-4

vzctl: 4.0-1pve4

vzprocps: 2.0.11-2

vzquota: 3.1-2

pve-qemu-kvm: 1.4-17

ksm-control-daemon: 1.1-1

glusterfs-client: 3.4.1-1
anyone can help me here?
 
Are you 100% confident you have all syntax proper? For example a /29 subnet should be, 255.255.255.248, as your subnet mask I believe, yet in your text above you hide-out the last 3 digits, which really are not such secret and personal data anyhoo. (?)

Maybe just for giggles, reboot your proxmox host to live-CD temporarily, and wham in a 1-liner test to see if you can bring up the static IP / mask etc. that you think it is that you wish to assign, then try to ping another host on the local LAN etc (and vise-versa) ?

ie, quick google gives a sample syntax command might be for example; approximately:

Code:
ifconfig eth0 172.16.25.125 netmask 255.255.255.224 broadcast 172.16.25.63


If this fails to work then figure that out first ?

(not sure maybe I have entirely missed the point. But end-of-day, proxmox is running on stock debian under-the-hood as linux bare-metal distro; so there is nothing atypical regarding interface config tasks.)


Tim