Re: [gentoo-user] Set the alias of an interface with netifrc

2019-01-23 Thread J. Roeleveld
On Sunday, January 20, 2019 1:29:48 AM CET Alarig Le Lay wrote: > On sam. 19 janv. 16:45:42 2019, J. Roeleveld wrote: > > Not sure if that is actually "supported" by netifrc. > > You could add these commands in a postup() block. > > I did that, thanks! > > > Is there a specific benefit for just s

Re: [gentoo-user] Set the alias of an interface with netifrc

2019-01-19 Thread Alarig Le Lay
On sam. 19 janv. 16:45:42 2019, J. Roeleveld wrote: > Not sure if that is actually "supported" by netifrc. > You could add these commands in a postup() block. I did that, thanks! > Is there a specific benefit for just setting an "alias" like this? Yes, knowing what each interface is used for. -

Re: [gentoo-user] Set the alias of an interface with netifrc

2019-01-19 Thread J. Roeleveld
On Saturday, January 19, 2019 3:36:15 PM CET Alarig Le Lay wrote: > Hi, > > On sam. 19 janv. 12:02:20 2019, J. Roeleveld wrote: > > Not sure if you can use spaces in the name, but I have the following: > > > > $ cat /etc/conf.d/net > > #config_eno1="dhcp" > > > > config_eno1="null" > > vlans_eno

Re: [gentoo-user] Set the alias of an interface with netifrc

2019-01-19 Thread Alarig Le Lay
Hi, On sam. 19 janv. 12:02:20 2019, J. Roeleveld wrote: > Not sure if you can use spaces in the name, but I have the following: > > $ cat /etc/conf.d/net > #config_eno1="dhcp" > > config_eno1="null" > vlans_eno1="10 15" > vlan10_name="adm" > vlan15_name="str" > rc_net_adm_need="net.eno1" > rc_ne

Re: [gentoo-user] Set the alias of an interface with netifrc

2019-01-19 Thread J. Roeleveld
On Thursday, January 17, 2019 10:37:32 PM CET Alarig Le Lay wrote: > Hi, > > I would like to set the alias of my interfaces at boot (if possible with > netifrc). > > Here are the relevant parts of my configuration: > config_enp3s0f0="null" > vlans_enp3s0f0="20 21 22 50" > config_enp3s0f0_22="185.

Re: [gentoo-user] Set the alias of an interface with netifrc

2019-01-18 Thread Mick
On Thursday, 17 January 2019 21:37:32 GMT Alarig Le Lay wrote: > Hi, > > I would like to set the alias of my interfaces at boot (if possible with > netifrc). > > Here are the relevant parts of my configuration: > config_enp3s0f0="null" > vlans_enp3s0f0="20 21 22 50" > config_enp3s0f0_22="185.1.89

[gentoo-user] Set the alias of an interface with netifrc

2019-01-17 Thread Alarig Le Lay
Hi, I would like to set the alias of my interfaces at boot (if possible with netifrc). Here are the relevant parts of my configuration: config_enp3s0f0="null" vlans_enp3s0f0="20 21 22 50" config_enp3s0f0_22="185.1.89.13/24 2001:7f8:b1::d/64" My interface is well created, but if I want an alias,