Host no internet when using OVS switch

GamingTwist

New Member
Sep 3, 2022
1
0
1
Hi all, I've used this config before on the same hardware just changed the disk and had no problems with it before. The pfsense VM can route traffic to the rest of the network but just not the host(proxmox)

Code:
auto lo
iface lo inet loopback

auto enp3s0f0
iface enp3s0f0 inet manual
    ovs_type OVSPort
    ovs_bridge vmbr1

iface enp3s0f1 inet manual

iface enp3s0f2 inet manual

iface enp3s0f3 inet manual

auto vlan99
iface vlan99 inet static
    address 10.25.99.50/24
    gateway 10.25.99.1
    ovs_type OVSIntPort
    ovs_bridge vmbr1
    ovs_options tag=99

auto vmbr1
iface vmbr1 inet manual
    ovs_type OVSBridge
    ovs_ports enp3s0f0 vlan99

added this to access webGUI after and worked fine
Code:
auto vmbr2
iface vmbr2 inet static
    address 10.25.98.52/24
    gateway 10.25.98.1
    bridge-ports enp3s0f2
    bridge-stp off
    bridge-fd 0

Code:
# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp3s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet6 fe80::b696:91ff:fe65:2bf4/64 scope link
       valid_lft forever preferred_lft forever
3: enp3s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
4: enp3s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr2 state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
5: enp3s0f3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
7: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
8: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet6 fe80::c4e2:7cff:fe8a:f941/64 scope link
       valid_lft forever preferred_lft forever
10: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UNKNOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
16: vlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.25.99.51/24 scope global vlan99
       valid_lft forever preferred_lft forever
    inet6 fe80::54fa:58ff:fee3:ffb6/64 scope link
       valid_lft forever preferred_lft forever
17: vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.25.98.52/24 scope global vmbr2
       valid_lft forever preferred_lft forever
    inet6 fe80::b696:91ff:fe65:2bf6/64 scope link
       valid_lft forever preferred_lft forever

Code:
# ip r

default via 10.25.99.1 dev vlan99 proto kernel onlink
10.25.98.0/24 dev vmbr2 proto kernel scope link src 10.25.98.52
10.25.99.0/24 dev vlan99 proto kernel scope link src 10.25.99.51

-Thank you
 

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!