LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-08-2002, 04:10 PM   #1
VultureCulture
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Rep: Reputation: 0
Unhappy forward broadcast packets to another subnet


hello again,
the situation is as follows:
i am connected to a LAN via one linux gateway (suse 8), through which other pcs in my own private network are able to gain access to the "outer LAN" and, from there, to the internet as well. sad but true, at least one of these private pcs is required to have windows 2k running. this works quite fine except for the windows "network neighbourhood", where i can only see hosts on my private net but not on the one on the other side of the gateway. i have already been told here that this should be because the network neighbourhood sends broadcast messages to the net in order to locate hosts, but these packets are generally not forwarded by routers.
i tried to gather some information elsewhere, but surprisingly i couldn't find people with similar problems. i know that for example some cisco boxed routers support broadcast forwarding, so this should generally be possible with software routing as well.
now the question is: how? how do i forward broadcast packets from one interface/subnet of my router to the other?

thanks in advance for your time,

vc
 
Old 10-08-2002, 04:36 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Maybe a kind of VPN (Virtual Provate Network)?
 
Old 10-09-2002, 08:52 AM   #3
VultureCulture
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
i don't know much about that, but it seems only to be a workaround to the original problem. also, setting up a vpn might be quite oversized for a small private LAN like mine... there has to be a simple solution.
 
Old 10-09-2002, 10:55 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The problem is that broadcast packages are supposed to be not routed outside a subnet. Every solution that allows it is a workaround. You may try to make all your machines (if you can; security reasons etc) in one network. You can use VPN or just make a network submask diffeent. For example if you've got machines with 192.168.0.x and 192.168.1.x adresses you can change the netmask from 24 to 23.
 
Old 10-09-2002, 07:56 PM   #5
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 31
What sort of router do you have? If it's a Cisco, you can use the ip-helper command to do this.

If it's another vendor, I'm not sure how you'd do it (if at all).
 
Old 10-10-2002, 05:56 AM   #6
VultureCulture
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for your replies.

@rohang:
it's not a boxed router, just a linux machine running routing software which came along with suse 8.0., so i think it should well be possible to route broadcast packets somehow.

@mara:
yes, you are right with the workaround, but sadly i have no influence to the LAN i am connected to, so i can't change anything there. this LAN got public IP addresses, so i can't just give similar IPs to my other machines.
 
Old 10-10-2002, 12:18 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
So I guess VPN is the best solution for you (if possible to install).
 
Old 10-22-2003, 04:43 PM   #8
oediv
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Was wondering if anyone found a software solution to this, because im strangling with the same problem over here...
 
Old 10-23-2003, 03:40 AM   #9
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

It is not necessary to route the broadcast packets. I have faced this same issue.

Then we have setuped WINS Server on the subnets using Win2k. It can replicate the names between the subnets.


Siddiqu.T
 
Old 10-25-2003, 04:14 PM   #10
oediv
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
that wasnt the only reason why i wanted to forward things like broadcast, because connecting and hosting gameservers doesnt seem to work for 100% either.

PS
I tried to setup my linux-server as wins-server by using wins support=yes in my smb.conf and entered my server ip as wins-server but that still doesnt seem to solve the problem...
 
  


Reply



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
forward packets between two interfaces sehh Linux - Networking 2 08-30-2005 03:11 PM
udp broadcast from one subnet to another thru a linux router siva_bhavani Linux - Networking 1 12-30-2004 10:20 AM
Forward netbios broadcast packets atlesn Linux - Networking 0 07-26-2004 09:37 AM
Enabling subnet directed broadcast on Linux Router yrraja Linux - Networking 3 07-01-2004 12:27 PM
All network/broadcast pairs for subnet mask? debbo Linux - Networking 1 06-14-2004 04:27 PM

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

All times are GMT -5. The time now is 09:12 PM.

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