Configure Virtual Machine Network

  • Thread starter Thread starter rvences
  • Start date Start date
R

rvences

Guest
Hi, in Proxmox 1, if i need to add a Virtual Machine i need to modify interfaces like:
HTML:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
  address 178.63.19.197 
  broadcast 178.63.19.255
  netmask 255.255.255.192
  pointopoint 178.63.19.193
  gateway 178.63.19.193

auto vmbr0
  iface vmbr0 inet static
  address 178.63.19.197
  broadcast 178.63.19.255
  netmask 255.255.255.192
  bridge_ports none
  bridge_stp off
  bridge_fd 0
  up ip route add 178.63.19.242/32 dev vmbr0

But in Proxmox 2 i can't do it becouse it remove all modifications in interfaces

Can you told me how can i do this change in proxmox2

Best Regards
 
Sorry dietmar i write bad

What i try to say is if i put the same information from to Proxmox 1.7 to Proxmox 2.0 fail and give me this error and i need to remove all extra and leave only in Proxmox 2.0 to remove error
auto loiface lo inet loopbackauto vmbr0 iface vmbr0 inet static address 178.63.19.197 netmask 255.255.255.192 gateway 178.63.19.193 bridge_ports none bridge_stp off bridge_fd 0

/etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...SIOCADDRT: No such process
Failed to bring up eth0.
device vmbr0 already exists; can't create bridge with the same name
run-parts: /etc/network/if-pre-up.d/bridge exited with return code 1
SIOCADDRT: No such process
Failed to bring up vmbr0.
done.

I can't figurate why, because is the same network