|
|
Subject:
Network Technical Question - Blocking Broadcasts from Reaching a Computer
Category: Computers > Programming Asked by: routerx-ga List Price: $10.00 |
Posted:
05 Jun 2003 12:29 PDT
Expires: 05 Jul 2003 12:29 PDT Question ID: 213536 |
I have a Class C network 129.9.1.0/255.255.255.0. My goal is to place a computer on that network as 129.9.1.190. It must be this IP address. The computer must NOT receive or see any broadcasts on the 129.9.1.0 network. The only traffic is should ever see is when someone is specifically trying to connect to it. How can I block broadcasts/multicasts from being seen by a computer if it is on a Class C network with 200 other hosts? The other hosts that need to connect to it are also on the 129.9.1.0 network. | |
| |
| |
|
|
Subject:
Re: Network Technical Question - Blocking Broadcasts from Reaching a Computer
Answered By: maniac-ga on 09 Jun 2003 04:38 PDT |
Hello Routerx, Based on the information you provided, I am submitting the following answer to your question. To summarize the situation: - You are using a class C network 129.9.1.0/24 - You want to prevent broadcasts to 129.9.1.190 and cannot change this address - The existing switches (Cisco 1924 and 2924) will not filter broadcasts Based on this situation, the best solution is to add a bridge with filtering, often called a brouter (bridge / router). Most brouters available are designed for Small Office / Home Office (SOHO) use. As a result, they provide open connections on the local LAN and filter the data being sent to the Internet. One of these may be adaptable for your use but a more comprehensive solution would be to configure a PC to act as the brouter. The remainder of the answer addresses that kind of solution. OpenBSD [and NetBSD] appears to have the most mature solution for this. This is described in the documentation as "Packet Filtering". Several on line references are at: http://www.inebriated.demon.nl/pf-howto/html/pf-howto.html http://www.openbsd.org/faq/pf/index.html http://www.openbsd.org/faq/faq6pf.html http://www.jp.daemonnews.org/200109/network.html This last reference is pretty basic, but includes some good illustrations to show the connections necessary to implement the brouter capability. You can search for additional references with phrases such as OpenBSD packet filtering netbsd packet filtering openbsd network bridge filter and so on. Linux has had a similar solution as a patch to the kernel for a few years. The original patch was created for 2.2 kernels, but an updated patch is incorporated for 2.4 kernels. There is a further patch incorporated in the 2.5 series (ebtables), however the 2.5 kernels are not recommended for production use. Either solution should be suitable now. Perhaps the best explanation of this capability is at http://www.ibiblio.org/mdw/HOWTO/mini/Bridge+Firewall+DSL-2.html which describes the typical SOHO solution, but the implementation is quite flexible and can be adapted for your use. Other references include: http://bridge.sourceforge.net/ http://www.linux-kongress.org/2002/papers/lk2002-spenneberg.pdf The first being the site supporting the bridge / filter patch. Pre built utilities and kernels are available at this first site. The second is a technical reference that describes the approach. Searches for further information on this include network bridge filter 2.4 linux patch network bridge filter ebtables Both of these solutions provide for stateless and "state full" filtering, allowing you to fine tune the filtering. As I mentioned before, if any of this is unclear, you want feedback on your solution, or you need some additional references on this topic, please make a request for clarification so I can respond. Good luck with your work. --Maniac |
|
Subject:
Re: Network Technical Question - Blocking Broadcasts from Reaching a Computer
From: mrcgayle-ga on 05 Jun 2003 23:36 PDT |
what your trying to acomplish should be pretty simple if you use the correct hardware and the Correct IP class with Subnet. Now for a simple process, your using the incorrect ip address. I will explain you mention that your setting up a class C network, and a class C octet starts at 192.(not saying you can't have it the way you have it now, but your then face to do some calulation on your part) if you ask me I would setup my network with the simplest class C network such as 192.9.1.0/24. Then start working of blinding the rest of the network from a single Node. Now the way I had mines don was, (I'm not sure of other products, but I use a Cisco Cat.3150 Switch), okay you would need a manage switch, its a little bit more expensive than the unmanage switch.. anyway, assume you choose to purchase that switch, your able to manage the switch to block broadcast from that port. |
Subject:
Re: Network Technical Question - Blocking Broadcasts from Reaching a Computer
From: pokerpro-ga on 06 Jun 2003 13:46 PDT |
As you already know, switches are Layer 2 devices and cannot break up broadcast domains. If you want to break up broadcast domains, I believe a Layer 3 device, i.e. router, will be the most logical device to utilize. I understand that the IP addressing scheme must remain the same, however, is it OK to change the subnet information? I would get a router with two fast ethernet ports. I would connect the sole workstation 129.9.1.90 to one interface and have the other devices connect to the other fast ethernet interface. The important thing to remember here is that you would have to create an additional subnet to make this work. I would assign the subnet mask 255.255.255.252 for the workstation with the IP address 129.9.1.90 and make its default gateway 129.9.1.90. I would then assign 129.9.1.91 255.255.255.252 to the fast ethernet interface. Then on the other interface, you can assign the rest of the subnets you need. You can use the secondary command on the fast ethernet interface on cisco devices to add more than one subnet. |
Subject:
Re: Network Technical Question - Blocking Broadcasts from Reaching a Computer
From: pokerpro-ga on 06 Jun 2003 13:47 PDT |
CORRECTION: I would assign the subnet mask 255.255.255.252 for the workstation with the IP address 129.9.1.90 and make its default gateway 129.9.1.91 <------- |
Subject:
Re: Network Technical Question - Blocking Broadcasts from Reaching a Computer
From: routerx-ga on 06 Jun 2003 17:33 PDT |
I cannot change subnet mask. |
Subject:
Re: Network Technical Question - Blocking Broadcasts from Reaching a Computer
From: routerx-ga on 07 Jun 2003 13:44 PDT |
I really want to thank everyone for their comments. I think I can create something from this information. I'd like to close this and pay, but I'm not sure how it will work with so many people responding. Do I just click "close question"? I think we're all set on my end, just want to make sure payment goes through. |
Subject:
Re: Network Technical Question - Blocking Broadcasts from Reaching a Computer
From: maniac-ga on 09 Jun 2003 04:48 PDT |
Hello Routerx, To answer your last comment: - payment is automatically made when a researcher answers the question (and I have done so). Once an answer is made, you have the opportunity to review the answer, get further clarification, rate the answer, and so on. http://answers.google.com/answers/faq.html#whenbilled - comments and requests for question clarification are offered at no charge. The comments may be submitted by other registered Google Answer users (like yourself) http://answers.google.com/answers/faq.html#answervscomment Use close question only if you do not want to make a payment on a question. http://answers.google.com/answers/faq.html#cancel --Maniac |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |