LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-10-2008, 08:29 AM   #1
tungaw2001
Member
 
Registered: Aug 2003
Posts: 45

Rep: Reputation: 15
Gateway to local area network routing issue


Hi,

Can someone help me with this problem? I have the following ip address:

eth1 External IP = 61.28.144.144 (ISP provided)
eth0 GW = 10.0.5.1/24
Internal IP address = 10.0.5.0/24
OS = Redhat Linux 4.0

i can surf the internet using the LAN computers. On the other way, I can connect to the eth1 (61.28.144.144) thru ssh. From eth1, i can ping the gateway (eth0 with ip address 10.0.5.1/24). Here comes the problem...., i am tring to ping the internal ip addresses such as 10.0.5.x/24, but "Destination cannot be reached".

from the server, i tried to do :

route add -net 10.0.5.0 netmask gw 10.0.5.1 netmask 255.255.255.0

but i still not able to ping the 10.0.5.0/24 clients (LAN), from 10.0.5.1. Can you tell me what should be the proper solution for this?...

thanks,
 
Old 11-10-2008, 08:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
there is no solution, as there should be no problem in the first place. it *sounds* like you might have added some weird screwey things to your routing table which you shouldn't have. that command you gave is illogical - how can you say you need to reach a network via a device already on that network?? (you want to know where I live? Drive over to my house and i'll tell you) show us the output of "route -n" on that gateway machine you should only have the next hop into your ISP listed, everything else is just local.

Last edited by acid_kewpie; 11-10-2008 at 09:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I connect local area network in linux satan0714 Linux - Newbie 1 04-10-2008 08:20 PM
local area network in fedoracore6 rigs_wang Fedora 3 10-09-2007 12:00 PM
see the local area network vipin_jss Linux - Software 2 08-27-2007 05:50 PM
Local area network Anthony123 Linux - Laptop and Netbook 1 08-13-2003 05:00 AM
Local area network Anthony123 Linux - Networking 1 08-13-2003 04:59 AM


All times are GMT -5. The time now is 05:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration