Networking Forums

Networking Forums > Computer Networking > Linux Networking > Possible to know my host isn't reachable across router?

Reply
Thread Tools Display Modes

Possible to know my host isn't reachable across router?

 
 
glchin@hotmail.com
Guest
Posts: n/a

 
      01-22-2005, 03:04 PM
On Host A attached to subnet 10.0.1.x, I add an alias IP address
192.168.20.82 using ip addr add , giving:
inet 10.0.1.10/24 brd 10.0.1.255 scope global eth0
inet 192.168.20.82/24 brd 192.168.20.255 scope global eth0

However, the 192.168.x.x ip address cannot be pinged from Host B on the
other side of the router. Is it possible from within a script running
on Host A to determine that 192.168.20.82 cannot be reached from the
other side of the router? Or must the test be done on Host B?


GC

 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      01-22-2005, 05:43 PM
On 22 Jan 2005 08:04:34 -0800, (E-Mail Removed) <(E-Mail Removed)> wrote:
> On Host A attached to subnet 10.0.1.x, I add an alias IP address
> 192.168.20.82 using ip addr add , giving:
> inet 10.0.1.10/24 brd 10.0.1.255 scope global eth0
> inet 192.168.20.82/24 brd 192.168.20.255 scope global eth0
>
> However, the 192.168.x.x ip address cannot be pinged from Host B on the
> other side of the router. Is it possible from within a script running
> on Host A to determine that 192.168.20.82 cannot be reached from the
> other side of the router? Or must the test be done on Host B?


What kind of router? Is the router doing NAT (masquerade), or is it even
aware of the 192.168.20.x alias IP or network on its LAN (does it have
proper route to it)? Does host B know to use router WAN IP as gateway for
192.168.20/24 (or as default gateway assuming that IP range is not in its
LAN).

Does 'ping -I 192.168.20.82 hostB' from hostA work?
 
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
New server not reachable by other computers Ron B. Windows Networking 6 08-28-2007 03:46 PM
WRT54GS is not reachable after a reboot Stefan Zinn Linux Networking 1 04-11-2005 03:37 AM
tun device, ip not reachable Benjamin Menküc Linux Networking 0 01-04-2005 04:55 PM
NS 127.0.0.1 not reachable Benu Linux Networking 0 10-08-2004 04:45 PM
Access to public host from private host through Linux router Santanu Chatterjee Linux Networking 5 11-14-2003 11:57 PM



1 2 3 4 5 6 7 8 9 10 11