Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




145 posts

Master Geek
+1 received by user: 12


# 208126 27-Jan-2017 16:03
Send private message

I have a Vodafone RBI modem router (Huawei) as my existing network interface.

 

Ip address 192.168.1.1 (net mask 255.255.255.0). DHCP enabled. I cannot seem to find the DNS settings.

 

This has a PC, Printer and NAS connected via the ethernet ports, and then other devices around the house connect via WIFi (with also a couple of WiFi repeaters to reach into the outer reaches of the house and shed)

 

I am also going to add an ADSL connection and will use a D-Link Modem  and want to connect that to a Linksys WIFI router. Only the Linksys will be connecting to the D-Link Modem.

 

Ideally I would like to connect the Linksys router to the RBI Modem/router so that devices using the ADSL BB connection can share the printer and NAS.

 

What IP adresses/netmasks/DHCP settings and DNS settings should I use on the ADSL modem and Linksys router?

 

I understand that devices that I specifically want to connect vias the ADSL i need to use a static IP and set the gateway as the IP address of the ADSL modem?

 

 

 

 


Create new topic
536 posts

Ultimate Geek
+1 received by user: 154


  # 1710977 28-Jan-2017 11:01
One person supports this post
Send private message

Hey there!

 

I have a similar setup to what you want to achieve so I think I can help. Mine involves a (slowish) ADSL connection for general use combined with a Skinny Broadband (4G) connection for high speed use, (like multiple concurrent streaming services!) Also, my ADSL is via a modem/router combo unit (so I'm not 100% on that part of the setup...)

 

First off, there is no way/where to set the DNS in the Huawei router for the RBI (mobile network) connection. (There is a place for DNS when using the ethernet WAN port, but that is not what you need) Suffice to say the DNS for the 3G/4G RBI connection will no doubt be Vodafones DNS servers. If you set up client devices with a static IP on your network however, there will be an opportunity to input DNS settings on each device when doing so. (Although I'm not sure if this is passed along when going to Vodafone or if they intercept the DNS request and redirect to their own DNS servers!?!)

 

OK, to the network setup. You can largely leave the network settings as is, (which means you don't have to reconnect all your devices etc), so you just need to add in the D-Link modem and Linksys router into the mix. So settings:

 

1 - Huawei RBI router: IP address 192.168.1.1   ,   Netmask 255.255.255.0   ,   DHCP enabled (DHCP range set to 192.168.1.51 - 192.168.1.150)

 

 

 

(Connect the D-Link modem directly to the computer via ethernet for this step). You need to log into the modem web interface and change:

 

2a - Put the D-Link modem in bridge mode. (This should effectively make the modem and router act as if they were a combined modem/router unit!) No bridge mode? Then you may have to try 2b.

 

2b- D-Link modem: IP address 192.168.10.1 (or basically any private IP not in the 192.168.1.x range)   ,   Netmask 255.255.255.0   ,   DHCP enabled (if it's in there!)

 

 

 

(Now connect the Linksys router via a LAN port to the computer via ethernet for this step). You need to log into the router web interface and change:

 

3 - Linksys router: IP address 192.168.1.2 (or anywhere from 192.168.1.2 to 192.168.1.50)  ,   Netmask 255.255.255.0   ,   DHCP disabled

 

 

 

4 - Now connect: Dlink modem ethernet port to Linksys router WAN port. (Will need to input ISP details into router if modem in bridge mode in '2a' or into modem if '2b') Now connect Linksys LAN port to Huawei LAN port. The remaining Linksys LAN ports should now operate as if they were ports on the Huawei router (like a switch), connected devices using the RBI internet connection. If you set up the Linksys wireless as well, (essentially using the Linksys as a wireless AP) those devices would also be using the Huawei RBI connection for internet.

 

 

 

5 - Now for all devices you want to use the ADSL connection for internet:

 

First give them a unique static IP address in the 192.168.1.3 - 192.168.1.50 range.

 

Then, set Netmask to 255.255.255.0

 

Next, set the Linksys router IP address (192.168.1.2) as the default gateway.

 

Finally, set DNS to whatever you like, either your ISP DNS, Google DNS, your DNS redirect service.. whatever DNS you want that device to use.

 

 

 

You should now be up and running. You're only running the one network, (192.168.1.0) but you have two gateways, the Huawei router (192.168.1.1) and the D-Link/Linksys (192.168.1.2) Any device that connects via DHCP will get an IP address from the Huawei and will connect via the Huawei RBI connection. Only devices you have completed the steps in '5' above will connect via the ADSL connection.

 

And as it's just the one network, all devices should be able to 'see' each other and attached printers, NAS etc.

 

 

 

Someone more knowledgeable may spot errors I've made here, but I've been running my setup like this for several months now and it's been working great!




145 posts

Master Geek
+1 received by user: 12


  # 1711032 28-Jan-2017 13:55
Send private message

tangerz:

 

Hey there!

 

I have a similar setup to what you want to achieve so I think I can help. Mine involves a (slowish) ADSL connection for general use combined with a Skinny Broadband (4G) connection for high speed use, (like multiple concurrent streaming services!) Also, my ADSL is via a modem/router combo unit (so I'm not 100% on that part of the setup...)

 

First off, there is no way/where to set the DNS in the Huawei router for the RBI (mobile network) connection. (There is a place for DNS when using the ethernet WAN port, but that is not what you need) Suffice to say the DNS for the 3G/4G RBI connection will no doubt be Vodafones DNS servers. If you set up client devices with a static IP on your network however, there will be an opportunity to input DNS settings on each device when doing so. (Although I'm not sure if this is passed along when going to Vodafone or if they intercept the DNS request and redirect to their own DNS servers!?!)

 

OK, to the network setup. You can largely leave the network settings as is, (which means you don't have to reconnect all your devices etc), so you just need to add in the D-Link modem and Linksys router into the mix. So settings:

 

1 - Huawei RBI router: IP address 192.168.1.1   ,   Netmask 255.255.255.0   ,   DHCP enabled (DHCP range set to 192.168.1.51 - 192.168.1.150)

 

 

 

(Connect the D-Link modem directly to the computer via ethernet for this step). You need to log into the modem web interface and change:

 

2a - Put the D-Link modem in bridge mode. (This should effectively make the modem and router act as if they were a combined modem/router unit!) No bridge mode? Then you may have to try 2b.

 

2b- D-Link modem: IP address 192.168.10.1 (or basically any private IP not in the 192.168.1.x range)   ,   Netmask 255.255.255.0   ,   DHCP enabled (if it's in there!)

 

 

 

(Now connect the Linksys router via a LAN port to the computer via ethernet for this step). You need to log into the router web interface and change:

 

3 - Linksys router: IP address 192.168.1.2 (or anywhere from 192.168.1.2 to 192.168.1.50)  ,   Netmask 255.255.255.0   ,   DHCP disabled

 

 

 

4 - Now connect: Dlink modem ethernet port to Linksys router WAN port. (Will need to input ISP details into router if modem in bridge mode in '2a' or into modem if '2b') Now connect Linksys LAN port to Huawei LAN port. The remaining Linksys LAN ports should now operate as if they were ports on the Huawei router (like a switch), connected devices using the RBI internet connection. If you set up the Linksys wireless as well, (essentially using the Linksys as a wireless AP) those devices would also be using the Huawei RBI connection for internet.

 

 

 

5 - Now for all devices you want to use the ADSL connection for internet:

 

First give them a unique static IP address in the 192.168.1.3 - 192.168.1.50 range.

 

Then, set Netmask to 255.255.255.0

 

Next, set the Linksys router IP address (192.168.1.2) as the default gateway.

 

Finally, set DNS to whatever you like, either your ISP DNS, Google DNS, your DNS redirect service.. whatever DNS you want that device to use.

 

 

 

You should now be up and running. You're only running the one network, (192.168.1.0) but you have two gateways, the Huawei router (192.168.1.1) and the D-Link/Linksys (192.168.1.2) Any device that connects via DHCP will get an IP address from the Huawei and will connect via the Huawei RBI connection. Only devices you have completed the steps in '5' above will connect via the ADSL connection.

 

And as it's just the one network, all devices should be able to 'see' each other and attached printers, NAS etc.

 

 

 

Someone more knowledgeable may spot errors I've made here, but I've been running my setup like this for several months now and it's been working great!

 

 

 

 

Awesome thanks very much for your reply. Yeah Im doing it for the same reason as you.

 

Will work through your suggestions and see how it goes!

 

Cheers

 

 


 
 
 
 




145 posts

Master Geek
+1 received by user: 12


# 1711115 28-Jan-2017 17:27
Send private message

OK Have worked through it all and understand the configuration..

 

Fortunately my DLink does have a bridge mode.

 

The only change I want to make is that wifi connections to the Huawei/RBI modem have fixed ip, and any new/random connections automatically connect via the slower Linksys/Dlink ADSL connection.

 

Assume therefore I just turn DHCP off on the Huawei/RBI modem, and on with your suggested settings on the Linksys?

 

 


536 posts

Ultimate Geek
+1 received by user: 154


  # 1711190 28-Jan-2017 21:50
Send private message

kiwiandy:

 

OK Have worked through it all and understand the configuration..

 

Fortunately my DLink does have a bridge mode.

 

The only change I want to make is that wifi connections to the Huawei/RBI modem have fixed ip, and any new/random connections automatically connect via the slower Linksys/Dlink ADSL connection.

 

Assume therefore I just turn DHCP off on the Huawei/RBI modem, and on with your suggested settings on the Linksys?

 

 

 

 

 

Yeah basically, whichever device, (or device combo in this case), is acting as the DHCP server, will also be giving out itself as the default gateway. So yes, if you want the ADSL connection to be the one given out to any new DHCP connections, (wired or wireless) then set the Linksys to be the DHCP server, (and disable DHCP on the Huawei). Then, any connections you wish to use the RBI connection will be the ones that need a static IP and associated settings (again for either wired or wireless).




145 posts

Master Geek
+1 received by user: 12


  # 1717920 9-Feb-2017 21:00
Send private message

OK thanks I had a little bit of a break... and for some funny reason when the Modem was et to bridge mode, the Router couldnot make a connection through it (i set it for PPoE and setup the login ID and password..) anyway I set up as per your step 2b and all works fine now..

 

 

 

... but...

 

I have another question. How to setup Port Forwarding to the through the ADSL?

 

I setup port forwarding on the router but I cannot reach it from the outside, so do I need to port forward from the Modem to the router, then setup another portforward from the router to the device I want to connect to?


2231 posts

Uber Geek
+1 received by user: 457

Lifetime subscriber

  # 1717947 9-Feb-2017 21:30
Send private message

Bridge mode and RFC1483 bridging are two different things, hence why it didn't work.





Ross

 

Spark FibreMAX using Mikrotik CCR1009-8G-1S-1S+

 


Speed Test


536 posts

Ultimate Geek
+1 received by user: 154


  # 1718283 10-Feb-2017 12:38
Send private message

kiwiandy:

 

OK thanks I had a little bit of a break... and for some funny reason when the Modem was et to bridge mode, the Router couldnot make a connection through it (i set it for PPoE and setup the login ID and password..) anyway I set up as per your step 2b and all works fine now..

 

 

 

... but...

 

I have another question. How to setup Port Forwarding to the through the ADSL?

 

I setup port forwarding on the router but I cannot reach it from the outside, so do I need to port forward from the Modem to the router, then setup another portforward from the router to the device I want to connect to?

 

 

 

 

OK first, in regard to the modem setup, I forgot something which @Spyware correctly alluded to:

 

Spyware:

 

Bridge mode and RFC1483 bridging are two different things, hence why it didn't work.

 

 

 

 

The bridge mode of your modem is likely not the correct type to work in this setup (the '2a' setup above). The modem needs to be capable of bridging PPPoA -> PPPoE (as ADSL is PPPoA). Not sure if your D-Link can do this. This has led to you using the '2b' setup which mostly works fine... except when you want port forwarding or other access from the 'outside' of your network.

 

Under the '2b' setup you will be facing double NAT, (Google it) This makes port forwarding or other outside access tricky to configure. It's not impossible and can be achieved the way you suggest above with forwards in both the router and modem but doing it this way things get messy and aren't always easily configured.

 

 

 

If you want port forwarding and outside access then your options are:

 

1 - Try to deal with the double NAT with port forwards in both router and modem, (tricky... but not impossible. Wouldn't recommend it though)

 

2 - Does your D-Link modem have a half-bridge mode? If so, setting it up that way should avoid double NAT, (at the expense of connection uptime/IP lease issues, unless you have a static IP)

 

3 - Buy a modem that does full PPPoA -> PPPoE bridging (A Draytek DV120 or DV130 would work for this)

 

4 - Buy a modem/router combo (thereby eliminating the modem and router), negating the need for the bridging in the first place and eliminating double NAT at the same time.

 

 

 

Unless you're hellbent on using your current modem and router, I'd do as in '4' above. It's probably the cheapest option and should do what you need.

 

 




145 posts

Master Geek
+1 received by user: 12


  # 1718435 10-Feb-2017 20:17
Send private message

Thanks for your reply and assistance again.

 

I googled Double Nat and tried the suggestions of disabling NAT and using the DMZ zone, but when I disabled NAT my router stopped connecting to the internet.

 

I just cannot make the port fowarding on the modem, to my router to my device work.. so have just bought a Draytek Vigor120. it looks like it will solve all the problems :)

 

Really appreciate your help. Thanks very much!




145 posts

Master Geek
+1 received by user: 12


# 1720234 14-Feb-2017 21:50
Send private message

All sorted thanks up and running with the Dreytek.

 

Just one final (stupid?)question... how do I connect to the dreytek to change any settings as its connected on the WAN port of my router?


536 posts

Ultimate Geek
+1 received by user: 154


  # 1720835 15-Feb-2017 20:36
Send private message

kiwiandy:

 

All sorted thanks up and running with the Dreytek.

 

Just one final (stupid?)question... how do I connect to the dreytek to change any settings as its connected on the WAN port of my router?

 

 

 

 

Assign the Draytek an IP on a unique subnet and then create a static route for that subnet from the router to the Draytek.

 

 

 

If you already have it all set up and working, you may need to disconnect the Draytek from the setup, reset it to restore access to the Web GUI, then start over and set the unique IP on it before putting it back into your setup in bridge mode.




145 posts

Master Geek
+1 received by user: 12


  # 1720884 15-Feb-2017 21:49
Send private message

I guess it wont work if its on the same subnet?  I gave the Dreytek a fixed ip of 192.168.1.199 ?

 

 


536 posts

Ultimate Geek
+1 received by user: 154


  # 1721487 16-Feb-2017 18:31
Send private message

kiwiandy:

 

I guess it wont work if its on the same subnet?  I gave the Dreytek a fixed ip of 192.168.1.199 ?

 

 

 

 

 

No, an IP address on the same subnet won't work. It would never be sent out the WAN port. The Draytek IP should be something like 192.168.100.1

 

Even then, having thought about it some more, I'm not sure if my static route suggestion above will work either, as it is coming from a WAN port that has your Public IP address on it, not from a WAN port with a 192.168.100.x IP address on it. You could try, but it probably won't work.

 

I assume you want access to the modem GUI to check line stats etc? If so, there are a couple of options I can think of that should work while keeping the internet connection intact.

 

1 - Set Draytek to (say) 192.168.100.1. Now put it back in bridge mode in your system as you had it working before. Next get a basic 5-port switch (100Mbps will do, it's only passing your ADSL connection!) and place it between the modem and router. (ie ISP -> Draytek -> Switch -> Linksys) Then get another network card for the PC you want modem GUI access from (a USB to Ethernet adapter will do, or even just your laptop ethernet port if you usually connect via WiFi) Set this network interface with a static IP of (say) 192.168.100.2. Now connect this network interface directly to a port on the switch. Opening a browser and entering 192.168.100.1 should now get you to the modem GUI.

 

Or

 

Reconfigure the network... slightly!

 

On reading your OP, I imagined you wanted to just use the modem (D-Link) as a modem, and let the router (Linksys) do the rest (DHCP, NAT, WiFi etc) hence the suggestion for a bridgeable modem (Draytek). However, given you want port forwarding, and now modem GUI access, the original setup I gave is probably not the best. Buying the Draytek is not a total loss however, as it is a fully fledged router in it's own right, (just with a single LAN port and no WiFi... but that's easily fixed) 

 

So, the slight reconfigure...

 

2 - Reset the Draytek and give it a LAN IP address in the same subnet as the Linksys and Huawei, (something like 192.168.1.3) Set DHCP to 'On'.(DHCP range set to 192.168.1.51 - 192.168.1.150) The Draytek will now be doing DHCP for the whole network. Setup a normal PPPoA connection for the ADSL (no bridging/PPoE pass-through). Connect direct to the Linksys and turn DHCP 'Off'. Default gateway (for ADSL connections) is now the Draytek IP address (192.168.1.3). Now connect the Draytek ethernet port to a LAN port on the Linksys (not the WAN port anymore) The Linksys is now just working as a 4-port switch and wireless AP. Port forwards for the ADSL connection clients are now done on the Draytek, (not the Linksys).

 

So for the devices:

 

Huawei RBI router: IP address 192.168.1.1   ,   Netmask 255.255.255.0   ,   DHCP disabled

 

Linksys router: IP address 192.168.1.2 (or anywhere from 192.168.1.2 to 192.168.1.50)  ,   Netmask 255.255.255.0   ,   DHCP disabled

 

Draytek modem: IP address 192.168.1.3  (or anywhere from 192.168.1.3 to 192.168.1.50)  ,   Netmask 255.255.255.0   ,   DHCP enabled (DHCP range set to 192.168.1.51 - 192.168.1.150)

 

ADSL connection clients/devices: Set to 'Obtain IP address automatically'

 

RBI connection clients/devices: Static IP in the 192.168.1.4 - 192.168.1.50 range   ,   Netmask 255.255.255.0   ,   Set Huawei RBI router address (192.168.1.1) as the default gateway   ,   Finally, set DNS to whatever you like, either Vodafone DNS, Google DNS, your DNS redirect service.. whatever DNS you want that device to use.

 

 

 

Hope that all makes sense....

 

 




145 posts

Master Geek
+1 received by user: 12


  # 1721503 16-Feb-2017 19:45
Send private message

Awesome!

 

THanks for the detailed response.

 

Let me work my way through that and see how I go!

 

 

 

All you time and effort to help are really appreciated!

 

 


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

HPE to acquire supercomputing leader Cray
Posted 20-May-2019 11:07


Techweek starting around NZ today
Posted 20-May-2019 09:52


Porirua City Council first to adopt new council software solution Datascape
Posted 15-May-2019 12:00


New survey provides insight into schools' technology challenges and plans
Posted 15-May-2019 09:30


Apple Music now available on Alexa devices in Australia and New Zealand
Posted 15-May-2019 09:11


Make a stand against cyberbullying this Pink Shirt Day
Posted 14-May-2019 20:23


Samsung first TV manufacturer to launch the Apple TV App and Airplay 2
Posted 14-May-2019 20:11


Vodafone New Zealand sold
Posted 14-May-2019 07:25


Kordia boosts cloud performance with locally-hosted Microsoft Azure ExpressRoute
Posted 8-May-2019 10:25


Microsoft Azure ExpressRoute in New Zealand opens up faster, more secure internet for Kiwi businesses
Posted 8-May-2019 09:39


Vocus Communications to deliver Microsoft Azure Cloud Solutions through Azure ExpressRoute
Posted 8-May-2019 09:25


Independent NZ feature film #statusPending to premiere during WLG-X
Posted 6-May-2019 22:13


The ultimate dog photoshoot with Nokia 9 PureView #ForgottenDogsofInstagram
Posted 6-May-2019 09:41


Nokia 9 PureView available in New Zealand
Posted 6-May-2019 09:06


Motorola Solutions joins local partners to deliver advanced communications network in New Zealand
Posted 30-Apr-2019 21:50



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.