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

Re: multiple loopback devices?



On Thu, Apr 05, 2001 at 12:57:25PM +0200, Karl Hammar wrote:
> Something like:
>    # ifconfig lo:1 127.0.0.2

_Exactly_ like that.  Thanks, Karl!

One question...

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.255.255.0
          UP LOOPBACK RUNNING  MTU:3904  Metric:1
          RX packets:203 errors:0 dropped:0 overruns:0 frame:0
          TX packets:203 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:39674 (38.7 Kb)  TX bytes:39674 (38.7 Kb)

lo:1      Link encap:Local Loopback  
          inet addr:127.1.0.1  Mask:255.255.255.0
          UP LOOPBACK RUNNING  MTU:3904  Metric:1

The following works:

(term 1) elle:/home/bronson# nc -l -p 1000 127.1.0.1
(term 2) bronson@elle:~$ nc 127.1.0.1 1000

But this error baffles me:

(term 1) elle:/home/bronson# nc -l -p 1000 127.1.0.1
(term 2) bronson@elle:~$ nc 127.0.0.1 1000
(term 1) invalid connection to [127.0.0.1] from (UNKNOWN) [127.0.0.1] 2254

So, even though they're separate addresses and netmasks, they still
conflict with each other somehow.  Am I making a silly mistake here?
Thanks,

	- Scott



Reply to: