Add bridge for two switch interfaces

This commit is contained in:
Joey Hafner 2022-07-31 19:19:53 -07:00
parent c42e489a46
commit 6ab9dd1c08

View File

@ -60,15 +60,32 @@ interfaces {
duplex auto duplex auto
speed auto speed auto
} }
bridge br0 {
address 192.168.1.1/24
member {
interface eth1 {
}
interface eth2 {
}
}
}
ethernet eth1 { ethernet eth1 {
description "Primary Switch" description "Primary Switch"
duplex auto duplex auto
speed auto speed auto
offload {
sg
tso
}
} }
ethernet eth2 { ethernet eth2 {
description "PoE Switch for WAPs" description "PoE Switch for WAPs"
duplex auto duplex auto
speed auto speed auto
offload {
sg
tso
}
} }
ethernet eth3 { ethernet eth3 {
description "Reserved for multi-gig switch" description "Reserved for multi-gig switch"
@ -76,6 +93,7 @@ interfaces {
} }
ethernet eth4 { ethernet eth4 {
description "Internet (PPPoE)" description "Internet (PPPoE)"
address dhcp
duplex auto duplex auto
pppoe 0 { pppoe 0 {
default-route auto default-route auto