How are networks interfaces configured? VLANs

Topics about the networking software (ssh, nfs, samba, ...). No questions about network drivers there.
Sap
Posts: 8
Joined: 05 Feb 2015, 08:50

How are networks interfaces configured? VLANs

Postby Sap » 05 Feb 2015, 10:09

SysRCD started with 'nodhcp'.
NetworkManager says on boot it's 'inactive'.
I need VLANs so all interfaces are configured manually in autostart script. VLANs are created with vconfig and then IP-adresses are assigned with 'ip addr add ...'.
But as only I disconnect ethernet cable all VLAN interfaces lose their addresses!
What is the network interface's configuration process (system?)?
There are no '/etc/net_ethX' scripts. And '/etc/conf.d/net' doesn't seem to be processed as well. Who and how configures interfaces?
How can I configure an interface? Or at least, how can I assign static IP to VLAN (so it will not be reseted every time the physical interface is disconnected)?

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: How are networks interfaces configured? VLANs

Postby gernot » 05 Feb 2015, 15:17

The config file is now /etc/conf.d/net

Gernot

Sap
Posts: 8
Joined: 05 Feb 2015, 08:50

Re: How are networks interfaces configured? VLANs

Postby Sap » 10 Feb 2015, 09:30

gernot wrote:The config file is now /etc/conf.d/net

Thanx, are you sure that it is in use? How to (re-) initialize network interfaces when I filled out that config file?

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: How are networks interfaces configured? VLANs

Postby gernot » 10 Feb 2015, 19:13

Networkmanager should read the file.

In older versions the used file was /etc/networks/interfaces.
That changed now.

Gernot


Return to “Networking (except PXE booting)”

Who is online

Users browsing this forum: No registered users and 3 guests