/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Hi,

I followed the Linux IP Masquerade mini-HOWTO (ver 1.77) to create a gateway
over the ppp-connection for my linux client.
When the gateway is connected almost everything works ok but I have serious
problems when the gateway is not connected to the internet.
The internal client doesn't get any message that any machine outside my LAN
isn't reachable.
For example:
Running ping on the gateway machine:


PING 62.104.217.71 (62.104.217.71): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 62.104.217.71 64 chars, ret=-1


which is totally ok, but running ping on my client:


ping 62.104.217.71                                       
PING 62.104.217.71 (62.104.217.71): 56 data bytes

--- 62.104.217.71 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss


(no output after the first two lines, I hit Ctrl-C)

As a result of this problem all apps which makes some request (f.i. DNS)
stopped until the timeout.
Netscape takes minutes to start, sendmail also takes one minute to start (which
delays my boot time)...

When I removed the default gateway route, everything works ok again (no
timeouts...).
An other thing I noticed was, even when connected: netscape crashes often
(really more often than normal), perhaps this is related to this problem.

I'm not sure this is the right place for this problem but I have no idea where
to look else and I hope find some help here or at least an URL (or so) where to
find help.

My idea is that the ICMP-packets don't get back to the client but I don't know
if this is possible nor to fix it.

Nearly forgotten:
The gateway is Slackware linux 7.0 with kernel 2.2.19 with LAN-IP 192.168.0.1
ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target     prot opt     source                destination           ports
MASQ       all  ------  192.168.0.0/24       anywhere              n/a
Chain output (policy ACCEPT):

(I know, very weak, but I just working on it)

netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo

The (currently only) client is Slackware linux 7.0 with kernel 2.4.4 with
LAN-IP 192.168.0.2
netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG       40 0          0 eth0


Regards,

Ralf Hoffmann

############################################################
Homepage: http://www.boomerangsworld.de
E-Mail: Ralf Hoffmann <[EMAIL PROTECTED]>
  english or german
ICQ: 78645784

Date: 03.Jun 2001 -- Time: 15:00:11 CEST

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to