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

Re: ssh connects to originating host



Additional info: see below.

On 05/12/2009 03:50:27 PM, Geoffrey Leach wrote:
On 05/12/2009 03:08:26 PM, Shashank wrote:
> So let me see if I understand it correctly. Let's also drop the 
> domain name
> 
> 
> System A :
> 
> mtranch     eth0   -  192.168.10.2
> mtranchw   wlan0 -  192.168.10.4
> 
> System B:
> pvr            eth0 ??
>                 wlan0    192.168.10.3
> 

eth0 on B is connected to an OTA HD TV tuner

> So far so good...
> Now you are connected to system A:
> 
> You type ssh pvr (B) you get connected back to A?
> Can you provide cat /etc/hosts on system A ?

root mtranch[25]->cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1	localhost.localdomain localhost mtranch.mtranch.com 
mtranch
::1		localhost6.localdomain6 localhost6
192.168.10.2	mtranch.mtranch.com mtranch
192.168.10.3	mtranchw.mtranch.com mtranchw
192.168.10.4	pvr.mtranch.com pvr

> 
> As per your traceroute pvr output, you are getting the 192.168.10.2
> instead of 192.168.10.3.
> 
> Also on system A, can you run:
> nslookup pvr
> nslookup mtranch
> nslookup mtranchw

root mtranch[26]->nslookup pvr
Server:		192.168.10.1
Address:	192.168.10.1#53

Non-authoritative answer:
Name:	pvr.mtranch.com
Address: 63.251.179.5

root mtranch[27]->nslookup mtranch
Server:		192.168.10.1
Address:	192.168.10.1#53

Non-authoritative answer:
Name:	mtranch.mtranch.com
Address: 63.251.179.5

root mtranch[28]->nslookup mtranchw
Server:		192.168.10.1
Address:	192.168.10.1#53

Non-authoritative answer:
Name:	mtranchw.mtranch.com
Address: 63.251.179.5

> Hopefully that will help us resolve your issue.

No sooner than I hit 'send' I noticed this

> System A :
> 
> mtranch     eth0   -  192.168.10.2
> mtranchw   wlan0 -  192.168.10.4
No. Should be:
             wlan0 -  192.168.10.3
> 
> System B:
> pvr            eth0 ??
>                 wlan0    192.168.10.3
No. Should be:
        	  wlan0    192.168.10.4




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