[Ilugc] Loop back interface

  • From: praveen@xxxxxxxxxxx (Praveen Kumar)
  • Date: Tue, 27 Apr 2004 11:48:44 +0530

Tom Jose Tharayil wrote:

Tom Jose Tharayil wrote:


we can keep upto 8 by default.
If you want more, recompile the kernel and praveen kumar of this list
has gone upto 11. But I have had a maximum of only 8.

I think what he asked was about loop back interface (network) and not
loop devices if I am correct.



Oops :( apologies to the original poster.


Network loopback interfaces are similar to normal network interfaces. 
You can have multiple loopback interfaces and call them with :n prefix. 
For instance, if I need 6 loopback interfaces, I will configure lo, 
lo:0, lo:1, lo:2, lo:3, lo:4 with different IP adresseses such as 
127.0.0.1, 127.0.0.2, 127.0.0.3, 127.0.0.4, 127.0.0.5, 127.0.0.6

For achieving this in Debian, you need to edit /etc/network/interfaces 
and add lo:0 to lo:5 to the 'auto' line and add seperate sections for 
each loopback interface.

HTH.

-- 
http://puggy.symonds.net/~praveen

Other related posts: