[SOLVED] Replace network card

etoel

New Member
May 19, 2023
8
0
1
I am using the onboard NIC and have added a new NIC with two ports. I would like to switch all traffic to the new card (replace the onboard NIC for all practical purposes).


My current config is:
Code:
auto lo
iface lo inet loopback

auto enp6s0
iface enp6s0 inet static
        address 192.168.30.202/24
        gateway 192.168.30.1

auto enp1s0f0
iface enp1s0f0 inet static
        address 192.168.30.93/24

iface enp1s0f1 inet manual

It is the enp1s0f0 interface I would like to use.
is it safe to just add the gateway to this interface and remove enp6s0? Will PBS automatically use the new interface?
And I guess the hosts file needs to be updated also?

Thanks for advise :)
 
Just deleted the card from the GUI and added to gateway to the new card. So far so good.