News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

OB202 Router mode

Started by mrjoe, February 14, 2015, 11:16:52 PM

Previous topic - Next topic

mrjoe

I'm using Raspbx (FreePBX on a Raspberry PI) with an OB110 connected to a PSTN Line, an OBi202 with OBiBT, a Huawei E160 dongle for continuous GSM and 2 Snom 320s connected via a TP-Link switch to a Netgear WN3000RP wireless extender which (with permission) picks up protected wifi from a neighbour.  I'm using a 2A Power Supply. I've also configured it to allow Asterisk to work without internet purely on LAN if the Internet fails.

I believe with this setup, all calls, even internal calls between extensions are going back to the router via Wifi.

I'd like to create a LAN on my OBi202 while still receiving Wifi Internet from the main router.  Is this possible?

I changed the OBi202 from Bridge Mode to Router but this didn't provide my other devices with an IP Address....


202Owner

I would try something like this:

Internet
neighbor router/ap 192.168.1.1 (remote LAN1, WLAN1 SSID1, DHCP pool1 192.168.1.2-255)
(((wifi 300Mbps max)))
ap extender (WLAN1 SSID1)
---wired 100Mbps---
your router/ap 192.168.2.1 (local LAN2, WLAN2 SSID2, DHCP pool2 192.168.2.2-255)
your LAN switch and host devices...

If the OBi202 is to be your router:
o  set its IP address and DHCP pool to not conflict with the neighbor's.
o  set System Management - Device Admin - Web Server::AccessFromWAN = not checked
o  note that its max throughput in router mode is 30Mbps (your neighbor won't mind).
o  it will have no WLAN2 SSID2 WiFi.

I'd prefer using a mainstream router/ap to provide own local firewall, LAN, and WLAN; and use the OBi in bridge mode as 100Mbps switch.

mrjoe

202owner, I appreciate your response.

My neighbour's is router is 10.100.102.1
I'm going to use the default 192.168.10.1

Neighbour's Subnet mask is 255.255.255.0
So I'll use 255.255.255.128

I go to LAN settings change Bridge to Router and change the Subnet Mask.
Do I leave WAN settings as is? static

What else do I need to change because having done that I lose access to the OBi202 and none of the devices connected to it have a new IP address even though I changed them all to DHCP.

202Owner

I may reveal my networking ignorance here, but...

Using your OBi202 in router mode with its Internet port wired to the range extender:
o  the Obi router WAN should be configured for DHCP (not static) to get its WAN settings from the neighbor router DHCP server.
o  the OBi router LAN IP address should be static 192.168.10.1.
o  the Obi router LAN DHCP server should issue 192.168.10.2-255 IP addresses to host devices on its LAN port.  I think default mask 255.255.255.0 is ok.

To admin your OBi, browse to 192.168.10.1 from the LAN side.

PeteMoss

What's wrong with setting the OBi WAN IP to static as long as the upper router is also set to static for that IP address/MAC?  Works fine for me and is recommended by many.

202Owner

Quote from: PeteMoss on February 20, 2015, 12:18:04 PM
What's wrong with setting the OBi WAN IP to static as long as the upper router is also set to static for that IP address/MAC?  Works fine for me and is recommended by many.

I prefer static assignment only when necessary... to minimize management.  Here, the upper router is someone else's network... I would not presume to manage static IPs for their network.