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

Re: multiple loopback devices?



Something like:

   # ifconfig lo:1 127.0.0.2
   # ifconfig 
   ...
   lo        Link encap:Local Loopback  
	     inet addr:127.0.0.1  Mask:255.0.0.0
	     UP LOOPBACK RUNNING  MTU:3924  Metric:1
	     RX packets:1400 errors:0 dropped:0 overruns:0 frame:0
	     TX packets:1400 errors:0 dropped:0 overruns:0 carrier:0
	     collisions:0 txqueuelen:0 

   lo:1      Link encap:Local Loopback  
	     inet addr:127.0.0.2  Mask:255.0.0.0
	     UP LOOPBACK RUNNING  MTU:3924  Metric:1


   $ ping 127.0.0.2
   PING 127.0.0.2 (127.0.0.2): 56 data bytes
   64 bytes from 127.0.0.2: icmp_seq=0 ttl=255 time=1.1 ms
   64 bytes from 127.0.0.2: icmp_seq=1 ttl=255 time=1.2 ms

   --- 127.0.0.2 ping statistics ---
   2 packets transmitted, 2 packets received, 0% packet loss
   round-trip min/avg/max = 1.1/1.1/1.2 ms


or what?
Include alias network support in the kernel in that case.

Regards,
/Karl

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data           karl@kalle.csb.ki.se
Lilla Aspö 2340             +46  173 140 57                    Networks
S-742 94 Östhammar         +46  10 270 26 67                  Computers
Sweden                                                       Consulting
-----------------------------------------------------------------------


From: bronson@rinspin.com (Scott Bronson)
Subject: multiple loopback devices?
Date: Thu, 5 Apr 2001 03:44:28 -0700

> Do any of you know if Linux, specifically my Debian firewall, supports
> multiple network loopback devices?
> 
> Here's why: djb's dnscache is currently listening on the firewall's
> loopback device, caching all local dns lookups.  Now, I'd like dnscache
> to forward local cache misses to a tinydns process, also local.
> I'd therefore like to have tinydns listen on ANOTHER loopback device. 
> 
> Possible?  Thanks,
> 
> 	- Scott
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: