Moe Trin wrote:
> On Fri, 09 Dec 2005, in the Usenet newsgroup comp.os.linux.networking,
> in article <WE9mf.5274$(E-Mail Removed)>, John wrote:
>
>
>>What are the reasons for creating a subnet on your network?
>>
>>AFAICT, almost all your systems (except the gateway to the net) get
>>non-routable IP's (ex. 10.0.n.m or 192.168.n.m), then you create a
>>subnet by setting an IP and netmask with ifconfig, and updating your
>>routing table (and the routing tables of other systems on your network
>>-- or have DHCP do it I presume) to know about the subnet. But what I
>>don't see is the point.
>
>
> 1. Administrative. To separate entities that wouldn't normally be
> talking to each other - accounting verses engineering verses sales
>
> 2. Physical separation. The facility in town A can't possibly be on
> the same wire as the facility in town B (never mind states or countries).
Ah... When you say, "on the same wire", do you include machines plugged
into eachother via a *switch*, along with the ones connected to each
other via simple hubs?
> 3. Traffic. Ethernet is a common carrier type of network. You don't
> want everybody on the same wire. It gets _busy_ with all them packets.
Again though, from what I understand, a switch will not forward traffic
that it learns doesn't need to be forwarded, so does this reason for
using a subnet still hold?
> 4. Security. Public, verses DMZ, verses internal networks.
>
>
>>Is it to keep fewer records in your arp table?
>
>
> That's item 3. When my company set up the IP network in 1986, they used
> a 255.255.252.0 network mask - allowing 1022 hosts on each subnet.
Ah. So, in terms used back then, they were assigned a "class B" network?
> I don't think we've ever had more that 600 on a given subnet, but "be
> prepared". By 1994, we were installing Etherswitches
(before my time I believe -- I'm guessing these are just like regular
switches, only for coax instead of twisted pair)
> to break our coax
> into chunks with no more than 70 workstations or 4 servers or one router
> on a segment.
I see. A segment here is one bus where everybody sees all packets.
> In 1997, we started transitioning to switched 100BaseT
> media, just as now we are replacing that with 1000BaseT and fiber. The
> whole reason is to reduce the congestion on the individual wire. Yes,
> we're still using that same network mask.
>
>>Do you only create subnets on a LAN where all nodes can talk to
>>eachother? Or are you supposed to only create subnets when you've got a
>>router with an extra NIC on it
>
>
> If you mean having two subnets on the same physical wire - that negates
> the whole reason for subnetting.
Ah! Ok, thanks. I'd been learning about subnets with the mental model of
them being on the same physical wire.
>
>>Instead of using subnets, why not just drop a router anywhere you've got
>>a fairly large related group of chatty hosts, connect those hosts to
>>hubs/switches, then connect the uplink to that router?
>
>
> That's more normal.
Hm. This is what I'm not getting. If you don't use subnets *between*
nodes on the same physical wire, then that means you use them for a
group of nodes connected to some interface to the rest of the network,
right? Well, if that interface is a router, it's not going to forward
packets that are being locally delivered anyway, so what use is making
that group of computers into its own subnet?
>
>>I've been reading from sources like Frisch's "Essential System
>>Administration" and
>>http://www.tcpipguide.com/free/t_IPS...ngConcepts.htm
>>but although most docs discuss extensively how to compute netmasks and
>>related technical details, I'm still struggling with seeing the big
>>picture here. Thanks.
>
>
> The Linux Network Administrator's Guide (from the LDP as well as O'Reilly)
> is also a good read.
>
> Old guy
Thanks again Old guy. I didn't like that guide the first time I looked
at it, but I'll give it another try. Meantime, I've got a copy of Craig
Hunt's "TCP/IP Network Administration, 3rd ed" here that looks quite useful.
Thanks again for your comments on this.
---J
--
[ remove zees if contacting via email ]