routing i supose
I have a big problem... I have two subnets: 192.168.1.0 and 192.168.0.0. I
have a computer wich is conected to both of them... both of them works perfectly. How can I make them to be able to ping each other? To be more specificaly here is the scheme: Code:
from A works ONLY at B and of course from C works only on B... HEEEELP! thanks! |
Just enable routing - make sure that you have kernel support, then write a "1" in /proc/sys/net/ipv4/ip_forward, e.g.
echo "1" > /proc/sys/net/ipv4/ip_forward To make that permanent, change the line in /etc/sysctl.conf to read Quote:
Hope it helps, mlp |
And add a default gateway reference to machine B in both A & C.
route add default gw B & edit /etc/sysconfig/network to show this gateway device. Regards Peter |
... thanks... it works... and I was a little bit undocumented. Now... the final step. I really want to make all computers, from both subnets, to see in the same workgroup... any ideea? it's so complicated???
|
No, it's not hard. Only type the same workgroup in Samba configuration/Windows configuration (that's what I think you mean by writing about workgroups).
|
that's what i was talking about. i'tt try it out and then i'll post the results...(i think there is setted the same workgroup on boths subnets... i'm not sure...)
|
slackware 10
very helpful guys
I just wanted to add that if you use Slackware 10 you have to go to /etc/rc.d/ and make the file rc.ip_forward executable chmod 755 /etc/rc.d/rc.ip_forward cheers |
All times are GMT -5. The time now is 07:14 AM. |