public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* routing & ipchains
@ 2001-04-25  5:55 Andrew B. Cramer
  2001-04-25 12:42 ` Rusty Russell
  2001-04-26  9:18 ` james rich
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew B. Cramer @ 2001-04-25  5:55 UTC (permalink / raw)
  To: linux-kernel

Greetings All,
	After upgrading from kernel 2.0.38 w/ slackware-3.4 to
kernel 2.2.16 w/ slackware-7.1 I have developed the following
routing problems.

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.

---------Route with ppp0 up----------------
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
192.168.0.0     192.168.0.1     255.255.255.0   UG    0      0        0 
eth1
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
-------------------End of Route Table------------------

TIA - if other files are needed, I can forward.

Best - Andy

Andrew B. Cramer - <andrew.cramer@cramer-ts.com>
Cramer Technical Services - <www.cramer-ts.com>
Linux Resource Exchange - <www.linuxrx.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: routing & ipchains
  2001-04-25  5:55 routing & ipchains Andrew B. Cramer
@ 2001-04-25 12:42 ` Rusty Russell
  2001-04-26  9:18 ` james rich
  1 sibling, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2001-04-25 12:42 UTC (permalink / raw)
  To: andrew.cramer; +Cc: linux-kernel

In message <3AE6208C.8379.146C84FE@localhost> you write:
> Greetings All,
> 	After upgrading from kernel 2.0.38 w/ slackware-3.4 to
> kernel 2.2.16 w/ slackware-7.1 I have developed the following
> routing problems.
> 
> 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.

Um, I don't see what this has to do with ipchains, but my guess is:

	echo 1 > /proc/sys/net/ipv4/ip_forward

Rusty.
--
Premature optmztion is rt of all evl. --DK

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: routing & ipchains
  2001-04-25  5:55 routing & ipchains Andrew B. Cramer
  2001-04-25 12:42 ` Rusty Russell
@ 2001-04-26  9:18 ` james rich
  1 sibling, 0 replies; 3+ messages in thread
From: james rich @ 2001-04-26  9:18 UTC (permalink / raw)
  To: Andrew B. Cramer; +Cc: linux-kernel

On Wed, 25 Apr 2001, Andrew B. Cramer wrote:

> Greetings All,

Hey Andy - haven't heard from you since work on a replacement linuxHQ (ahh
- those were the days, lot's of free time :) )

> 	After upgrading from kernel 2.0.38 w/ slackware-3.4 to
> kernel 2.2.16 w/ slackware-7.1 I have developed the following
> routing problems.

When upgrading slackware (not a complete reinstall) it doesn't replace you
rc scripts in /etc/rc.d.  2.2.x has a /proc entry to enable forwarding.
You need to echo 1 > /proc/sys/net/ipv4/ip_forward to enable forwarding.
Newer slackware does this in /etc/rc.d/rc.inet2.

I'm not sure this is your problem.  If you installed slackware new without
upgrading this probably isn't the answer.

James Rich
james.rich@m.cc.utah.edu


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-26  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-25  5:55 routing & ipchains Andrew B. Cramer
2001-04-25 12:42 ` Rusty Russell
2001-04-26  9:18 ` james rich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox