Why the network is unreable?
Rob Sterenborg
rob at sterenborg.info
Sun Nov 5 19:05:25 CET 2006
> Hi:
> My network is like this:
> A(IP:192.168.0.2) B(IP: 192.168.0.1)(IP:192.168.1.2)
> C(IP:192.168.1.1) (netmask:255.255.255.0) 255.255.255.0
> 255.255.255.0 255.255.255.0 (gw: 192.168.0.1) gw :
> 192.168.1.1
I'm not sure what you mean because of wrapping.
You mean this?
A(IP: 192.168.0.2)
(NM: 255.255.255.0)
(GW: 192.168.0.1)
B(IP: 192.168.0.1) (IP: 192.168.1.2)
(NM: 255.255.255.0) (NM: 255.255.255.0)
C(IP: 192.168.1.1)
(NM: 255.255.255.0)
(GW: 192.168.1.1)
You should change the GW of C into 192.168.1.2.
C does not know the route to 192.168.0.2; B does.
> B is a machine with 2 network cards .
> At first I enable the /proc/sys/net/ipv4/ip_forward and
> set the default gw 192.168.1.1.
> Now, A ping B is ok and B ping C is ok. But when A ping C the
> network is unreachable.
> I don't know why. Please help me.
Gr,
Rob
More information about the netfilter
mailing list