Can anyone offer suggestions on how to make sure the right network interface card is being assigned to the right network?
I'm uncomfortable with the way my OS (Ubuntu 6.10 Server, 2.6.17-10 kernel) simply calls the interfaces "eth0", "eth1", and "eth2". I'm worried that some unnoticed system change could cause these labels to be switched around without warning after a reboot. I imagine it might be possible to write code that would probe the network cards, identify each card by its MAC address, and assign the correct IP address info and Shorewall function to each card, no matter what the kernel might choose to call the card. Presumably, this would involve replacing the existing network startup script (/etc/init.d/networking) and invoking a suitable script in /etc/shorewall/params to set variables to point to the interfaces as appropriate. I have no idea if Shorewall's save/restore would still work in such an environment. Has anyone successfully implemented this? Rich Wales === Palo Alto, CA, USA === [EMAIL PROTECTED] http://www.richw.org === http://en.wikipedia.org/wiki/User:Richwales ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
