Re: What's the "debian" way to bind multiple IP addresses to a single NIC???`
On Tue, Feb 04, 2003 at 02:35:32PM +0000, Jason Lunz wrote:
> bda@mirrorshades.net said:
> > I realize that Debian still defaults to 2.2.x for installation, but I
> > would be also be curious to know you're supposed to bind multiple IPs to
> > a single interface `the Debian way' without IP aliasing (with does still
> > work with 2.4).
>
> 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
Note that it's a good idea to install the "iproute" package in order
to have the "ip" command available.
--
Nathan Norman - Incanus Networking mailto:nnorman@incanus.net
It doesn't matter what you are doing, emacs is always overkill.
-- Stephen J. Carpenter
Reply to: