LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-03-2007, 03:46 AM   #1
ramanan_kumaravelu
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Help needed with ping-ing an internal machine (10.10.10.20) from the Internet


Hi,

First let me describe the setup that i have.

The IP address of my Linux desktop is 10.50.41.220 and i have a embedded device(which also runs Linux) with IP 10.10.10.20 connected to my Linux desktop. This device with IP 10.10.10.20 can be seen only from my Linux desktop.There are two ethernet interfaces on my Linux desktop.
1. eth0 - 10.50.41.220
2. eth1 - 10.10.10.21

Now first i telnet to 10.10.10.20 from my Linux desktop and try the following command:
ping 10.50.41.140

The above ping command works successfully! I got this up and running with IP Masquerading.

Now i need to be able to ping my device (with IP 10.10.10.20) from another machine ( say 10.50.41.140). How can i do this?

I tried using DNAT and changed the destination IP for all packets coming to my Linux desktop (10.50.41.220) to 10.10.10.20. But still packets intended for my Linux desktop dont still reach the internal device with IP 10.10.10.20. Please help.

Thanks in advance.
-Ramanan
 
Old 09-03-2007, 03:52 AM   #2
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
taceroute the ip and confirm default gateway ..and check route
 
  


Reply



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
ping lab machine fail but internet ok powah Linux - Networking 1 10-11-2005 10:50 AM
Driver writing help needed: oops-ing on r/w Alotau Programming 1 07-20-2005 09:49 AM
Redhat 9 server internet dies, goes up on internal ping. loewen Linux - Networking 3 09-04-2004 03:21 PM
chmod ing - Help needed randelld Linux - General 5 04-09-2004 10:54 AM
Can't ping or ftp from internal network to internet vk1985 Linux - Networking 4 03-18-2003 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration