From 6ab9dd1c0857fa858e0e8625d4465e88e495f0c9 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sun, 31 Jul 2022 19:19:53 -0700 Subject: [PATCH] Add bridge for two switch interfaces --- homelab/router/config/new-config.boot | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/homelab/router/config/new-config.boot b/homelab/router/config/new-config.boot index 07d0ca7b..000e70c0 100644 --- a/homelab/router/config/new-config.boot +++ b/homelab/router/config/new-config.boot @@ -60,15 +60,32 @@ interfaces { duplex auto speed auto } + bridge br0 { + address 192.168.1.1/24 + member { + interface eth1 { + } + interface eth2 { + } + } + } ethernet eth1 { description "Primary Switch" duplex auto speed auto + offload { + sg + tso + } } ethernet eth2 { description "PoE Switch for WAPs" duplex auto speed auto + offload { + sg + tso + } } ethernet eth3 { description "Reserved for multi-gig switch" @@ -76,6 +93,7 @@ interfaces { } ethernet eth4 { description "Internet (PPPoE)" + address dhcp duplex auto pppoe 0 { default-route auto