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

Re: ifconfig alias option



Miquel van Smoorenburg wrote:
> 
> In article <[🔎] 9712181525.AA26934@sun10.sep.bnl.gov.sep>,
> Tim Sailer <sailer@sun10.sep.bnl.gov> wrote:
> >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
> >
> >PS: I'll be adding this to my ISP page, along with ip_accounting for
> >the virtual interfaces.
> 
> I read that it's just a little bit faster and cleaner to do
> 
> /sbin/route add -host yourdomain.com dev lo
>                                      ^^^^^^
> You might want to look into that.

Hmm.. I'll have to take a good look at that. But, doing that may
void any firewalling or accounting for that virtual interface. Then
again, if you don't care about that....

Tim

-- 
 (work) sailer@bnl.gov / (home) tps@buoy.com - 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
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: