How to configure multiple loopback interfaces (lo0, lo1, lo2...)
I repeat the question:
How can I configure multiple loopback interfaces (lo0, lo1, lo2...)?? Thanks Arkin |
And you would want to do this why?
|
I need it to do some works. Please Nobody knows how can be replicated de loopback interfaces (lo0,lo1,lo2........)??????????
Arkin |
I don't believe that it can be done.
You might be able to find a way to multicast it (i.e. lo:0, lo:1). I have no idea though, I've never used multicasting really. I'm just hopefully giving you a direction to look :) |
I found webs that say that is posible to replicate loopback interfaces, but they don't say how. Thanks itsme86 for the answer.
Arkin |
I was looking for this as well. Figured it out, so I thought I'd post the answer.
This is how it is done with Fedora: 1) Copy the existing loopback interface: cd /etc/sysconfig/network-scripts cp ifcfg-lo ifcfg-lo:1 2) Edit the interface ifcfg-lo:1 DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 ONBOOT=yes NAME=loopback 3) Change the DEVICE= to the alias # (lo:1) 4) Change the IPADDR,NETMASK,NETWORK 3) If you need more loopback interfaces, just copy again and add alias # (lo:2,lo:3,etc) Hope this helps others. |
Quote:
Hello what to do if I have now to remove lo:1 ? I removed file ifcfg-lo:1 but it was not enough . |
All times are GMT -5. The time now is 12:09 AM. |