iptables with ifconfig aliased ips?

caribk

Verified User
Joined
Mar 10, 2005
Messages
16
Location
Lexington, KY
does anyone have an iptables based ruleset running on a DA server with more than a single IP?

from /usr/local/directadmin/scripts/ the ip add/remove/swap scripts use ifconfig to setup virtual IP aliases.

iptables does not seem to work with ifconfig ip aliases of the type eth0:0 instead of adding the ip's with iproute.

does anyone have this working with iptables, or should i look at a different firewall?
 
What Operating system and kernel are you using? This might be similar to a problem I had, but the above will tell.
 
We run iptables with multiple IP#s. Both using DAs method of adding IP#s, and using scripts at /etc/sysconfig/network-scripts/ifcfg-eth0:x.

iptables is actually just a userland interface to the kernel; you might want to post on a good linux list.

Jeff
 
Back
Top