Networking Forums

Networking Forums > Computer Networking > Linux Networking > Usinage loopback addresses

Reply
Thread Tools Display Modes

Usinage loopback addresses

 
 
Bill Davidsen
Guest
Posts: n/a

 
      12-09-2003, 03:26 AM
Any reason not to use multiple loopback addresses, like 127.0.1.1 and
such? I'm doing some interesting port forwarding, and need to have the
application use different IPs to satisfy it's host-key vs. IP checking.
I can have multiple copies listening on separate ports, so connections
will appear to go to multiple machines if the port also changes.

127.0.1.1:6800 - one copy of app, host key #1
127.0.1.2:6801 - different copy of app, host key #2

This seems to work, I just don't want to find out later there is some
"feature" lurking in the weeds.

--
bill davidsen <(E-Mail Removed)>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979

 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      12-10-2003, 12:42 AM
On Mon, 08 Dec 2003 23:26:01 -0500, Bill Davidsen <(E-Mail Removed)> wrote:
> Any reason not to use multiple loopback addresses, like 127.0.1.1 and
> such? I'm doing some interesting port forwarding, and need to have the
> application use different IPs to satisfy it's host-key vs. IP checking.
> I can have multiple copies listening on separate ports, so connections
> will appear to go to multiple machines if the port also changes.
>
> 127.0.1.1:6800 - one copy of app, host key #1
> 127.0.1.2:6801 - different copy of app, host key #2
>
> This seems to work, I just don't want to find out later there is some
> "feature" lurking in the weeds.


If it is just for local use, you are free to use any loopback IP between,
but not including 127.0.0.0 and 127.255.255.255. Note that since its
netmask is 255.0.0.0, you are perfectly free to use IPs within that range
like 127.0.0.255 or 127.0.255.0, etc. Of course loopback IPs are not
directly accessible from outside of that box.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: problem with ethernet loopback test using loopback plug/stub: receiving socket not seeing packet. Rick Jones Linux Networking 10 08-22-2010 07:17 PM
DHCP Server Leasing Addresses to MAC Addresses of 00-00-00-00-00-00 nomorespameventhoughthejapanesespamgivesmeachuckle Linux Networking 9 12-05-2006 09:49 PM
MN-700 Loopback Jeff Broadband Hardware 1 07-21-2004 06:11 PM
Static Ip's and BT - I have just recieved A BT router with 5 static IP Addresses. However, I want 5 computers in the office to use only one of the addresses. ery Difficult Question Nattasian Broadband 3 07-13-2004 08:55 AM
MN-700 Loopback mouf Broadband Hardware 13 01-14-2004 08:24 AM



1 2 3 4 5 6 7 8 9 10 11