LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-05-2014, 09:57 PM   #1
rey
Member
 
Registered: Sep 2011
Posts: 49

Rep: Reputation: Disabled
routing tables


hello i have the following network setup, i need to access the http server at 192.168.0.1 from the computer at 192.168.5.21, the diagram goes as follows:

Code:
computer
192.168.5.21 (static)
   |
   |
   |
192.168.5.10 (static)
router
192.168.0.60 (dhcp)
   |
   |
   |
192.168.0.1 (default)
modem
(public ip)
   |
   |
   |
   |
the internet
i have been very confused about this, if the modem changes its ip to 192.168.1.254 then I can browse it just fine from computer, however it stops working with the ip 192.168.0.1

the routing tables for computer are:
Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.5.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.5.10  0.0.0.0         UG    0      0        0 eth0
the routing tables for router are:
Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.5.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0

thanks for your help!

Last edited by rey; 11-05-2014 at 09:58 PM.
 
Old 11-06-2014, 05:42 PM   #2
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
This is labeled as SOLVED. Do you still need help?

If you still need help, I suspect that the problem is actually with the device that has 192.168.0.1 not having a "return route" for your IP address via the router.
 
  


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
routing tables props666999 Linux - Networking 1 10-14-2005 08:27 PM
IP Routing Tables collern2 Linux - Security 1 05-23-2005 10:48 AM
two routing tables fugzi Linux - Networking 7 12-03-2004 06:02 PM
routing tables help hadoque Linux - Networking 0 08-28-2004 09:10 AM
routing tables dunkyb Linux - Networking 3 05-25-2003 02:10 PM

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

All times are GMT -5. The time now is 11:35 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