JJB wrote:
>If the device name "eth0" is changed to "eth5", would the simple
>solution to update shorewall be to search all shorewall config files for
>eth0 and replace with eth5, restart shorewall and expect it to work
>exactly as before?
My preferred method now is to configure udev to give devices
meaningful names - like ethint and ethext. It's especially helpful to
people like me with poor memories.
If you know the MAC address in advance, you can configure udev before
you shut the system down and it will come up correctly when you
reboot.
In Debian, the config file is
/etc/udev/rules.d/z25_persistent-net.rules which contains lines like :
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:03:47:aa:bb:cc",
NAME="ethext"
It sure beats "port roulette" when your ethernet devices come up with
pseudo random naming !
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users