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

Re: What's the "debian" way to bind multiple IP addresses to a single NIC???`



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

Jason



Reply to: