The equivalent is /etc/conf.d/net, which I configured like this:
Code:
config_eth0=( "null" )
config_eth1=( "null" )
config_eth2=( "null" )
config_eth3=( "null" )
Nothing is done here because I've made my own init script where I start all my services and network interfaces. Somewhere in the file I have:
Code:
for interface in $INTERFACES; do
/etc/myrouter/conf/init.${interface}
done
And for instance, on init.eth0, I could have:
Code:
/usr/sbin/pppoe-start pppoe_eth0.conf
and so on.
So, after the init script I could have this association:
ppp0 -> eth0
eth1 -> eth1
ppp1 -> eth2
Due to instability, ppp links go down, and when they return the association could look like this:
ppp1 -> eth0
eth1 -> eth1
ppp0 -> eth2
And this is a problem to me
Is there a way to ask the kernel for this?nelink sockets?
I've already looked at /proc/sys/net/ipv4/conf/ppp*/ but I couldn't extract nothing useful.