Re: Windows Remote Desktop over ssh



>>>>> "TH" == Todd H <comphelp@xxxxxxxxx> writes:

TH> 127.0.0.2 ? I'm not entirely certain that's a legal address.

I'm not sure what you mean by "legal," but it's completely usable. The
entire range 127.0.0.0/8 is reserved to mean "the same host," and there
will generally be a route to that entire prefix pointing at the loopback
interface, e.g.:

---------------------------------------------------------------------------
[OS X]
darwin:~% netstat -rn -f inet
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
...
127 127.0.0.1 UCS 1 0 lo0
...
---------------------------------------------------------------------------

Now, whether addresses other than 127.0.0.1 depends on the OS. For
instance, on OS X they are not. However, on WinXP, they are:

---------------------------------------------------------------------------
C:\Documents and Settings\Richard E. Silverman>netstat -ran

Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0c 29 d4 42 13 ...... AMD PCNET Family PCI Ethernet Adapter - Packet S
cheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.1.1.1 10.1.1.230 10
10.1.1.0 255.255.255.0 10.1.1.230 10.1.1.230 10
10.1.1.230 255.255.255.255 127.0.0.1 127.0.0.1 10
10.255.255.255 255.255.255.255 10.1.1.230 10.1.1.230 10
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.1.1.230 10.1.1.230 10
255.255.255.255 255.255.255.255 10.1.1.230 10.1.1.230 1
Default Gateway: 10.1.1.1
===========================================================================
Persistent Routes:
None

C:\Documents and Settings\Richard E. Silverman>ping 127.0.0.2

Pinging 127.0.0.2 with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
---------------------------------------------------------------------------

Linux (at least kernel 2.6.11) does not even show a route for 127/0, but
all those addresses are usable; there must be some internal mechanism that
takes care of it.

--
Richard Silverman
res@xxxxxxxx

.



Relevant Pages

  • Re: rras - two nics - no internet connection
    ... Does the Linux router have a route for the 172.16.1.0 network? ... > From WinXP, I cannot connect to the Internet. ... > Win2k3 has two NICs. ... > Sub: 255.255.255.0 ...
    (microsoft.public.win2000.ras_routing)
  • Re: dnsmasq trouble
    ... in fact any Windows on the LAN cannot ping!? ... All the route are the same for each boxes ... > drop echo requests from WinXP? ...
    (comp.os.linux.networking)
  • PoPToP/VPN and default gateway
    ... I WANT to route ALL traffic thru the vpn connection I make from my ... winxp box to my Poptop box. ... I can connect but Poptop always tells my box ...
    (comp.os.linux.networking)