Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
how to change from single lan to lagg?
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to change from single lan to lagg? (Read 1376 times)
snoopy78
Newbie
Posts: 15
Karma: 0
how to change from single lan to lagg?
«
on:
July 13, 2020, 02:16:01 pm »
solved by modifying the backup config......
Hello @all,
i've a question and hope you all can help me solve it.
currently i'm running an opnsense (20.1.8_1) firewall (own dedicated hardware) and my only lan is an ix0 (10G) interface with several vlans.
due to energy saving i'd like to turn off my main switch at night or when i'm away. However, my secondary switch holding the APs has no 10G interface, so simply moving the cable won't solve the question.
My idea now was to create an LAGG in failover mode, which then during day time uses the 10G link, while otherwise it falls back to an 1G link.
In Opnsense i can create the LAGG but can't assign the currently used interfaces to it.
So, how can i easily modify the settings? maybe by editing the configuration backup?
This is a part of my config (i already created an lagg with oder interfaces for testing purposes)
<lagg>
<members>igb2,ix0</members>
<descr>Failover_LAGG</descr>
<laggif>lagg0</laggif>
<proto>failover</proto>
<mtu/>
</lagg>
<lan>
<if>ix1</if>
<descr>LAN_10GBIT_VLAN1</descr>
<enable>1</enable>
<spoofmac/>
<ipaddr>x.x.x.x</ipaddr>
<subnet>24</subnet>
</lan>
<opt3>
<if>ix1_vlan3</if>
<descr>LAN_10GBIT_VLAN3_CaptivePortal</descr>
<enable>1</enable>
<spoofmac/>
<ipaddr>x.x.x.x.</ipaddr>
<subnet>24</subnet>
</opt3>
<opt4>
<if>ix1_vlan10</if>
<descr>LAN_10GBIT_VLAN10</descr>
<enable>1</enable>
<spoofmac/>
<ipaddr>x.x.x.x</ipaddr>
<subnet>24</subnet>
</opt4>
<opt5>
<if>ix1_vlan200</if>
<descr>LAN_10GBIT_VLAN200</descr>
<enable>1</enable>
<spoofmac/>
<ipaddr>x.x.x.x.</ipaddr>
<subnet>24</subnet>
</opt5>
<opt6>
<if>ix1_vlan300</if>
<descr>LAN_10GBIT_VLAN300</descr>
<enable>1</enable>
<spoofmac/>
<ipaddr>x.x.x.x</ipaddr>
<subnet>24</subnet>
</opt6>
Any help and suggestions appreciated.
thank you
«
Last Edit: July 14, 2020, 08:49:50 am by snoopy78
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
how to change from single lan to lagg?