• February 25, 2025, 08:36:56 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DIR-615 Routing  (Read 11576 times)

imran205

  • Level 1 Member
  • *
  • Posts: 4
DIR-615 Routing
« on: February 18, 2011, 11:07:31 PM »

Hi All..

I  have a scenario which i would like to discuss with you people. I have a branch office connected with the Head office using wireless radio bridge(point to point connectivity). Here is the configuration at branch office.
ip= 192.x.x.x
subtnet= 255.255.255.0
default gateway = ip address of the radio bridge.
Things are working fine until now. The branch office has a DSL internet connection and required to be shared among the users.
option 1 (problem)

DSL terminate on swtich and all clients have a DSL modem as their default gateway and ISP's DNS. Internet works fine but here comes the problem, now they lost the connectivity with head office.Now my question is i cant have two default gateways then what should i do?

I bought dlink dir615 router and want to configure in such a way that internet terminate on dir 615 and branch office pc's should be able to use the internet as well as get connected with the head office with default gateway configuration.

Please help in this regard.
Logged

Skello

  • Level 3 Member
  • ***
  • Posts: 139
Re: DIR-615 Routing
« Reply #1 on: February 19, 2011, 07:57:12 AM »

I'm having trouble understanding your setup. This is what I understood:

[INTERNET1] --> [HEAD OFFICE] --> wireless bridge <-- [BRANCH OFFICE] <-- [INTERNET2]

So each office has its own internet connection and they are linked to each other through a wireless bridge and you want branch office clients to go out through different gateway (wireless bridge) when accessing IP subnet corresponding to the internal LAN?

Are your head office and branch office on the same subnet?
Logged

imran205

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-615 Routing
« Reply #2 on: February 20, 2011, 01:28:16 AM »

Thanks for the reply.

Yes you are right both offices have their own internet connections. However we want branch office to goto head office through default gateway to access different services like applications and etc. But they should use the internet of their own. Both sites are on different subnet , and we have a juniper router at head office.

I want to introduce dlink 615 at branch office to route the internet traffic only rather then using proxy server or something else.

Regards

Logged

Skello

  • Level 3 Member
  • ***
  • Posts: 139
Re: DIR-615 Routing
« Reply #3 on: February 21, 2011, 08:43:40 AM »

If your branch office clients (computers) can access the Internet through the DSL modem, then it's not just a modem. It's a modem/router.

What device do you use at the branch office for bridging with head office? Also if it's a bridge, the two offices should be on the same subnet (or at least the bridge device at the branch office should be on the same subnet as the home office). Otherwise, it's not really a bridge, but a series of routers.

With that out of the way here is what I suggest:

1. Connect branch office clients to DIR-615.
2. Connect DIR-615 to a switch via WAN port.
3. Connect branch office bridge device to switch.
4. Connect DSL modem/router to switch.

Open the DIR-615 interface. Configure the WAN to use the DSL modem as gateway. Set a static IP for the DIR-615. The bridge device should also have a static IP on the same subnet as the DIR-615 and the DSL modem.

Go to Advanced > Routing and enable a route (checkbox). Write, name - branch office, address: 192.x.x.0 (the branch office IP), metric 1, interface WAN, netmask 255.255.255.0, gateway: ip of bridge device. Then save settings.

This static route will mean that all request from clients to the 192.x.x.0-255 space will get routed through the bridge device. Everything else goes through the default gateway (the DSL modem).

Problem is if your head office will need to access things on the branch office, you will need to deal with double port fowarding for the required protocols etc.

I'm no longer using the the factory firmware on my DIR-615, but DD-WRT custom firmware, so I'm not sure if you can select LAN instead of WAN as interface when setting up routes. I did it after an online emulator of the interface and it only allows WAN. If it also allows LAN, then a separate setup would also be possible.
Logged

imran205

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-615 Routing
« Reply #4 on: February 21, 2011, 10:18:16 AM »

Thanks Skello
Branch office cannot access the internet when i connect the modem to the switch and client machine has a  default gateway of wireless bridge.
We are using osbridge (brand name) its a wireless outdoor CPE. Bridges are installed on both location to establish a point to point connectivity.

I have understood the following

branch office(all pc's)-------->switch<-------Modem
                                          ^     ^
                                          |      |
                                          |      |
                                   Dir 615     Head off Bridge
                                   via WAN
What will be the default gateway on the client machine since it has to be a wireless bridge to communicate with head office.

Regards


Logged

Skello

  • Level 3 Member
  • ***
  • Posts: 139
Re: DIR-615 Routing
« Reply #5 on: February 21, 2011, 11:25:48 AM »

I meant it like this:

modem ----> switch <---- bridge device
                      ^
                      |
                  DIR-615
                      ^
                      |
                   switch <--- branch office pcs


If you have LAN available for "interface" when setting up routes, you can also have a setup like this:

                  modem
                      ^
                      |
                  DIR-615 <---- (bridge)
                      ^
                      |
(bridge) ----> switch <--- branch office pcs

Bridge can be in either location. In this case you can even disable routing on the DSL modem/router and have ISP connection info directly into the DIR-615 WAN. You can also enable DHCP server on DIR-615.

If your branch office bridge is currently configured as 192.x.x.1, set the DIR-615 to 192.x.x.2 and DHCP will serve it as default gateway to all PCs.

PS: DIR-615 stock firmware is known to be kind of unstable. If you experience problems with it, you might want to look into custom Linux-based DD-WRT firmware, which also offers many more options, like PPTP VPN server for your mobile users. http://forums.dlink.com/index.php?topic=13599.0
« Last Edit: February 21, 2011, 11:28:49 AM by Skello »
Logged

Skello

  • Level 3 Member
  • ***
  • Posts: 139
Re: DIR-615 Routing
« Reply #6 on: February 23, 2011, 04:28:01 AM »

Any progress? Please let me know if you managed to get it working.
Logged

imran205

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-615 Routing
« Reply #7 on: February 28, 2011, 08:13:38 AM »

Hi Skello

First of all sorry for the late reply..had a throat infection...
yesterday i worked on the solution you gave and guess what it was working.....Things are working fine at this moment, however clients at head office were not able to ping the systems at branch office. This is not required at the moment but may be at later stage.

But thanks for the reply and it was really helpful.

Regards.

 
Logged