Re: Routing & IPChains problem.

From: Andrew B. Cramer (andrew.cramer@cramer-ts.com)
Date: Wed Apr 25 2001 - 18:41:20 EST


Thanks Jamie for responding. The Linux host does have both ethx
and ppp0. First the routing table, then ipchains -L. - Andy

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
205.243.155.100 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
192.168.0.0 0.0.0.0 255.255.255.128 U 0 0 0
eth1
192.168.0.128 0.0.0.0 255.255.255.128 U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 205.243.155.100 0.0.0.0 UG 0 0 0
ppp0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 192.168.0.130 0.0.0.0 UG 0 0 0 eth0

---------------
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
target prot opt source destination ports
ACCEPT all ------ anywhere anywhere n/a
ACCEPT all ------ anywhere anywhere n/a
MASQ all ------ anywhere anywhere n/a
Chain output (policy ACCEPT):
---------------

On 26 Apr 2001, at 0:35, Jamie Harris wrote:

> On Wed, 25 Apr 2001, Andrew B. Cramer wrote:
>
> > Hardware -
> > eth0 - 10meg on net 192.168.0.0 i/f 192.168.0.1 subnet
> > 255.255.255.128
> > eth1 - 100meg on net 192.168.0.128 i/f 192.168.0.130 subnet
> > 255.255.255.128
> >
> > >From either network I can use ipchains and surf/telnet/ftp/... on
> > each network to the ppp0 dialup connection. I cannot ping or
> > anything from eth0 to eth1 or back.
>
> When you say you are using a dialup are you sharing a dialup connection
> using masquerading or do you have one on each network? I'm assuming its
> one on each net, or does the gateway/router have the modem? In which case
> you are forwarding between ethx -> ppp0 but not eth1 <-> eth0... yeah?
>
> > TIA - if other files are needed, I can forward.
>
> You including the output of 'ipchains -L' would be userful as that will
> show us what routing you have setup.
>
> cheers!
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> *** Slowly and surely the UNIX crept up on the Nintendo user... ***
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS/ED d-(++) s:+ a- C+++>++++$ U+++>$ P++++ L+++>+++++ E+(---) W++ N o?
> K? w(++++) O- M V? PS PE? Y PGP- t+ 5 X- R- tv- b++ DI++ D+++ G e++ h*
> r++>+++ y+++
> ------END GEEK CODE BLOCK------
>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:29 EST