If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From - Thu Aug 3 14:50:45 2000 Path: news.randori.com!news.voicenet.com!newsfeed.mathworks.com!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!bilver.wjv.com!bill Newsgroups: comp.unix.sco.misc From: bill@wjv.com.REMOVEME (Bill Vermillion) Subject: Re: Network Design questions Organization: W.J.Vermillion - Orlando / Winter Park FL Message-ID: <FypyqB.9C3@wjv.com.REMOVEME> References: <8ma73r$3h0$1@slb6.atl.mindspring.net> Lines: 89 Date: Thu, 3 Aug 2000 13:56:35 GMT NNTP-Posting-Host: 157.238.208.159 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 965314322 157.238.208.159 (Thu, 03 Aug 2000 14:52:02 GMT) NNTP-Posting-Date: Thu, 03 Aug 2000 14:52:02 GMT Xref: news.randori.com comp.unix.sco.misc:63969 X-Mozilla-Status: 8010 X-Mozilla-Status2: 00000000 In article <8ma73r$3h0$1@slb6.atl.mindspring.net>, David H. Funte <none> wrote: >I have two Openserver 5.04 servers in two different cities.
>They are connected via PPP over a low bandwitch 38k connection. My >goal is to keep trafic between cites at a minimun - while allowing >full access to each server, and all print servers on the network. >I am planning to do the following.. >(1) Connect both servers with subnet mask of 255.255.0.0 > > Server #1 IP is 192.168.1.1 - GATEWAY > Server #2 IP is 192.168.2.1 - GATEWAY With a 192.168.1.1 and 2.1 you only need a 255.255.252.0. If you had chosen 192.168.0.1 and 192.168.1.1 you could used 255.255.254.0 The former supernets four 256 address blocks while the latter only two. ......... >------------------------------------------------------- >I've tested this, and it seems to work. However I have these >questions. > >The servers are part of the 255.255.0.0 subnet mask, and the PC's >in each town are part of the 255.255.255.0 subnet mask which form >the local network. Since each server is the Windows gateway, any >requests for the other cities addresses are routed through the >local gateway to the other city - since the two servers are part >of the same netmask. However any traffic that is part of the local >network stays local.
>Question #1: Is there anything *BAD* about mixing netmasks. You don't 'mix' subnets. You use them to split of combine groups of addresses into more manageable or routeable hunks. >Question #2: does this setup actually acomplish my goal of minimizing >traffic over the 38k PPP connection? Not really. But you mention internet connection below - and didn't mention here - which router has the internet connection. That make a difference in how the routing tables should be set up. >--------------------- >Question #3: Each city has it's own internet router. The address of >each router is 192.168.1.201 in City #1, and 192.168.2.201 in City >#2. > I've noticed that I can list the UNIX server as the only >gateway on both LANs if I add the following to the UNIX routing >table. > City #1 UNIX routing table: route add 0.0.0.0 192.168.1.201 > City #2 UNIX routing table: route add 0.0.0.0 192.168.2.201 You only use the 0.0.0.0 for what is sometimes called the gateway of last resort. I'm assuming only one router is connected to the internet and the other goes through the first. If so only the non-connected can have 0.0.0.0 routed to the connected one, but make sure the connected one has a route to the non-connected one and with a netmask of 255.255.255.0. That will make sure that data only goes to where it is needed and will cut down on your traffic - which was your stated design goal. > this seems to cause any "foreign" ip addresses to filter >through to the internet gateway. The tracert command seems to prove >this true. I'd suggest reading up a bit on IP routing. The 0.0.0.0 is used only when previous routing statements don't match. It is the 'use this because I don't know where to got for this' and it sends it out to the next router upstream. >Is there anything wrong with creating a route to the 0.0.0.0 >network? It looks weird to me, but it seems to works. No - it is needed if you have outside connectivity. If you only connect to each city you can dispense with that and make specific routes so that if someone types an IP number outside the range you would get a 'network unreachable' or similar message. -- Bill Vermillion bv @ wjv.com

/Bofcusm/461.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar