You are not logged in.

#1 2013-06-27 05:58:42

lomaker
Member
Registered: 2013-04-10
Posts: 8
Website

three ethernet cards on arch linux + netcfg

I have three network cards on my server. starts only one of them - enp3s0. What am I doing wrong? I have three profiles for each network card:

ethernet1-static:

INTERFACE='enp3s0'
IP='static'
SKIPNOCARRIER="yes"
ADDR='192.168.10.64'
NETMASK='255.255.255.0'
GATEWAY='192.168.10.1'
DNS=('192.168.1.2')
DNS=('real_DNS_address')

ethernet2-static:

INTERFACE='enp5s1'
IP='static'
SKIPNOCARRIER="yes"
ADDR='real_address'
NETMASK='255.255.255.224'
GATEWAY='real_gateway_address'
DNS=('real_DNS_address')

ethernet3-static:

INTERFACE='enp1s0'
IP='static'
SKIPNOCARRIER="yes"
ADDR='192.168.33.254'
NETMASK='255.255.255.0'

do a reboot. up only enp3s0. I tried to start it manually:

netcfg ethernet1-static
:: ethernet2-static                                                                        [BUSY]
RTNETLINK answers: File exists
> Adding gateway real_gateway_address failed                              [FAILED]

/etc/conf.d/netcfg:

NETWORKS=("ethernet1-static ethernet2-static ethernet3-static")
WIRED_INTERFACE="enp3s0"

i try this:

WIRED_INTERFACE="enp3s0 enp5s1 enp1s0"

and this:

WIRED_INTERFACE="enp3s0"
WIRED_INTERFACE="enp5s1"
WIRED_INTERFACE="enp1s0"

did not help.

ethernet3-static will start normally. they need to have started when the computer restarts automatically.

Offline

#2 2013-06-27 08:52:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: three ethernet cards on arch linux + netcfg

netcfg is deprecated, you should be using netctl.
https://www.archlinux.org/news/netctl-is-now-in-core/

Offline

Board footer

Powered by FluxBB