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 01-01-2004, 06:25 PM   #1
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Angry Broadcast across subnets


OK, I know this is 'evil', 'dangerous' and scorned by all kernel developers, but I really, REALLY need to be able to forward broadcast packets from one subnet to another.

Basically, I have two machines sitting in my room on subnet 192.168.0.0. One of the two machines is a linux box that is also connected to the campus network as 155.245.116.151. Needless to say, the 192.168.* addresses are not visible to the rest of campus, and I have no control whatsoever over the campus network and so can't change that.

The machine that is connected to the campus network runs Linux and holds my home directory, some of my software, serves files to the rest of campus and runs games servers. The other machine is my main machine and runs Windows and Linux dual boot. All traffic into the server is forwarded to my main machine (except for a couple of ports for ssh, ftp etc) and all traffic from my main machine is masqueraded and forwarded to the campus network. This all works absolutely flawlessly.

The problem is that broadcast messages sent from my main machine correctly fail to reach the campus network, which effectively prevents SMB and most games (which are, as a rule, incredibly poorly designed and prevent you from entering IP addresses manually) from working. If only Linux would let you forward broadcast packets this would be no problem at all.

Unfortunately, it seems to have been decided that such functionality is 'absolutely useless' (clearly not, given my situation) and 'dangerous' (i am puzzled as to why). Cake to anyone who can find a software solution to this without saying 'VPN'.
 
Old 01-01-2004, 06:44 PM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
When SMB needs to span IP subnets you should setup a wins server and have all of the windows machines register with that one server. Then all names resolution is done via a wins lookup and not broadcast.
 
Old 01-01-2004, 07:25 PM   #3
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
read the question.

1) smb is not my main problem.
2) i have no control over the campus network
 
Old 01-01-2004, 07:27 PM   #4
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Sorry dude.
Good luck with that.
 
  


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
DHCP subnets klnasveschuk Linux - Networking 2 11-17-2007 11:04 PM
want to see different subnets in samba euler Linux - Networking 5 07-20-2005 07:30 AM
help on subnets HappyGilmore Linux - Networking 12 07-07-2005 09:33 AM
samba and subnets mirko72 Linux - Networking 8 11-26-2003 12:56 PM
Routing between different subnets ... suvajit Linux - Networking 1 05-15-2003 07:07 AM

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

All times are GMT -5. The time now is 12:32 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