LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-22-2002, 11:04 AM   #1
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Rep: Reputation: 15
Routing with Linux? yes or no?


Hi
Got whats probably a stupid question - but I've been made to doubt myself by a guy who's above me at work

I'm planning on spliting our lan into 2, maybe 3 chunks in an effort to control traffic better - at the moment things have gone bad due to the number of hubs and machines we've added along with a big increase in use.

My plan is to use linux boxes to route between the subnets. I say this will work fine and dandy. The subnets are mainly 10Mbit and I'll use 100Mbit conenctions between the subnets.

Now the problem as it were... bloke at work says that won't work very well and will cripple us when it comes to doing things like video conferencing and other high bandwidth applications.

Our ISP provides us with a 2Mbit eachway connection, which is already NATed. I won't be using NAT internally - we get 10.4.20.0/22 address range and I'll split that with 24bit mask internally.

I say this will work... any views from the peeps here, of any kind appreciated.
 
Old 10-22-2002, 11:14 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
It should work just fine, especially if you are just doing routing. I'm curious why he said it wouldn't work very well. Did he provide an alternate solution?
 
Old 10-22-2002, 11:32 AM   #3
lintadsl
LQ Newbie
 
Registered: Oct 2002
Posts: 25

Rep: Reputation: 15
Well, the network speed would not decrease/increase whether you have one subnet or 100 subnet. The network access speed depends on how many switch/routers are between server and client. Also it depends on what equipments 10 or 100 MB uses.
If you will use video conferencing, probably better to have two subnet with 100 MB.
One thing that i don't understand is the range you got from your ASP is already NATed? How? Do they provide you a bridge/firewall protection for your 10.4.x.x network?

Sunny,
 
Old 10-22-2002, 11:50 AM   #4
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Stickman - no, he didn't really supply either a reason or an alternative solution. Bet you can guess my opinion of him

Lintadsl - cheers for the comments, I agree, its the number of hubs/switches that holds the problem.

As for the setup we have to endure.... a bit of background. We (I) are a school in the UK. We have been provided an "internet" connection by a regional provider setup just for schools. They use the 10.x.x.x range to run this internally. They control the firewall between their network and the Internet.

We don't get any direct IP addresses to use - we can have 5 10.x.x.x addresses which map (NAT) to real IP addresses on their firewall. Everything else gets masqueraded through a common gateway/IP.

My problem is that the primary router which connects my lan to their network belongs to them and they won't give me admin access to it (and i'm guessing trying to "give myself access" would not be good for job security ). I'm determined to get them to make the changes needed on the router to make my dammed network run ok again (we can't afford to buy any expensive switches or move to gigabit or anything like that).
 
Old 10-22-2002, 01:46 PM   #5
lintadsl
LQ Newbie
 
Registered: Oct 2002
Posts: 25

Rep: Reputation: 15
Now, i see a little bit of your situation. Let me get this correctly, you want to setup a router which will route two subnet on your lan or setup a router that will handle all the traffic on your lan and masq. to their network? Or both? Since you don't have admin access to the primary router, I would setup my own router that will handle masq. route two subnet. Of course connect this router to the primary router. This way you have your own network setup and easy to change/admin your own network. Probably install MRTG on your router to see the traffic.
Good luck.
Lintadsl
 
Old 10-22-2002, 06:51 PM   #6
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
One of the first problems you will have is routing the broadcast packets that Windoze uses to advertise NetBios names.
Broadcast/Multicast addresses aren't passed by default. You will need something extra to do that. Either some iptables rules, or a routing package...
There have been discussions here already and there is most likely a package to do that, but I've yet to see it.
The speed will never be a problem unless you are using a fossil for a pc.
One box with the external interface and as many internal interfaces as you can handle will work very well. There are even 3 & 4 port pci Ethernet cards available. One box will make the routing table more manageable as well.

Regards,
Peter
 
Old 10-22-2002, 07:45 PM   #7
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Hi
Lintadsl, thats about the size of the problem. I may well end up sticking a router between our network and the ISP's, but I'd rather get them to change the router And what's MRTG? Some kind of traffic monitoring? Would be handy to have some figures to back me up I guess...

Peter, thanks for the vote of confidence on the routing. So far as netbois name resolution goes we have a wins server running, so won't be a problem, and in turn cuts down on all the nasty broadcast traffic too.
However, would you happen to know if linux forwards DHCP requests? I'm fairly sure when I played with it before it did, but I don't like surprises all that much...

Cheers
 
Old 10-23-2002, 03:52 AM   #8
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
No, not by default.
It also uses a 255.255.255.255 broadcast address and a 0.0.0.0 source address.
You'll need to make rules to allow these freely, or find the routing package that does it.

And having said that, I should really go and find one for myself...

Regards,
Peter
 
Old 10-23-2002, 08:39 AM   #9
lintadsl
LQ Newbie
 
Registered: Oct 2002
Posts: 25

Rep: Reputation: 15
You can see MRTG running from my www site. Also you can get info/download it from http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

Since you have wins running in your area, why do you worry about forwarding DHCP request? I think I am kind of lost what you want.

Lintadsl,
 
Old 10-23-2002, 12:01 PM   #10
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
lintadsl, cheers for the reply - I shall have a look at that. Though re. wins and dhcp... wins just resolves netbios names to IP addresses, not hands them out. Wins sorts the machines for finding each other once they've got an IP, a bit like DNS if you will.
If it becomes a problem, I'll run more than one DHCP server...
 
  


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
Routing In Linux bil_nil Linux - Networking 1 10-01-2005 08:25 PM
Linux Routing jhar Linux - Networking 1 04-27-2005 12:09 PM
Routing on Linux kanwar_rajan Linux - Networking 2 10-11-2004 05:55 AM
linux routing on lan bruj3w Linux - Networking 8 03-11-2004 01:21 PM
RH Linux and routing Hybrid Blue Linux - Networking 1 10-01-2003 09:07 AM

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

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