cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4890
Views
2
Helpful
16
Replies

How to forward interVLAN UDP broadcast?

nadeemr
Level 1
Level 1

Hi,

I need to forward UDP broadcast between two VLANs connected on on 4506. The broadcast is all net broadcast (255.255.255.255). The switch is doing interVLAN routing b/w these VLANs. I tried to do UDP flooding. ‘bridge 1 protocol ieee’ command to specify the IEEE Ethernet protocol does not work neither does the ‘bridge-group 1’ command in the interface configuration mode. Can anyone help?

16 Replies 16

pkhatri
Level 11
Level 11

What kind of application are the broadcasts for ? You can configure an 'ip helper-address' on your L3 interfaces which will forward broadcasts for things such as DHCP to a specified IP address...

Hope that helps.

Paresh

It is a proprietery application which uses UDP broadcast. I need to forward broadcast from client VLAN to server VLAN and vice versa. I tried ip helper-address and it works fine when I forward broadcast to particualr servers. Since there is a large number of client IP addresses, I cannot specify each client's address in helper address. As per the application requirements, the broadcast needs to be forwarded to whole subnet and not a particular host.

I tried UPD flooding, but 4506 does not accept "bridge group" command on interface VLAN. I tried same command on 6500 and it works.

twojciac
Level 1
Level 1

You'll need to utilize ip helper and possible ip forward-protocol udp as well.

ip helper will forward TFTP, DNS, Time, NetBIOS, ND, BOOTP or DHCP UDP packets. If you need a UDP protocol other than those, you'll need to define it using the ip forward-protocl udp.

IP Helper reference:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_command_reference_chapter09186a0080087387.html#wp1018606

IP Forward Protocol reference:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_command_reference_chapter09186a0080087387.html#wp1018318

I tried ip helper address and it works fine when I forward braodcast to a particular host. However, it does not serve my purpose. I need to forward broadcast to whole subnet.

Hello,

so your application requires clients and servers to be in the same broadcast domain. If this is a strict requirement, the best way to achieve this is to place them into the same broadcast domain, i.e. VLAN.

Bridging in a sense is doing the same thing ...

So that is what I would recommend: Place all clients in the server VLAN - unless there are further requirements contradicting this step. You did not mention any further obstacles, in case there are some let us know to find a suitable solution.

Hope this helps. Please rate all posts.

Regards, Martin

Hi Martin,

Due to security policies, we cannot place clients and servers in same VLAN. We only want to forward udp broadcast b/w these VLANs on particular port. Secondly, both VLANs are already in place and operational. Now there is a new application which requires broadcast forwarding and we cannot change running network topology due to this application only.

OK, so a common VLAN is not an option.

Did you try to use the command "ip broadcast-address" in combination with "ip forward-protocol udp"?

A flooded UDP datagram is given the destination address you specified with the ip broadcast-address command in the interface configuration mode on the output interface. The destination address can be set to any desired address.

This should finally do it.

Hope this helps! PLease rate all posts.

Regards, Martin

would converting the broadcast to a multicast be an option ?

Hi Martin,

I did try ip broadcast-address in combination with ip forward-protocol udp and ip helper address. I set the ip broadcast and helper address to subnet broadcast address. But it did not work.

regards,

If it is possible, why not make all ports connected to both vlans members of the same vlan (i.e. the same broadcast domain) that would automaticall resolve the issue.

Please do mention design limitations if any on this kind of a solution

HTH

Arvind

As I mentioned earlier, due to security reasons we cannot put clients and servers in same VLAN.

regards,

Hello,

can you try to configure "IP broadcast-address 255.255.255.255" and ip forward-protocol udp" without ip helper-address?

Regards, Martin

Hi Martin,

255.255.255.255 is the default IP broadcast-address on VLAN interfaces and I did try it.

Secondly, if I configure ip forward-protocol udp without ip-helper address, how the switch will know where to forward the broadcast. I don't think it should work.

regards,

Hi Nadeem,

You can configure the subnet address of your server VLAN as ip helper-address on the client VLAN and vice versa. To make this work you should enable ip directed-broadcast on both server and client VLANs.

Regards,

Andre