subnet not working

May 22, 2021
4
0
1
46
Hello,

I am playing with my configuration and I am not able to get assigned subnet to work. My configuration:
Code:
auto lo
iface lo inet loopback

auto enp4s0
iface enp4s0 inet manual
        bridge_stp off
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up echo 1 > /proc/sys/net/ipv4/conf/enp4s0/proxy_arp

auto vmbr0
iface vmbr0 inet static
        address 136.x.x.20/26
        pointopoint 136.x.x.1
        gateway 136.x.x.1
        bridge_ports enp4s0
        bridge_stp off
        bridge_fd 1
        bridge_hello 2
        bridge_maxage 12

# for a subnet
auto vmbr1
iface vmbr1 inet static
        address 162.x.x.32/29
        bridge_ports none
        bridge_stp off
        bridge_fd 0
Assigning IPs to VMs which are from 136.x.x.x range works without issue (they have the same gateway), but if I try to assign to a VM IP from the 162.x.x.x range, where the gateway is 136.x.x.20 I am not able to reach from them the network (i.e. ping on gw 136.x.x.20 does not work).
Is there something I miss here? Thank you!

B.
 

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!