Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have client software which sends out a broadcast on some TCP and UDP port numbers. The broadcast it sends out is designed to look for the server. But the server is sitting on another VLAN so the broadcast ends. I've heard of ip-helper but have no idea what command to use to forward the broadcast to travel to the correct VLAN and find the server. Any help appreciated.

share|improve this question

2 Answers 2

you can use the ip helper-address command on a vlan interface to forward all broadcasts in this vlan directly to a host (mostly used for dhcp) or to another broadcast address.

example: broadcasts in vlan 10 are send directly to host 10.1.2.1 in vlan 20:

interface vlan10
  ip address 10.1.1.254 255.255.255.0
  ip helper-address 10.1.2.1
!
interface vlan20
  ip address 10.1.2.254 255.255.255.0
!

example: broadcasts in vlan 10 are send to broadcast address of vlan 20

interface vlan10
  ip address 10.1.1.254 255.255.255.0
  ip helper-address 10.1.2.255
!
interface vlan20
  ip address 10.1.2.254 255.255.255.0
!
share|improve this answer
    
Thanks very much, I will give this a try. –  Anon Jan 15 '13 at 8:14
    
Only the default protocols are forwarded, if you need others then you can use the 'ip forward-protocol' command to specify what should be forwarded. –  cpt_fink Mar 23 '13 at 5:24

you'll want to look into the cisco command "ip directed-broadcast" to achieve want you want to do. note, this isn't a recommended configuration for security reasons.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.