Re: routing & ipchains

2001-04-26 Thread james rich

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
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: routing ipchains

2001-04-26 Thread james rich

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
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: routing & ipchains

2001-04-25 Thread Rusty Russell

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: routing ipchains

2001-04-25 Thread Rusty Russell

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
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



routing & ipchains

2001-04-24 Thread Andrew B. Cramer

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 UH0  00 
ppp0
192.168.0.0 0.0.0.0 255.255.255.128 U 0  00 
eth1
192.168.0.128   0.0.0.0 255.255.255.128 U 0  00 
eth0
192.168.0.0 192.168.0.1 255.255.255.0   UG0  00 
eth1
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo
0.0.0.0 205.243.155.100 0.0.0.0 UG0  00 
ppp0
0.0.0.0 192.168.0.1 0.0.0.0 UG0  00 eth1
0.0.0.0 192.168.0.130   0.0.0.0 UG0  00 eth0
---End of Route Table--

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

Best - Andy

Andrew B. Cramer - <[EMAIL PROTECTED]>
Cramer Technical Services - 
Linux Resource Exchange - 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/