Koozali.org: home of the SME Server

DNS resolve yes, ping no

guestHH

DNS resolve yes, ping no
« on: July 06, 2002, 05:58:18 PM »
Hi,

i've got a 'maybe dumb' question here.

- I have 1 SME server setup as a firewall connecten do a dsl line with internal ip 192.168.1.1
- I have a SME server only server on my lan with ip 192.168.10.1
- on both servers the subnet is assigned as a local network so they can see and reach each other
- the 192.168.1.1 is acting as a gateway and extrnal proxy for 192.168.10.1
- 192.168.10.1 is acting as proxy and gateway for my client son the lan.

Now when i try to ping to an external IP from one of my clients everything going well. But when i try to ping from the 192.168.10.1 to an external IP i get 'From 192.168.10.1: Destination Host Unreachable'

Funny thing is the URL i try to ping is being resolved correctly, but no luck in getting any ping reply. The 192168.10.1 is my mailserver so I can't retrieve mail for I can't reach my ISP's ip...

What am i missing here?

Thanks,
guestHH

guestHH

Re: DNS resolve yes, ping no
« Reply #1 on: July 08, 2002, 02:24:19 AM »
Hi,

Turns out to be a routing 'problem'.

Although I entered the correct gateway on the 192.168.10.1, it did not had the gateway as THE default in it's routing table.

Solution:

- route del default
- route add default 192.168.1.1
All works fine now.

Submitted to buds@e-smith.com

Regards,
guestHH

guestHH

Re: DNS resolve yes, ping no
« Reply #2 on: July 08, 2002, 02:42:33 AM »
sorry, exact solution is:

route add default gw 192.168.1.1

ps.  Thanks to Harro


Regards,
guestHH