> > how do I enable ip aliasing? > > > > -----Original Message----- > > From: Wayne Sitton > > > How do I bind 2 ip's to the same nic in Debian > > > > > enable ip aliasing in the kernel. > > then do: > > ifconfig eth0 ip1/mask [foo...] > > ifconfig eth0:1 ip2/mask [bar...]
modconf, grasshopper. try modconf. your setup may not work with it, but it's GOTTA be easier than recompiling a kernel! try 'modconf' and go to ipv4 (i suppose ipv6 if you've got it) and see if you can select an 'ip_alias' module... :) i suspect this is another reason why we like debian so much: add a module, poof you're done! who needs source code? now if we can figure out what the name of the package is that supplies it, you can nab it if you don't already have it... hmm... # dpkg -l \*alias Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===========================-===========================-====================================================================== pn alias <none> (no description available) # dpkg -l ip_\* No packages found matching ip_*. so, hopefully you already have it... :(