can just switch an intrface for LAN?
-
so i have my own build for PFsnese with 3 NICs
and the LAN is only 100MBi have a spare NIC with 1000MB
can i just switch the interface in the console , and all settings of lan will be remmberd ?
or i will lose config?
What is the right way to approch this?
thanks! -
@aihysp said in can just switch an intrface for LAN?:
What is the right way to approch this?
This : Diagnostics > Backup & Restore and backup your config.
If you have issues, a simple restore will take you back.I would install the space NIC.
In pfSense, assign it as a third interface, by default called "OPT1".Now, backup your config.
Using an editor like Notepad++ , you will find :<interfaces> <wan> <if>em0</if> <disableftpproxy></disableftpproxy> ..... </wan> <lan> <if>em1</if> <bandwidth>100</bandwidth> <bandwidthtype>Mb</bandwidthtype> <enable></enable> <descr><![CDATA[LAN]]></descr> <spoofmac></spoofmac> <ipaddr>192.168.1.1</ipaddr> <subnet>24</subnet> <ipaddrv6>2001:xxxx:1f13:5c0:2::1</ipaddrv6> <subnetv6>64</subnetv6> </lan> <opt1> <if>em2</if> <descr><![CDATA[Portal]]></descr> <spoofmac></spoofmac> <enable></enable> <ipaddr>192.168.2.1</ipaddr> <subnet>24</subnet> </opt1>
Change <lan> and </lan> for <opt1> and </opt1> and vis-versa.
Put the new <opt1> </opt1> block behind the new <lan> </lan> block.
Import the config.
Done. -