Ah ok. Doing a "cat /proc/sys/net/ipv4/ip_forward" I get "1" result. So it 
looks like it is enabled.

ok so I have

Machine one

eth0:
Link encap:Ethernet  HWaddr 00:D0:B7:27:D9:35  
inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
<snip>

eth1:
Link encap:Ethernet  HWaddr 00:01:02:CA:0F:9A  
inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
<snip>

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
10.1.1.0        *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.100   0.0.0.0         UG    0      0        0 eth0


===============================
Machine 2

eth0:
Link encap:Ethernet  HWaddr 00:10:4B:C8:12:21  
inet addr:192.168.1.223  Bcast:192.168.1.255  Mask:255.255.255.0
<snip>

eth1:
Link encap:Ethernet  HWaddr 00:01:02:72:98:BA  
inet addr:10.1.1.2  Bcast:10.1.1.255  Mask:255.255.255.0
<snip>

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
10.1.1.0        *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.100   0.0.0.0         UG    0      0        0 eth0

End
============================================

the 192.168* network has no problems. I have the 10.* network plugged into a 
seperate hub. No gateway specified (shouldn't need) for either box. All seems 
ok, just cant ping either machine. Any clues?









On Tuesday 13 November 2001 15:54, you wrote:
> Not necessarily, do a
> 'cat /proc/sys/net/ipv4/ip_forward'
>
> if you back a 0 then it is not enabled, if you get a 1 back, it is
> enabled. You can probably do an echo 1 >/proc/sys/net/ipv4/ip_forward
> to enable it if you wish. Otherwise, yes you will have to recompile
> the kernel, which isn't normally a big deal. :-)
>
> -Jason
>
> > -----Original Message-----
> > From: Michael Sorrentino [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 13, 2001 18:23
> > To: [EMAIL PROTECTED]
> > Subject: Re: Two Nic Cards
> >
> >
> > Jason,
> >
> > Looks like the RH kernel isn't compiled with IP routing so
> > basically I'm dead
> > in the water without compiling a custom Kernel ;(
> >
> > Thanks for the h elp
> >
> > On Tuesday 13 November 2001 12:20, you wrote:
> > > you need to make sure that IP routing is enabled in the kernel,
> > > you don't need firewalling, just IP routing.
> > >
> > > -Jason
> > >
> > > > -----Original Message-----
> > > > From: Michael [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, November 13, 2001 15:18
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Two Nic Cards
> > > >
> > > >
> > > > Hello all.
> > > >
> > > > I've got two nic cards in and working on two boxes,
> > > > configured as eth0 and
> > > > eth1.  eth0 network is the 192.168.1.0 and works fine.  eth1
> > > > is 10.1.1.0
> > > > network and I can't ping across it. Both machines are
> > > > configured as 10.1.1.1
> > > > and 10.1.1.2.  I've looked at the network guide but the
> > > > ipchains and firewall
> > > > stuff makes it confusing. I think I simply need to specify a
> > > > route but I'm
> > > > not sure how. Any help is appreciated.
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED]
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 



Michael Sorrentino
Network Operations
Rightway Gate, INC
888-398-4703



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to