[SOLVED] Network - fehlerhafte Config?

ClusterX

Member
Apr 12, 2018
49
3
13
52
habe Proxmox nun installiert die zusätzlichen IP Adressen und Gateway werden allerdings im GUI nicht angezeigt ...
Screenshot_20180415_142954.png

/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback

auto eno1
iface eno1 inet static
  address 213.133.103.211
  netmask 255.255.255.224
  gateway 213.133.103.193
  # route 213.133.103.192/27 via 213.133.103.193
  up route add -net 213.133.103.192 netmask 255.255.255.224 gw 213.133.103.193 dev eno1

iface eno1 inet6 static
  address 2a01:4f8:a0:934e::2
  netmask 64
  gateway fe80::1

auto vmbr0
iface vmbr0 inet static
        address 213.133.103.211
        netmask 255.255.255.255
        bridge_ports none
        bridge_stp off
        bridge_fd 0
        up ip route add 213.133.103.203/32 dev vmbr0
        up ip route add 213.133.103.253/32 dev vmbr0

was mache ich falsch bzw. wie sollte das richtig aussehen?

Gruß
 
hmm, ich bekomme einfach keine externe Verbindung zu einer TC Debian VM ...
hatte anfangs im Hetzner Panel die zusätzlchen IPs einer festen MAC zugewiesen, heute habe ich die Zuweisung wieder aufgehoben und ohne versucht ... keine externe Verbindung möglich, keine Antwort auf ICMP ping.
Wo könnte das Problem liegen?
 
neuer Versuch:
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback

auto eno1
iface eno1 inet static
  address   213.133.103.211
  netmask   255.255.255.224
  gateway   213.133.103.193
  # route 213.133.103.192/27 via 213.133.103.193
  up route add -net 213.133.103.192 netmask 255.255.255.224 gw 213.133.103.193 dev eno1

iface eno1 inet6 static
  address 2a01:4f8:a0:934e::2
  netmask 128
  gateway fe80::1

auto vmbr0
iface vmbr0 inet static
  address 213.133.103.211
  netmask 255.255.255.224
  bridge_stp off
  bridge_ports none
  bridge_fd 0
  bridge_maxwait 0

  up route add -host 213.133.103.203/32 dev vmbr0
  up route add -host 213.133.103.253/32 dev vmbr0

iface vmbr0 inet6 static
  address 2a01:4f8:a0:934e::2
  netmask 64

Code:
/etc/sysctl.d/99-networking.conf
net.ipv4.ip_forward=1
net.ipv4.conf.eno1.send_redirects=0
net.ipv6.conf.all.forwarding=1

Code:
ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 213.133.103.211  netmask 255.255.255.224  broadcast 213.133.103.223
        inet6 fe80::21e:67ff:fe99:7dc8  prefixlen 64  scopeid 0x20<link>
        inet6 2a01:4f8:a0:934e::2  prefixlen 128  scopeid 0x0<global>
        ether 00:1e:67:99:7d:c8  txqueuelen 1000  (Ethernet)
        RX packets 358  bytes 59669 (58.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 306  bytes 61785 (60.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 102  bytes 19510 (19.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 102  bytes 19510 (19.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vmbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 213.133.103.211  netmask 255.255.255.224  broadcast 213.133.103.223
        inet6 2a01:4f8:a0:934e::2  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::c1e:64ff:fe01:773  prefixlen 64  scopeid 0x20<link>
        ether 0e:1e:64:01:07:73  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 73  bytes 3566 (3.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Client VM Debian 9 / TC
IPv4: 213.133.103.203/32
GW: 213.133.103.193
IPv6: 2a01:4f8:a0:934e::2/64
GW: fe80::1

MAC: auto

DNS: use host settings

warum klappt das denn nicht und wo liegt der Fehler?
 

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!