Markus Diesmann wrote: > > Hi, > > floowing O'Reilly's Apache book I treid to set up second IP adress for a > debian linux system. > It seems that debian's implementation of ifconfig does not support the > alias option. > Is this true? > Does anybody know how I can make system with one ethernet board listen > to > two IP addresses in the same domain?
First, you have to compile your kernel with ip aliasing in it. Reboot with your shiny new kernel. Then run something like this: /sbin/ifconfig eth0:1 yourdomain.com /sbin/route add -host yourdomain.com dev eth0:1 Tim PS: I'll be adding this to my ISP page, along with ip_accounting for the virtual interfaces. -- (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps "Everything's better when wet." Steve Miller - "Jungle Love" ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.** -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .