Home network routing

Geo202

Member
Joined
Jul 11, 2008
Messages
28
Reaction score
0
Hello myBB..!!

After five days of searching I am giving up and posting this thread.

I need to set up a network at home, where I have one modem, which creates 2 pppoe connections to 2 different isp's on the modem it's self. and then route all the data from one connection to certain pc's and the other connection's data to other certain pc's.

Is it possible to set up something like this. i would prefer if all the connections are hardware based i.e no pppoe on the pc's themselves.

Thanks a million.
G
 
It is most definitely possible, but only a small selection of ADSL routers are capable of dialing 2 concurrent PPPoE connections.

With MikroTik hardware it is fairly simple to setup Policy Based Routing, which is what you want:
eg. IP addresses 192.168.0.128 - 192.168.0.191 uses PPPoE 1
and IP addresses 192.168.0.192 - 192.168.0.254 uses PPPoE 2
The cheapest MikroTik device that you can get that can perform these tasks is the MikroTik RB750, which goes for under R400 (incl VAT).
It's a 100Mbps router (with a switching chip too). The big drawback to the MikroTik RouterOS (the operating system running on the MikroTik hardware) is that it doesn't support PPPoE Relaying, but altering your cable configuration could fix that ;)

If you have a Linux machine that is running 24/7, then you can also set up something like this, since you also have multiple routing tables & iptables with route marking in it.
 
The trick to this network is from the router it has to go to 2 wireless access points.
But then I can always get a mikrotik with built in wifi. cause where the modem is located it has to go to a wifi access point that covers the bottom half of our house and the other to the upper part.
I was hoping for a list of modems that can do that cause that is what i am struggling to find.
 
If your network infrastructure is already in place and working, except for the multiple PPPoE accounts, then you don't need to get a MikroTik router with WiFi capabilities!
All you really need to do is to change the default gateway IP address from your ADSL modem to the MikroTik router's IP address. By doing that, the PC's & laptops would send their packets to the MikroTik router if they want to access something on the Internet, instead of sending the packets to the ADSL modem.

eg. If you currently have an ADSL modem with 5 LAN ports:
ADSL port) to Telkom ADSL line
LAN port #1) to WiFi AP #1
LAN port #2) to WiFi AP #2
LAN port #3) to Desktop PC

Then I'd recommend that you connect the LAN ports #4 & #5 of the ADSL modem to like LAN ports #1 & #2 on the MikroTik, where #1 will act as the LAN interface and #2 as the WAN interface.
It's not necessary to make 2 connections from the ADSL modem to the MikroTik router, but it makes traffic monitoring much easier if you do.

Before you connect the MikroTik router like that, I would recommend that you first set it up completely separate, with just like 1 LAN cable connected to your PC/laptop.
After you've finished configuring the MikroTik router, you should disable DHCP on your WiFi AP's & ADSL modem.
So the configuration of the MikroTik would entail that you set it up as:
1) Your primary DHCP server (for handing out IP addresses), and add static IP addresses OR you'll have to run multiple DHCP networks (eg. a different one for each WiFi AP)
2) Give it a LAN IP address, so that your ADSL router, WiFi AP's, PC's & laptops can connect to it
3) Create 2 PPPoE connections to connect via it's WAN interface. You don't need to assign an IP address to the WAN interface, since the PPPoE connections would get their own IP addresses.
4) Set up Policy Based Routing (it should be fairly easy to find MikroTik tutorials on this)

If you want your WiFi AP's to be separated, then you can connect them directly on the MikroTik router, so that you can place them in VLAN's or just assign different IP ranges to the 2 WiFi AP's clients.

So ja, could you perhaps draw up or describe your network layout in detail?
Please try and include the following detail:
1) How all the devices are connected
2) Add brand & model of routers + WiFi AP's
3) Add the IP addresses of the routers + WiFI AP's, as well as the IP addresses that their DHCP servers assign

Microsoft Visio is pretty awesome for drawing network diagrams. Otherwise use mspaint :D
 
Last edited:
The differences between the RB750 & RB750G are:
1) RB750G has gigabit LAN ports
2) RB750G has a 680MHz CPU, compared to the RB750 which has a 400MHz one (some revisions had 300MHz CPU's)
3) RB750G has slightly more VLAN functionalities

IMO it's not really worth it to go for the RB750G, unless you're going to do fancy stuff with it that requires lots of CPU power - eg. VPN @ 10-20Mbps speeds / large rule sets
 
Well, I want the gigabit LAN ports, so I'll maar pay the difference ... , about what I thought myself, ... , thanks for confirmation.

Many thanks,
 
Last edited:
I was always a better director than an artist so here comes my explanation.

Let's say our house is split into two sections namely the lounge area and the bedroom area.
The 4Mbps ADSL line is in the lounge area, connected to a Netgear DG834GUv5:sick: which covers the lounge area with wifi.

But here comes the tricky part:
I want to have a modem that can create 2 concurrent PPPOE connections, one being for my parents (email, Skype, web browsing) called WAN1 and the other for torrent downloading/gaming/Youtube called WAN2. From the modem it has to go to a wireless access point/router called NETWORK1 that can cover the lounge area and another to NETWORK2 that can cover the bedroom area, but only certain computers can connect to WAN1 and others to WAN2. But all the computers from NETWORK1 and NETWORK2 must be able to see each other. NETWORK2 is a bit further away so will have to run a Ethernet cable through the ceiling to get it to the bedroom area.
 
Here's a diagram of the network:
* Click the embedded image for the full size image
All the IP addresses assigned to the bridge/ports are in green. I have also grouped/bridged ports with green. The LAN stuff are in black, and the WiFi in purple.

1) Since all the devices would be on the same network (10.0.0.0/24 = network 10.0.0.0 subnet mask 255.255.255.0 = IP addresses 10.0.0.0 - 10.0.0.255), they should be able to communicate with each other without any issues.
2) When all the devices have their default gateway set to 10.0.0.1, they would send their packets destined for the Internet to the MikroTik's IP address of 10.0.0.1
3) With the MikroTik router you can define an IP address pool of like 10.0.0.192 - 10.0.0.254 which will be assigned to any PC/laptop (connected either by CAT5e cables or WiFi) which doesn't already have a static IP address on the MikroTik router.
Now you can connect with that laptop to any of the WiFi AP's and it should get the exact same IP address if you've assigned it a static IP address on the MikroTik router
4) If you want to block a laptop from using a certain WiFi AP, then I'd suggest that you turn on MAC filtering on the specific WiFi AP and add all the laptop's MAC addresses that you want to allow
5) The PPPoE connection used will be purely based on the source (LAN) IP address by the MikroTik router. eg. http://blog.butchevans.com/2008/09/mikrotik-policy-routing-implementation-example/
In my diagram I've divided the network into 3 groups: Network A [10.0.0.64/26] (static addresses of 10.0.0.64 - 10.0.0.127), Network B [10.0.0.128/25] (static addresses of 10.0.0.128 - 10.0.0.191 + automatic addresses of 10.0.0.192 - 10.0.0.254)
* This network setup requires that your ADSL modem supports bridge mode, which I think it does.

I've now realized that you can actually make use of 2 PPPoE connections if your WiFi AP is capable of dialing a PPPoE connection AND IF the DG834GUv5 also supports half-bridge mode - and thus not necessary to to buy a MikroTik router.
If it does, then you can dial like PPPoE 1 from the ADSL modem, and PPPoE 2 from the WiFi AP.
Now all you need to change on the PC's/laptops where you'd like to use PPPoE 2 as your Internet connection, is to let their default gateway point to the LAN IP address of the WiFi AP.
 
Thanks a lot for the advice. I can start seeing the picture and it is crazy enough to work. Just wanna know, I actually want to do away with that Netgear modem/abbomination that Telkom gave me. Any good recommendations for a 802.11n ADSL2+ modem/router or maybe if I just use a basic Billion modem how will that change the setup. Cause that was my actual idea. Get a Billion modem. go to routerboard with built in wifi and then all the rest
 
Top
Sign up to the MyBroadband newsletter
X