LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-29-2004, 12:02 AM   #1
yrraja
Member
 
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114

Rep: Reputation: 15
Enabling subnet directed broadcast on Linux Router


I am doing some testing and for that i am using a linux machine as router. My problem is that by default the routers do not forward subnet directed broadcast messages and i want to enable this feature for my testing. So far i am unable to find any command that would enable me to do so..

Can anyone here tell me the command to enable Subnet Directed Broadcasting on my Linux Router or direct me to some source where i can find the related help...

thanx
 
Old 06-29-2004, 01:03 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Not really sure what you mean, please explain the problem. Are you firewalling the interface?

A router should probably forward broadcasts to the lan like this..

[david@slacker david]$ ping -b 192.168.1.255
WARNING: pinging broadcast address
PING 192.168.1.255 (192.168.1.255) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=0.173 ms
64 bytes from 192.168.1.101: icmp_seq=0 ttl=64 time=0.423 ms
64 bytes from 192.168.1.100: icmp_seq=0 ttl=64 time=0.724 ms
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=1.35 ms
 
Old 07-01-2004, 12:00 AM   #3
yrraja
Member
 
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114

Original Poster
Rep: Reputation: 15
I have two networks A and B connected through a Linux Router. From a machine on network A i send a broadcast Ping request to the network B. In return i get Ping Reply from the Linux Router only and not the machines in Network B.
 
Old 07-01-2004, 12:27 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
So these are seperate networks on seperate interfaces.

You should look at the box on the other side that is suspected to return the ping. You could check it from the router with tcpdump. It is likely that the ping gets to the other subnet and is actually received and replied to.

I think the reply would be treated as a new connection and dropped. If you had a bridge then there would be no problem with broadcast protocols.
 
  


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
Changing Subnet on Linksys Router RemusX2 Linux - Networking 1 09-08-2005 09:19 PM
udp broadcast from one subnet to another thru a linux router siva_bhavani Linux - Networking 1 12-30-2004 10:20 AM
All network/broadcast pairs for subnet mask? debbo Linux - Networking 1 06-14-2004 04:27 PM
forward broadcast packets to another subnet VultureCulture Linux - Networking 9 10-25-2003 04:14 PM
3 subnet firewall router setup ivm Linux - Networking 0 08-11-2003 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration