How to link two subnetworks
Hi i have two subnetworks 192.168.1.x and 192.168.2.x. connected to a server router with 3 network cards. 1connect outside 2 for the subnetworks. How can i get one subnet work to talk to the other.. Both subnetwork can ping the router but computer in the subnetwork can not ping the other computer on the other subnetwork.. I figure is something to do with routing but what is wrong? 66.93.216.0 * 255.255.255.0 U 0 0 0 eth0 192.168.2.0 * 255.255.255.0 U 0 0 0 eth2 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 loopback * 255.0.0.0 U 0 0 0 lo default 66.93.216.1 0.0.0.0 UG 0 0 0 eth0 thanks henry
Make sure the default GW on both PCs are this server router. Toshi On Tue, 2005-06-07 at 23:37 -0500, Henry Tang wrote:
Hi i have two subnetworks 192.168.1.x and 192.168.2.x. connected to a server router with 3 network cards. 1connect outside 2 for the subnetworks. How can i get one subnet work to talk to the other.. Both subnetwork can ping the router but computer in the subnetwork can not ping the other computer on the other subnetwork.. I figure is something to do with routing but what is wrong?
66.93.216.0 * 255.255.255.0 U 0 0 0 eth0 192.168.2.0 * 255.255.255.0 U 0 0 0 eth2 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 loopback * 255.0.0.0 U 0 0 0 lo default 66.93.216.1 0.0.0.0 UG 0 0 0 eth0
thanks henry
Hi i have two subnetworks 192.168.1.x and 192.168.2.x. connected to a server router with 3 network cards. 1connect outside 2 for the subnetworks. How can i get one subnet work to talk to the other.. Both subnetwork can ping the router but computer in the subnetwork can not ping the other computer on the other subnetwork.. I figure is something to do with routing but what is wrong?
No, might be SuSEfirewall2: set FW_ALLOW_CLASS_ROUTING="yes" be sure to have both internal if in FW_DEV_INT
66.93.216.0 * 255.255.255.0 U 0 0 0 eth0 192.168.2.0 * 255.255.255.0 U 0 0 0 eth2 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 loopback * 255.0.0.0 U 0 0 0 lo default 66.93.216.1 0.0.0.0 UG 0 0 0 eth0
thanks henry
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- L. de Braal BraHa Systems NL - Terneuzen T +31 115 649333 F +31 115 649444
Try ehco "1" > /proc/sys/net/ipv4/ip_forward or you have iptables blocking icmp? On Wed, 8 Jun 2005 12:11:55 +0200 (CEST) "Leen de Braal" <ldb@braha.nl> wrote:
Hi i have two subnetworks 192.168.1.x and 192.168.2.x. connected to a server router with 3 network cards. 1connect outside 2 for the subnetworks. How can i get one subnet work to talk to the other.. Both subnetwork can ping the router but computer in the subnetwork can not ping the other computer on the other subnetwork.. I figure is something to do with routing but what is wrong?
No, might be SuSEfirewall2:
set FW_ALLOW_CLASS_ROUTING="yes" be sure to have both internal if in FW_DEV_INT
66.93.216.0 * 255.255.255.0 U 0
0 0
eth0 192.168.2.0 * 255.255.255.0 U 0 0 0 eth2 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 loopback * 255.0.0.0 U 0 0 0 lo default 66.93.216.1 0.0.0.0 UG 0 0 0 eth0
thanks henry
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- L. de Braal BraHa Systems NL - Terneuzen T +31 115 649333 F +31 115 649444
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
_____________________________________________________________________ For super low premiums, click here http://www.dialdirect.co.za/quote
THanks this one worked.. I can ping the server across.. I changed FW_Route as well.. But i can't seen to use vnc, but can access the webserver on the other subnetwork..strange. henry Leen de Braal wrote:
Hi i have two subnetworks 192.168.1.x and 192.168.2.x. connected to a server router with 3 network cards. 1connect outside 2 for the subnetworks. How can i get one subnet work to talk to the other.. Both subnetwork can ping the router but computer in the subnetwork can not ping the other computer on the other subnetwork.. I figure is something to do with routing but what is wrong?
No, might be SuSEfirewall2:
set FW_ALLOW_CLASS_ROUTING="yes" be sure to have both internal if in FW_DEV_INT
66.93.216.0 * 255.255.255.0 U 0 0 0 eth0 192.168.2.0 * 255.255.255.0 U 0 0 0 eth2 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 loopback * 255.0.0.0 U 0 0 0 lo default 66.93.216.1 0.0.0.0 UG 0 0 0 eth0
thanks henry
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (4)
-
Henry Tang
-
it clown
-
Leen de Braal
-
Toshi Esumi