Computing.Net > Forums > Networking > Can not reach server from LAN

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Can not reach server from LAN

Reply to Message Icon

Name: Jedyte
Date: September 1, 2004 at 07:23:34 Pacific
OS: Mandrake Linux 9.1
CPU/Ram: 233
Comment:

I have some trouble in my network setup, but I have very limited knowledge of networking.

I recently purchased an ADSL modem, which also has a built-in router, DHCP and other stuff (as I discovered later). I already had a server/firewall/router pc that took care of IP masquerading, but I managed to put everything together ok except for one thing: I can not access my server with the external IP from inside my LAN (no problems from outside).

This is my setup:

Internet
|
|
98.81.118.53 (example) (ppp)
Modem which forwards every connection to the server
10.0.0.138 (eth0)
|
|
10.0.0.39 (eth0)
Server, provides IP Masq for LAN
192.168.0.1 (eth1)
|
|
192.168.0.2
Internal Masq'ed PC)

So if I try to surf from the server itself or an internal PC or to 98.81.118.53 I get nothing, but access from outside works perfectly. If I try 10.0.0.39 it works fine.

I figured it had something to do with my firewall, so I checked the server logs, where every attempt to access the server from the server itself brings up this:
Aug 31 21:11:48 localhost kernel: martian source 10.0.0.39 from 10.0.0.39, on dev eth0
Aug 31 21:11:48 localhost kernel: ll header: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

It seems the modem, is incorrectly setting the return address when forwarding the packets back to the server. How can I fix this?
Thank you!




Sponsored Link
Ads by Google

Response Number 1
Name: aznluvsmc
Date: September 1, 2004 at 19:22:24 Pacific
Reply:

Why not just get rid of the routing function on the server?


0

Response Number 2
Name: wolbers
Date: September 2, 2004 at 03:43:01 Pacific
Reply:

You cant access any computers/servers on the same LAN as you with the external IP address of your router ... thats just the way it is

I found this out as well when trying to access an FTP server on my LAN with my routers external IP address but accessing the FTP with its LAN IP worked fine, as well as accessing the FTP with my external IP from a location outside of my LAN ...

it took me several weeks to find out it cant be done, no matter how much you play with the settings


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


problem with network 4 Pin/6 Pin Firewire cabl...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Can not reach server from LAN

CAN NOT REACH SERVER (florida) www.computing.net/answers/networking/can-not-reach-server-florida/20054.html

can not get ip from dhcp www.computing.net/answers/networking/can-not-get-ip-from-dhcp/13081.html

can not access/ping my own external IP server www.computing.net/answers/networking/can-not-accessping-my-own-external-ip-server/37594.html