You can only configure BGP when you deploy Sophos Firewall in gateway mode.
Border Gateway Protocol (BGP) is a path vector protocol used to carry routing information between routers in different administrative domains (Autonomous Systems). For example, ISPs typically use BGP to exchange routing information between different ISP networks.
The Sophos Firewall implementation of BGP supports:
- Version 4 (RFC 1771)
- Communities attribute (RFC 1997)
- Route reflection (RFC 2796)
- Multiprotocol extensions (RFC 2858)
- Capabilities advertisement (RFC 2842)
Additionally, you must configure a firewall rule for the zone for which the BGP traffic is to be allowed. Example: LAN to LOCAL or WAN to LOCAL.
How BGP works
When BGP is enabled, the Sophos Firewall advertises routing table updates to neighboring autonomous systems whenever any part of the Sophos Firewall routing table changes. Each AS, including the local AS of which the Sophos Firewall device is a member, is associated with an AS number. The AS number references a specific destination network.
BGP updates advertise the best path to a destination network. When the Sophos Firewall receives a BGP update, it examines potential routes to determine the best path to a destination network. It records the path in the firewall's routing table.
BGP configuration task list
You must turn on BGP before carrying out any of the BGP commands.
To configure BGP, see BGP configuration steps
To remove route configuration, run the
no network command from the command prompt as shown below:
bgp(config-router)#no network [ipaddress]
Turning off BGP
To turn off BGP routing configuration, run the no router command from the command prompt, replacing
bgp(config)#no router <as-number>
You can find the Local AS number under Routing > BGP > Global configuration.
To remove route configuration, run the no network command from the command prompt, replacing \
bgp(config-router)#no network <ip-address>