0

In my test lab I have a small, inexpensive, unnamed router to create two subnets, 12.1.1.0 and 172.17.2.0. The router is configured in Router mode (not Bridge), and I have a bridge defined that joins the two interfaces these subnets are on.

This is for testing software that relies on UDP communications between hosts on different subnets in large networks. Part of the requirements for these hosts is that they send 'route requests' to several broadcast addresses (one of which is the one the sending host lives on), so that the target host, regardless of subnet, will see the request and respond with a unicast reply. Thereafter the hosts communicate via unicast.

The configuration I'm using works fine as long as all hosts are configured with unicast targets, but a UDP broadcast for any foreign subnet dies on the receiving interface on the router.

In a real production environment, I can send a route request from (say) 12.1.1.15 to 172.17.2.255, and the network will relay the request packet intact to the correct subnet. Is there a general rule for routers that would cover this situation? Any technique will work as long as the host endpoints can successfully send broadcast traffic to other subnets. I don't have access to high-end routers.

11
  • Wait a moment; if they're supposed to be two separate subnets, with a router in between, why is there a bridge defined that joins the two interfaces? Commented Feb 20, 2022 at 10:48
  • What you are doing is not supported and will not work with a lot of equipement. It may even give you erronous information back. For instance, on my system, the router replies success, but none of the hosts within the target subnet receive any packets. The correct way to do this is through multicast, not broadcast. And that needs support in the source, destination and router systems. Commented Feb 20, 2022 at 11:50
  • @user1686: the bridge is internal in the router, and that is how I got it to approximately work.
    – buzzard51
    Commented Feb 20, 2022 at 14:33
  • @Bib: I'm a developer trying to test a software application that runs in large, complex, production environments. I have a small lab for simulation and testing, and I need a 'black box' network environment that mimics what this application will see in real time. The broadcast and multicast solutions are both in use by customers depending on their network implementation.
    – buzzard51
    Commented Feb 20, 2022 at 14:36
  • @buzzard51: Sure, but wherever it is, the interfaces being bridged contradicts them being two separate subnets. Commented Feb 20, 2022 at 15:10

0

You must log in to answer this question.

Browse other questions tagged .