Routing help please.

rebel998

Expert Member
Joined
Dec 3, 2007
Messages
3,519
Reaction score
10
Location
Just north of PTA
I am in need of some assistance.

My client ha a single ADSL line (4meg of which they only get about 3.3) and the wired as well as wifi traffic passes through this.

But all the wifi users are killing the network.

I want to send all wifi traffic through a different ADSL line. But I want to share files over the same network.

I have a basic knowledge of IP adresses but am a bit lost here.

The network is a mess with switches and hubs everywhere. Most of whom the client has no knowledge. But at this stage everything is on one network.
 
Sending wifi traffic though a different adsl line ie quite advanced and we'll more than just the make of the router. You'll also need two lines and two modems and know exactly what IPs the Wifi is operating on. Then possibly move them onto a different range etc. Not a simple job.
 
Sending wifi traffic though a different adsl line ie quite advanced and we'll more than just the make of the router. You'll also need two lines and two modems and know exactly what IPs the Wifi is operating on. Then possibly move them onto a different range etc. Not a simple job.

It can be done simply... but it's a hack which involves race conditions between two dhcp servers... the reason it might work is because the that device servicing the client in question (wired/wireless) should be faster than the other gateway device...

I.e. order a second adsl line and router... disable wifi on the first router... enable on the second router. Connect the two router to each other... first 192.168.1.1/24 the 2nd 192.168.1.128/24...

The 1st dhcp should give out IP in the range 192.168.1.2-126 the second in the range of 129-253... wired clients should ideally get a response from the 1st router rather than the 2nd router first... as the ap should take just a few milliseconds longer to respond... therefore they will get the 1st router as their default gw... but because the dhcp responses netmask is /24 the client will talk to WLAN clients on the "wireless" section of the subnet without going via the router... similar the wireless clients should get a response from the AP (2nd router) before the first... so getting that router as they default gw...

This is of course not guaranteed and I would recommend investing some time and a old PC setting up a proper freebsd/linux router with QOS. the poster probably would not even need a 2nd line with that solution.
 
Last edited:
I am in need of some assistance.

My client ha a single ADSL line (4meg of which they only get about 3.3) and the wired as well as wifi traffic passes through this.

But all the wifi users are killing the network.

I want to send all wifi traffic through a different ADSL line. But I want to share files over the same network.

I have a basic knowledge of IP adresses but am a bit lost here.

The network is a mess with switches and hubs everywhere. Most of whom the client has no knowledge. But at this stage everything is on one network.

You can do this relatively simply with an openwrt-based router and 2 separate modems.

My approach would be to get a wan router that supports Openwrt, such as the tplink 1043nd, get 2 dlink 2500u's in bridging mode, configure the 5-port switch in the tplink to have 2 independent wan ports. Therm each modem goes into its own Wan port, the router handles pppoe for both of them.

Then, configure your dhcp server so that WiFi devices get allocated addresses in the top portion of the network, eg .196-254, and wired devices are below that, then use iptables to masquerade the WiFi clients out one pppoe connection, and wired ones out the other, based on their IP address.

Simple description, devil in the details. This can also be done with a PC with multiple interfaces, but will obviously be more expensive to purchase and operate. That said, of you are not that familiar with OpenWRT, you may save time doing it with a more familiar platform. Your call.
 
maybe ask why are the wifi users killing the bandwidth?
Are they guest users? Do they bypass corporate policy because they are on wifi?

I would first manage the internet connection properly before throwing more bandwidth at the problem etc
 
Its a school and all the teachers are constantly using wifi for laptops, AS WELL as their mobile phones! I also found the pc in the staff lounge connected via LAN & Wifi. And another hub!

With almost nobody at the school I got between 2 & 3Mbps today.

Weird thing is, I picked up an IP adress and when trying to see in IE what it was I got a webcam login page? Neither the principal or deputy has a clue about this. What a mess.

I would love to run new cables for the bigger part of the network but they do not have budget. :(
 
Surely setting up the non-wifi users on fixed IP addresses would be a better solution?
The Wifi users run on DHCP, provided by one router, and then the fixed IP guys have their gateway pointing to the other router.
 
Its a school and all the teachers are constantly using wifi for laptops, AS WELL as their mobile phones! I also found the pc in the staff lounge connected via LAN & Wifi. And another hub!

With almost nobody at the school I got between 2 & 3Mbps today.

Weird thing is, I picked up an IP adress and when trying to see in IE what it was I got a webcam login page? Neither the principal or deputy has a clue about this. What a mess.

I would love to run new cables for the bigger part of the network but they do not have budget. :(

Im still not seeing the problem or difference between wired and wifi users?
Do you have AD there? Get users to authenticate and put some web filtering in place.
Have a guest portal that is very restrictive.

I still think trying to separate lan and wifi by using two different internet connections is unnecessary and simply masking a problem by throwing bandwidth at it.
 
Weird thing is, I picked up an IP adress and when trying to see in IE what it was I got a webcam login page? Neither the principal or deputy has a clue about this. What a mess.

This would seriously concern me. Pedobear is a tech-savvy chap.
 
Something you may want to do is set up a captive portal, such that any users have to authenticate before they can pass out to the internet.

This is typical for wireless networks (think internet cafe), but can also be applied to wired as well. You could also potentially "pre-authorise" hosts based on their MAC address, for systems that you don't want to restrict.
 
Plop in a proxy like Endian/PFSense and start tightening the screws,you can also do individual routing by user groups to gateways with PFSense
 
Top
Sign up to the MyBroadband newsletter
X