Dear all
I have a problem
I usually have at least 2 or 3 ip on my eth0 interface.
I need this because I use my computer to communicate to different machines, PLCs and other industrial equipment. Some of those are on different subnets...
It works great but if I unplug the LAN cable and plug it it again I loose the routes to the second/third subnet. If I run /etc/init.d/net.eth0 restart then it works again but it is annoying.
How can I do this automatically.
Here is my usual /etc/conf.d/net
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
config_eth1=( "dhcp" )
routes_eth0=(
"default via 192.168.0.1"
)
config_eth0=(
"172.16.17.35/24"
"192.168.0.30/24
"192.168.10.30/24"
)
Thanks and best regards
Martin

