Re: Routing Problems

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

 



All machines on net A and net B must use the gateway machine as their
DEFAULT ROUTE .. or else you may have to set a default route in the real
default router for the specific subnet to go to the gateway machine ...
yikes.. even I got lost in that..

suffice it to say, use the gateway machine as the default router on both
nets, and that should work (thats sorta how I have my wireless working)

Tommy

On Sat, 2003-01-04 at 09:34, Reinhard X. Fuerst wrote:
> Hi,
> 
> i have a little network with 2 segments:
> net A -> 192.168.0.x, Mask 255.255.255.0
> net B -> 192.168.2.x, Mask 255.255.255.0
> 
> One Linux-RH8-Computer (my gateway) has 2 ethernet cards:
> eth0 -> 192.168.2.1  (255.255.255.0)
> eth1 -> 192.168.0.66 (255.255.255.0)
> 
> ping from Gateway in both nets possible
> ping from net A to gateway possible
> ping from net B to gateway possible
> 
> BUT ping from one network to the other: NOT possible
> As gateway adress i put in computers on net A 192.168.0.66 
> and in computers on net B 192.168.2.1
> 
> in the gateway-computer i have /proc/sys/net/ipv4/ip_forward = 1
> 
> route (on gw) gives: 
> ---------------------------
> Kernel IP Routentabelle
> Ziel            Router          Genmask         Flags Metric Ref    Use Iface
> 192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
> 192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> ------------------------------
> 
> Why doesn't it route the packets from one net to the other?
> 
> Any help appreciated
> 
> Reinhard
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux