Proxmox Network Interface richtig eingestellt?

antor

New Member
Mar 7, 2017
1
0
1
32
Moin,

habe bis jetzt immer die Bridge Variante verwendet und musste nichts in der "/etc/network/interfaces" machen dies würde ich gerne ändern um den VM eventuell besser die IPs zu zuweisen. Aber leider bin ich mir nicht sicher ob es so richtig eingestellt ist.

Code:
### Hetzner Online GmbH - installimage
# Loopback device:
auto lo
iface lo inet loopback
iface lo inet6 loopback

# device: eth0
auto eth0
iface eth0 inet static
  address 88.99.140.AA
  netmask 255.255.255.192
  pointopoint 88.99.140.65
  gateway 88.99.140.65

# default route to access subnet
  up route add -net 88.99.140.64 netmask 255.255.255.192 gw 88.99.140.65 eth0

iface eth0 inet6 static
  address 2a01:4f8:10a:249b::2
  netmask 64
  gateway fe80::1
  up sysctl -p

auto vmbr0
iface vmbr0 inet static
  address 88.99.140.AA
  netmask 255.255.255.255
  bridge_ports none
  bridge_stp off
  bridge_fd 0
  up ip route add 88.99.140.BB/32 dev vmbr0
  up ip route add 88.99.140.CC/32 dev vmbr0
  up ip route add 88.99.140.DD/32 dev vmbr0

iface vmbr0 inet6 static
  address 2a01:4f8:10a:249b::3
  netmask 64

iface vmbr0 inet6 static
  address 2a01:4f8:10a:AA::4
  netmask 64

iface vmbr0 inet6 static
  address 2a01:4f8:10a:AA::5
  netmask 64

iface vmbr0 inet6 static
  address 2a01:4f8:10a:AA::6
  netmask 64
 
also wenn jede vm seine eigende ip verwenden soll müsstest so was haben.

die Ip vom server in die brige und die brige auf eth0 zuweißen. Dann kann jede VM seine eigende ip zuweißen.

oder was meinst du genau?
 

Attachments

  • Unbenannt.JPG
    Unbenannt.JPG
    40.4 KB · Views: 20

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!