Re: Routing & IPChains problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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------
> 


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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux