29 Apr
2005
29 Apr
'05
07:37
the ip of the hardware don't change, the name ethXX change, I use Shorewall this another approach to solve the problem I set variable to designate the interfaces in /etc/shorewall/params : NET_INT=`getcfg-interface "eth-bus-pci-0000:02:01.0"` NET_EXT=`getcfg-interface "eth-bus-pci-0000:03:0d.0"` and in all shorewall files configuration I use $NET_INT and $NET_EXT and all is working, even if the name if an interface change, the file param set the variables with the good interface name