Netfilter + IP Aliasing + Linux Pre Kernels.
David Ford
david@kalifornia.com
Sun, 16 Apr 2000 12:09:39 -0700
Stef telford wrote:
> Hello again,
> Can you please tell me what is going wrong with 'ip' then ?!
> Whenever i issue a command such as :
>
> ip addr add 192.168.2.2 dev eth0
>
> I get a result saying :
>
> Cannot send dump request: Connection refused
>
> (and i am root, and I have obtained the latest source for iproute2
> and compiled it. not that this is the center of my problem with IP aliasing
> in the kernel and netfiltering though)
*thinks* ok. recompile your kernel and make sure you have advanced router
turned on.
also, make sure you properly specify the line.
ip a a 192.168.2.2/?? brd + dev eth0
replace ?? with your netmask. for a class C, use /24, for a single ip, use
/32. etc.
-d