Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 173780

add route für all LXC/VM of vmbr0

$
0
0
I want to add a route for the pve and all LXC/VM within vmbr0. 192.168.178.100is the gateway for entering the the network 192.168.0.0/24

I tried this in the /etc/network/interfaces

Code:
auto vmbr0
iface vmbr0 inet static
        address 192.168.178.2/24
        gateway 192.168.178.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up ip route add 192.168.0.0/24 via 192.168.178.100
...

Read more

Viewing all articles
Browse latest Browse all 173780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>