> Not pre-up, put them in up / post-up > > You can also use eth0:1 eth0:2 interface definitions in debian > /etc/network/interfaces and use "-i eth0 -d $ip" in your firewall > config. > > The eth0:X interfaces are not really network interfaces, they are just > secondary ip addresses on the base interface with a different label > attached to them for ifconfig backward compatibility. > > Example: > ifconfig eth2:2 192.168.19.123 up > ip addr show dev eth2 > -> inet 192.168.19.123/24 brd 192.168.19.255 scope global secondary eth2:2 > > ip addr add 192.168.19.124/24 dev eth2 > ip addr show dev eth2 > -> inet 192.168.19.123/24 brd 192.168.19.255 scope global secondary eth2:2 > -> inet 192.168.19.124/24 scope global secondary eth2 > > > c'ya > sven This is exactly what I needed. Everything works now as expected. Sidenote: I first created an extra address with: ip addr add 192.168.19.124/24 dev eth2 And checked that is was there. THen I put everything in the post-up command including the one I already did. invoke-rc.d networking restart didn't activate the other addressess. I remove the first one: ip addr del 192.168.19.124/24 dev eth2 then invoke-rc.d networking restart worked. Many thanks. Koen -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html