I need help with my network.

YakubK

New Member
Jan 9, 2025
1
0
1
Hello, I need some help setting up my network. My instances are not getting an internet connection, and I'm not sure what I have configured wrong. It would be nice if someone could help.


Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp2s0
iface enp2s0 inet static
        address          116.202.32.16/26
        gateway          116.202.32.1
        pointopoint      116.202.32.1
        up sysctl -p
        post-up          ip address 2a01:4f8:2b01:69e::2/128 dev enp2s0
        post-up          ip route add default via fe80::1 dev enp2s0


iface enp2s0 inet6 static
        address 2a01:4f8:2b01:69e::2/64
        gateway fe80::1

iface eth0 inet manual

iface eth1 inet manual

# Additional IPs
auto vmbr0
iface vmbr0 inet static
        address         116.202.32.16
        netmask         32
        bridge_ports    none
        bridge_stp      off
        bridge_fd       0
        up route add -net 116.202.32.2 netmask 255.255.255.192 gw 116.202.32.1 dev vmbr0
        up route add -net 116.202.32.5 netmask 255.255.255.192 gw 116.202.32.1 dev vmbr0
        up route add -net 116.202.54.82 netmask 255.255.255.240 gw 116.202.54.81 dev vmbr0
        up route add -net 116.202.54.87 netmask 255.255.255.240 gw 116.202.54.81 dev vmbr0
        up route add -net 116.202.54.138 netmask 255.255.255.240 gw 116.202.54.129 dev vmbr0
        up route add -net 116.202.54.142 netmask 255.255.255.240 gw 116.202.54.129 dev vmbr0

iface vmbr0 inet6 static
        address         2a01:4f8:2b01:69e::2/64
        gateway         fe80::1
        up sysctl -p
        up ip -6 route add 2a01:4f8:2b01:69e::2/64 dev vmbr0
# Cluster
auto enp2s0.4000
iface enp2s0.4000 inet static
        vlan-raw-device         enp2s0
        mtu                     1400
        address                 0.0.0.0
        netmask                 0.0.0.0

#Cluster IP
auto vmbr4000
iface vmbr4000 inet static
        address         10.10.10.1
        netmask         24
        bridge_ports    enp2s0.4000
        bridge_stp      off
        bridge_fd       0
        mtu             1400
 

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!