Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-29-2004, 12:02 AM
|
#1
|
Member
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114
Rep:
|
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
|
|
|
06-29-2004, 01:03 AM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
07-01-2004, 12:00 AM
|
#3
|
Member
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114
Original Poster
Rep:
|
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.
|
|
|
07-01-2004, 12:27 PM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|