You shouldn't have a default route unless ppp0 is up.  A default route is
the route where "everything else" can be found, and if ppp0 is down there
is no method whereby the system can access anything else.

It sounds like you have some type of routing problem.  I have a similiar
setup as you, and here is the result of /sbin/route  See if yours
corresponds...

Lee Howard

192.168.1.1     *               255.255.255.255 UH    0      0        0 eth0
209.210.166.227 *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     192.168.1.1     255.255.255.0   UG    0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         209.210.166.227 0.0.0.0         UG    0      0        0 ppp0

At 01:48 PM 7/8/00 -0400, eno wrote:
>Hello listers,
>
>I have been banging my head against a wall for the past week trying to set
up an IP Masq box.  I've done this many times before including a recently
configured box using RH 6.2.  It's always worked.  The problem:
>
>I've configured eth0 (A 3Com 3c509) and ppp0 on the system.  When I boot
the machine up, I can access all the machines in my network.  (192.168.1.x)
 However, when I bring up ppp0, I can't access any machine on my LAN.  As
soon as ppp0 is down, LAN access resumes.  I've poked around the system to
see what could possibly be wrong.  I've re-installed three times.
Obviously, since I can't access the network, none of my clients are able to
use the IP Masq box either.  I typed a 'route' command to see what is
showing up there and I noticed, there is no default route when ppp0 is
down.  When it is up, the default route is set to my ISPs portmaster.  I am
certain this is related.  I tried forcing a static route to 127.0.0.1
before connecting, but ppp0 creates an additional default route when it's up.
>
>Additonal info:
>
>I set up the following for IP Masq in /etc/rc.d/rc.local:
>
>/sbin/ipchains -P forward DENY
>/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
>echo 1 > /proc/sys/net/ipv4/ip_forward
>
>I don't think this is the problem because even with those line commented
out in rc.local, LAN access goes away when ppp0 is up.
>
>Anyone have any ideas what might be going on?  I've considered IRQ
conflicts because I had a hell of a time trying to get the NIC and modem
recognized without using PnP.  The modem is on ttyS1 using IRQ 3 and I/O
2F8.  The NIC is using IRQ 5 and I/O 300.  When I do a "cat
/proc/interrupts" when ppp0 is down, IRQ 3 is not listed.  After I connect,
IRQ 3 shows up.
>
>Any help appreciated...
>
>George Lenzer
>
>BTW-I saw a web site once that had info on port forwarding for running
certain IP programs behind a firewall.  They had info on getting Quake II
servers running behind a firewall or programs like SpeakFreely.  I lost the
link.  If this sounds familiar to anyone, please let me know.  Thanks a
million...



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to