LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-05-2010, 04:52 PM   #1
pkraus109
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Rep: Reputation: 16
Question Moved from a class C to Class B network - Performance hit?


I also recently (read last sunday) redesigned the ip scheme. In order to bring some order to the ips we were using i moved from a class C to a Class b (255.255.0.0) so I could do things like ...

Servers 10.0.1.X
Printers 10.0.2.X
DHCP 10.0.3.X
Wireless 10.0.4.X

Well you get the idea. This brought some natural order to things and made setting up content and firewall rules very easy since blocks of ip's can be used. Now I have noticed a performance decrease when one segment (10.0.X) is trying to talk to another (10.0.Y). There are less than 200 devices on the network so its not a ton. Is the performance hit do to broadcasts having to be sent out to a much larger ip range now even though devices are not using all the ips?

Suggestions, thoughts. What can I do to prevent the performance degrade, should I just go back to class C network?

Paul Kraus
 
Old 01-05-2010, 04:53 PM   #2
pkraus109
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Original Poster
Rep: Reputation: 16
Also would it make a difference if segments were on their own switches or would that do nothing?
 
Old 01-05-2010, 07:52 PM   #3
MidSpeck
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Rep: Reputation: 6
Quote:
Originally Posted by pkraus109 View Post
i moved from a class C to a Class b (255.255.0.0) so I could do things like ...

Servers 10.0.1.X
Printers 10.0.2.X
DHCP 10.0.3.X
Wireless 10.0.4.X

Now I have noticed a performance decrease when one segment (10.0.X) is trying to talk to another (10.0.Y).
Hi Paul, I don't imagine you should see much of a performance decrease with a class B. Question though: how do you have your subnets set up? Are they 255.255.255.0 or 255.255.0.0? What is the gateway for each "segment", or do you have one gateway no matter if it is a server/printer/anything?
 
Old 01-05-2010, 08:06 PM   #4
pkraus109
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Original Poster
Rep: Reputation: 16
The subnet is 255.255.0.0 and the one gateway is 10.0.0.1
 
Old 01-05-2010, 09:10 PM   #5
MidSpeck
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Rep: Reputation: 6
Quote:
Originally Posted by pkraus109 View Post
The subnet is 255.255.0.0 and the one gateway is 10.0.0.1
Hmmm, it shouldn't be an issue then. Is it just two pieces of equipment that are talking to each other slowly? Or every piece of equipment on that subnet?

The way it should be working (with some made up IP addresses):
Code:
10.0.1.5 wants to talk to 10.0.4.4
10.0.1.5 looks at its own subnet mask and sees that it is 255.255.0.0
10.0.4.4 fits into its subnet of 10.0.x.x
So, it sends out an arp who-is request ("who-is 10.0.4.4") broadcast
10.0.4.4 hears the who-is broadcast and responds to 10.0.1.5 ("arp response: 10.0.4.4 is at 00:11:22:33:44:55 mac address")
10.0.1.5 puts the correct mac address as the destination as it creates the packet and sends it out.
The level 2 switches send it to the destination machine (they don't care less about IP addresses)
10.0.1.5 remembers the MAC <-> IP address association so it doesn't have to ask for future packets.
I was thinking that maybe one of your subnet masks was set wrong so that it had to send every packet to the gateway. But if you've got everything set up right, I don't see why there would be a problem.

Does it seem to only be every segment having the problem?
Another thought: are your switches "smart" level 3 switches that are looking at the IP addresses of the packets and have default gateways programmed into them as well?

Last edited by MidSpeck; 01-05-2010 at 09:16 PM. Reason: Added another question at the end
 
Old 01-06-2010, 08:11 AM   #6
pkraus109
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Original Poster
Rep: Reputation: 16
We are not using managed switches and it appears to be everything. What exactly does a smart switch do?
 
Old 01-06-2010, 12:16 PM   #7
MidSpeck
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Rep: Reputation: 6
Quote:
Originally Posted by pkraus109 View Post
We are not using managed switches and it appears to be everything. What exactly does a smart switch do?
Depends on the smart switch. They can look at IP addresses and apply VLAN flags or different things. In essence, they start to do a few functions that a router is made to do.

As for your slow problem, that's strange that it's not working. So if you take two computers and put them on the same segment they can talk to each other fast, no problems. But as soon as you move one to a different segment it slows down? Even if you just leave it plugged in physically where you had it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ templated Node class: pointers to different instantated class types jhwilliams Programming 3 08-20-2007 06:20 PM
Derived class inside parent class array, possible? xemous Programming 3 10-17-2006 11:35 AM
Does derivated class inherit base class destructor (constructor)? kornerr Programming 2 08-23-2006 08:05 AM
Which C++ editor in Linux has the class view/class browser feature imaginationworks Programming 7 05-21-2006 11:09 PM
BlackBox.class & VerifierBug.class virus ??? dalek Linux - Security 4 02-29-2004 08:55 AM


All times are GMT -5. The time now is 07:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration