You are not logged in.
I installed an external NIC card since the ethernet connection on my ASUS motherboard seems unable to go up to 1Gb/s.
However, I am having troubled setting it up. I am simply trying to replace the old interface with the new one, not to set up multiple addresses.
I am following the standard procedure in the wiki's Network Configuration page for a static address. Old interface
1. take down the old interface (which was at enp0s20)
2. bring up the new one (which is at enp3s7)
3. add the static address (the same used by the old interface) to the new one, plus broadcast address and mask
so:
$> ip link set enp0s20 down
$> ip link set enp3s7 up
$> ip addr add 192.168.0.4/24 broadcast 192.168.0.255 dev enp3s7
Unfortunately I get an error message after the last line, namely
RTNETLINK answers: file exists
which seems to me to indicate that there is some remnant frm the previous interface that I should remove in order to proceed. But I don't know how.
Help appreciated.
Last edited by stefano (2017-05-15 21:43:02)
Offline
Of course I found the answer 30 seconds after posting. You need to flush the ip route table with
ip route flush dev enp0s20
Offline