D-Link Forums
The Graveyard - Products No Longer Supported => Routers / COVR => DIR-615 => Topic started by: imran205 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.
-
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?
-
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
-
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.
-
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
-
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
-
Any progress? Please let me know if you managed to get it working.
-
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.