C
C
Caspergreen2018-05-01 08:00:25
linux
Caspergreen, 2018-05-01 08:00:25

How to configure subnet in hetzner (proxmox)?

Good day to all. I took a subnet from hetzner
5ae7f3cb210a4835021197.png
on the main virtual machine is proxmox, the current network setup looks like this

spoiler
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp0s31f6
iface enp0s31f6 inet static
        address  138.201.248.42
        netmask  255.255.255.192
        gateway  138.201.248.1
        up route add -net 138.201.248.0 netmask 255.255.255.192 gw 138.201.248.1 dev enp0s31f6
# route 138.201.248.0/26 via 138.201.248.1

iface enp0s31f6 inet6 static
        address  2a01:4f8:173:1f29::2
        netmask  64
        gateway  fe80::1

How to set up a network in the main system (proxmox) and virtual machines?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rustelecom, 2018-05-01
@rustelecom

And it did not help https://wiki.hetzner.de/index.php/Proxmox_VE/en ?

R
Rafail Bektemirov, 2018-08-14
@rafail76

Here, there is also an instruction: https://pve.proxmox.com/wiki/Network_Configuration
And for virtual machines, set IP handles directly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question