-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16-Oct-2002/15:43 +0800, Toto Gamez <[EMAIL PROTECTED]> wrote: >We have two separate network in two different offices with both Class C IP. > >Network A >IP from 192.168.100.1 to 50 >Dial-up (RH7.2 pppd/mgetty) server ppp0 IP 192.168.100.99 >Web/Email server with one public IP >win98/w2k clients > >Network B >IP from 192.168.100.101 to 18 >Dial-in server (RH7.2 NAT/IP forwarding/internet sharing) ppp0 IP >192.168.100.100 w98/w2k clients > >Network B dial-in server connect to Network A Dial-up server to retrieved >their e-mail and browse the internet. What I want is, is there any way >that this two network see each other (w98/w2k clients) to share resources >and for support using using these two dial-in/up server. Someone told >me that I can do that using static routing. I tried > >Network B (dial-up server) ># route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.100.99 > >Network A (dial-in server) ># route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.100.100 > >I try to ping w98/w2k IP from another w98/w2k but no luck
The networks are identical. They are both 192.168.100.0/255.255.255.0, so you can't route between them. You need to create separate networks. Working with your existing IP addresses, you can do this by making these subnets: Network Netmask IP Range (incl network & broadcast) --------------- --------------- ----------------------------------- 192.168.100.0 255.255.255.192 192.168.100.0 - 192.168.100.63 192.168.100.64 255.255.255.192 192.168.100.64 - 192.168.100.127 That works, but it limits your ability to add machines at your biggest site. Assuming all the IPs you listed are in use, this plan only has 12 unused IP addresses at the larger site. If you are willing to change IP addresses at the smaller site (you are using DHCP aren't you?), you can have 126 usable addresses per site: Network Netmask IP Range (incl network & broadcast) --------------- --------------- ----------------------------------- 192.168.100.0 255.255.255.128 192.168.100.0 - 192.168.100.127 192.168.100.128 255.255.255.128 192.168.100.128 - 192.168.100.255 If/when new sites are added, you can give each new site a subnet with 126 usable addresses: Network Netmask IP Range (incl network & broadcast) --------------- --------------- ----------------------------------- 192.168.101.0 255.255.255.128 192.168.101.0 - 192.168.101.127 192.168.101.128 255.255.255.128 192.168.101.128 - 192.168.101.255 192.168.102.0 255.255.255.128 192.168.102.0 - 192.168.102.127 192.168.102.128 255.255.255.128 192.168.102.128 - 192.168.102.255 Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D iD8DBQE9rW4BpCpg3WyUI50RAv/PAJ47j/4jPOJjbc0D7UYDiGz3T1AE6wCfQ744 dMKwD+egk+RIHb8WYJS0/JY= =61Ja -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list