VLAN interfaces setup after changing network adapter
-
Hi,
I have my current pfsense setup as:
On-board:- em0: wan
- igb4: management vlan
PCIe nic adapter:
- igb0: interface with 2 vlans
- igb1: interface with 5 vlans
- igb2: directly connected interface to surveillance
- igb3: empty
I'm changing the 4 ports igb nic to a 2 ports ixl nic
I plan to first assign my igb1 vlans to the same interface on igb0
Then optionally assign igb2 interface to igb1Then boot up after swapping cards. I assume :
- em0 will stay
- on-board igb4 will be renamed to igb0 I guess
- two new interfaces appear: ixl0 and ixl1
Will I loose all my firewall rules on boot as all vlans will need to be assigned to new ixl0 interface instead of previous igb0 which was on the old nic ? Do I need to recreate all vlans on new ixl0 and the firewall rules? Any way to avoid it?
I then need to swap wan to ixl0, vlans to ixl1, management to em0 and surveillance to igb0. To achieve this, I plan to remove the surveillance interface, assign the 3 others, then add back the surveillance
Is there a simpler way you advice to have the hardware upgrade done easily without a full setup of rules ?
Thank you for the help