252
edits
This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!
m (→A Note on Bonding 3G SIMs: Typo) Tags: Mobile edit Mobile web edit |
|||
(34 intermediate revisions by 3 users not shown) | |||
#REDIRECT [[:Category:FireBrick_USB_Dongles]]
[[File:2700-small.png|link=:Category:FireBrick]]
[[File:Zoom_Dongle_Small.png]]
=3G Fallback=
The 2700 model has a
==Supported Dongles==
Dongles do vary, and drivers may need to be written to support a particular dongle.
*[[
*Huawei E353 (Three branding)
*Huawei E170 (BT Branding)
==A Note on Bonding 3G SIMs==
Multiple USB
Using multiple dongles with SIMs from different providers may provide extra resilience in the case of one having a problem.
=Basic
If you have an
<syntaxhighlight>
<usb>
<dongle username="me@a.
</usb>
</syntaxhighlight>
▲Provided you use your AA username and password, then that's all you need to get the dongle configured. If your main broadband connection goes down, the FireBrick will automatically switch to use the 3G connection, then back again once your main connection is back.
=Tunneled IPv6 Fallback=
If using AAISP, then the options for IPv6 routing on the
==Example Config
LAN Interface for IPv6 tunnel over 3G dongle (with MTU 1500):
▲If using AAISP, then the options for IPv6 routing on the [[:Category:Control Pages|Control Pages]] allow an IPv6 block to be routed to a tunnel endpoint if the main routing (ie ADSL/FTTC) goes down. - This means IPv6 can be routed to the 3G dongle if the main broadband(s) go down. The MTU will be limited though.
<syntaxhighlight>▼
<interface name="LAN" port="LAN" ra-client="false">
<subnet ip="2001:8b0::1/64 10.0.0.1/24" ra="true" ra-mtu="1480" ra-dns="2001:8b0::2020 2001:8b0::2021"/>
</interface>
</syntaxhighlight>▼
LAN Interface for IPv6 tunnel over 3G dongle (with MTU 1492):
<syntaxhighlight>
<interface name="LAN" port="LAN" ra-client="false">
<subnet ip="2001:8b0::1/64 10.0.0.1/24" ra="true" ra-mtu="1472" ra-dns="2001:8b0::2020 2001:8b0::2021"/>
</interface>
</syntaxhighlight>
Connect to AAISP over PPPoE session (3G dongle tweaks and NAT):
<syntaxhighlight>
<ppp name="AAISP" port="WAN" username="me@a.1" password="secret" nat="true" lcp-rate="1" lcp-timeout="5" graph="AAISP" log="default"/>
</syntaxhighlight>
Connect to AAISP over 3G dongle (with NAT):
<syntaxhighlight>
</syntaxhighlight>
3G dongle IPv6 default route using IPv4 tunnel:
<syntaxhighlight>
<route
</syntaxhighlight>
=Turning the dongle off outside of office hours=
Sometimes we don't want the dongle to be online 24x7 and want it turned off outside of office hours.
This example brings the dongle online for quick fallback during office hours, and leaves it powered up but disconnected
Fallback still works outside of office hours but takes a few seconds longer to set up.
Note that both <usb> and <dongle> elements can be based on profiles.
Leaving <usb> active but disabling <dongle> will leave the dongle powered up but disconnected.
Disabling <usb> will physically turn off the USB port and therefore also the dongle.
Cold starts take a lot longer!
<syntaxhighlight>
</usb>
▲<route name="6in4" profile="No_DSL" graph="6in4" ip="::/0" gateway="81.187.81.6" comment="IPv6 Default route when AAISP DSL is down" />
<profile name="
</syntaxhighlight>
This example is taken from a site which has 2 ADSL lines - hence the
The AAISP-3G profile is then active during
▲This example brings the dongle online for quick fallback during office hours, and leaves it powered up but disconnected. Fallback still works out of office hours but takes a few seconds longer to set up.
▲<syntaxhighlight>
▲ <usb>
▲ <dongle name="Backup" username="example@a.3" password="password" nat="false" graph="3G" profile="3G"/>
▲ <profile name="Working_hours" comment="Office working times">
▲ <time days="Mon Tue Wed Thu Fri" start="08:00:00" stop="18:00:00"/>
▲ </profile>
▲ <profile name="3G" or="Working_hours No_PPP" comment="Backup active during the working day, or if there's no PPP at night"/>
▲</syntaxhighlight>
▲This example is taken from a site which has 2 ADSL lines - hence the No_PPP profile being based on ADSL1 and ADSL2 being up.
▲The 3G profile is then active during the Working hours, but it will become active if both of the ADSL lines are down out of hours.
▲= Ping test example of falling back =
Here we ping an IP on the LAN, behind the FB2700, and get the ADSL router to re-sync. The ADSL went down, the 3G kicked in with only a single ping lost, then shortly after the ADSL came back on and took over the routing again.
</pre>
You can tell when the swap over happened as the latency increases and then decreases again when the DSL came back online.
= Telnet Commands =▼
<pre>clear usb</pre>
▲Will reset the usb controller and re-detect everything from scratch.
Show dongle information:
<pre>show dongle</pre>
▲[[Category:3G Router]]
|
edits