You are not logged in.

#1 2019-01-15 11:52:08

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 53

Remove NIC's from DHCP

Hi folks,

I have 3 NIC's:

en01          The onboard one
enp3s0f0   Port 1 of a dual NIC card
enp3s0f1   Port 2    "          " 

I want to remove both ports of the dual card from any DHCP or boot checks, as I only use them for VM's, and they are slowing down the boot process when they aren't connected to the network.

This is my systemctl list:

autovt@.service                        enabled
dbus-org.freedesktop.network1.service  enabled
dbus-org.freedesktop.timesync1.service enabled
devolonetsvc.service                   enabled
getty@.service                         enabled
libvirtd.service                       enabled
netctl@enp0s31f6.service               enabled
systemd-networkd-wait-online.service   enabled
systemd-networkd.service               enabled
systemd-timesyncd.service              enabled
sshd.socket                            enabled
systemd-networkd.socket                enabled
virtlockd.socket                       enabled
virtlogd.socket                        enabled
remote-fs.target                       enabled


Are any of these duplicating something else, or not needed?

What's the best way of skipping the NIC's from being evaluated?

Thanks! :-)

Offline

#2 2019-01-15 12:21:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,720

Re: Remove NIC's from DHCP

Please use [ code ] tags when pasting outputs.

You have multiple networking services enabled which is in and of itself already problematic, decide for systemd-networkd or netctl, don't use both at the same time. The interface  netctl is hooked on doesn't look like any of the ones you mentioned, so might as well be contributing. Anything else depends on how and what you've configured, so you might share some configs here, and fwiw to make an informed suggestion, post the complete output of

sudo journalctl -b

after reproduction of the issue.

Last edited by V1del (2019-01-15 12:21:53)

Offline

#3 2019-01-15 12:28:51

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 53

Re: Remove NIC's from DHCP

V1del wrote:

Please use [ code ] tags when pasting outputs.

You have multiple networking services enabled which is in and of itself already problematic, decide for systemd-networkd or netctl, don't use both at the same time. The interface  netctl is hooked on doesn't look like any of the ones you mentioned, so might as well be contributing. Anything else depends on how and what you've configured, so you might share some configs here, and fwiw to make an informed suggestion, post the complete output of

sudo journalctl -b

after reproduction of the issue.

Thanks, i've removed netctl for starters. Seems to be due to conflicting tutorials I followed a few months ago.

Offline

#4 2019-01-15 13:33:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: Remove NIC's from DHCP

JustSomeGeek wrote:

Seems to be due to conflicting tutorials I followed a few months ago.

If these were on our wiki, please point them out so they can be fixed.  If they weren't, perhaps now you'll see why third party guides are ill-advised and unsupported.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2019-01-15 22:22:51

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 53

Re: Remove NIC's from DHCP

Trilby wrote:
JustSomeGeek wrote:

Seems to be due to conflicting tutorials I followed a few months ago.

If these were on our wiki, please point them out so they can be fixed.  If they weren't, perhaps now you'll see why third party guides are ill-advised and unsupported.

It seems to have been the mention of several Network Managers at the stage where I was still trying to get Arch to "just work". I've probably installed networkd or netctl while trying to sort something, then picked up again later and tried something else without remembering. There often seems to be way more info than needed for someone just trying to get up and running, and often a Google for a different way of explaining things, with less info, can be exactly what's needed.

Offline

Board footer

Powered by FluxBB