Difference between revisions of "FireBrick 2700 Configuration"

From AAISP Support Site
Jump to: navigation, search
m
Line 105: Line 105:
 
<port name="WAN3" ports="4"/>
 
<port name="WAN3" ports="4"/>
 
</syntaxhighlight>
 
</syntaxhighlight>
Port grouping for use as a network switch, or a single PPPoE session over 3G dongle:
+
Port grouping for a single PPPoE session over 3G dongle:
 
<syntaxhighlight>
 
<syntaxhighlight>
 
<port name="LAN" ports="1 2 3 4"/>
 
<port name="LAN" ports="1 2 3 4"/>
  +
</syntaxhighlight>
  +
==Ethernet Interface:==
  +
<syntaxhighlight>
  +
<interface name="LAN" port="LAN"/>
  +
</syntaxhighlight>
  +
<syntaxhighlight>
  +
<interface name="WAN" port="WAN"/>
 
</syntaxhighlight>
 
</syntaxhighlight>
   

Revision as of 15:59, 18 August 2014

2700-small.png

This page describes editing the XML directly. The Firebrick does have a Web User Interface too. Both can be used to edit the config, as they edit the same underlying XML.

These instructions are mostly applicable to the 2500 too. The difference between the 2700 and the 2500 is that:

  • The 2700 has a USB port so supports 3G fallback, the 2500 does not have a USB port.
  • The 2700 has faster throughput - 350Mb/s on the 2700 compared to 100Mb/s on the 2500.


Factory Default Config

The default config of a FireBrick looks like this:


Config Run Through

The FireBrick uses XML version 1.0 and UTF-8 encoding:

<?xml version="1.0" encoding="UTF-8"?>

FireBrick is running factory release firmware 1.31.000 (Janus):

<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ http://firebrick.ltd.uk/download/FB2701/xml/fb2700/1.31.000.xsd" 
timestamp="2014-08-08T09:00:00Z" patch="19726">

System:

FireBrick with basic system config. Automatic updates to new factory release firmware are enabled by default:

<system name="FireBrick" contact="AAISP Subscriber" log-panic="fb-support"/>

Same as above but automatic firmware updates are disabled:

<system name="FireBrick" contact="AAISP Subscriber" log-panic="fb-support" sw-update="false"/>

User:

Admin account with password "secret". Login idle timeout is "5:00". Login level is "ADMIN".

<user name="Admin" password="SHA1#D57E4F7EE70491BBD274B5F71185A2A577B0DAFBF558BD"/>

Same as above but login idle timeout is disabled:

<user name="Admin" password="SHA1#D57E4F7EE70491BBD274B5F71185A2A577B0DAFBF558BD" timeout="0"/>

Basic Guest/User account with many things hidden:

<user name="Admin" password="SHA1#D57E4F7EE70491BBD274B5F71185A2A577B0DAFBF558BD" timeout="0" level="GUEST"/>

or

<user name="Admin" password="SHA1#D57E4F7EE70491BBD274B5F71185A2A577B0DAFBF558BD" timeout="0" level="USER"/>

Debug account with a few extra things unhidden:

<user name="Admin" password="SHA1#D57E4F7EE70491BBD274B5F71185A2A577B0DAFBF558BD" timeout="0" level="DEBUG"/>

Logging:

General logging:

<log name="default" comment="General Logging"/>

Email new crash logs to the "FireBrick Support Team" as they happen, ties in with <system log-panic="fb-support"> as above:

<log name="fb-support" comment="FireBrick Support Team">
<email to="crashlog@firebrick.ltd.uk" delay="10"/>
</log>

Services - NTP Client:

Set time from AAISP time server, local-only by default:

<ntp ntpserver="time.aa.net.uk"/>

Services - Telnet Server:

Enable telnet server, local-only by default:

<telnet/>

Services - HTTP Server:

Enable HTTP server, local-only by default:

<http/>

Services - DNS Service:

Enable DNS service, local-only by default:

<dns resolvers="217.169.20.20 217.169.20.21 2001:8b0::2020 2001:8b0::2021"/>

Port Grouping and Naming:

Port grouping for a single PPPoE session:

<port name="LAN" ports="1 2 3"/>
<port name="WAN" ports="4"/>

Port grouping for dual PPPoE sessions:

<port name="LAN" ports="1 2"/>
<port name="WAN1" ports="3"/>
<port name="WAN2" ports="4"/>

Port grouping for triple PPPoE sessions:

<port name="LAN" ports="1"/>
<port name="WAN1" ports="2"/>
<port name="WAN2" ports="3"/>
<port name="WAN3" ports="4"/>

Port grouping for a single PPPoE session over 3G dongle:

<port name="LAN" ports="1 2 3 4"/>

Ethernet Interface:

<interface name="LAN" port="LAN"/>
<interface name="WAN" port="WAN"/>


Complete Config Example

<?xml version="1.0" encoding="UTF-8"?>

<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ http://firebrick.ltd.uk/download/FB2701/xml/fb2700/1.31.000.xsd" 
timestamp="2014-08-08T09:00:00Z" patch="19726">

<system name="FireBrick" contact="AAISP Subscriber" log-panic="fb-support"/>

<user name="Admin" password="SHA1#D57E4F7EE70491BBD274B5F71185A2A577B0DAFBF558BD" timeout="0"/>

<log name="default" comment="General Logging"/>

<log name="fb-support" comment="FireBrick Support Team">
<email to="crashlog@firebrick.ltd.uk" delay="10"/>
</log>

<services>
<ntp ntpserver="time.aa.net.uk"/>
<telnet/>
<http/>
<dns resolvers="217.169.20.20 217.169.20.21 2001:8b0::2020 2001:8b0::2021"/>
</services>

<port name="LAN" ports="1 2 3"/>
<port name="WAN" ports="4"/>