[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iproute2 and /etc/network/interfaces



Once upon a time Peter Hicks said...
> Is there a correct debian way to use iproute2 in the
> /etc/network/interfaces file? I need to set up a firewall machine with
> multiple external ip addresses and would rather use the ip tool than
> aliasing the addresses to eth0. Does ifup and ifdown support this?

In a message to this list last month that I filed away for reference, 
Jason Lunz had this to say:

this works fine for me:

iface eth1 inet static
        address 172.16.0.106
        netmask 255.255.255.0
        up ip addr add dev $IFACE 172.16.1.106
        down ip addr flush dev $IFACE




Reply to: