Troubleshooting Tip: BGP fails to establish with a VLAN created on the PPPoE interface
| Description | This article describes how to handle an issue where BGP neighborship does not come up with a VLAN created on a PPPoE interface due to using 'set source interface' under BGP configuration. |
| Scope | FortiGate. |
| Solution | In an environment where the ISP connection is delivered as PPPoE and required to have BGP neighborship with a VLAN created on top of the PPPoE, the BGP neighborship will not come up.
The following examples show PPPoE configuration on the VLAN and interface.
config system interface edit "a" edit "VLAN100" set mode pppoe set distance 210 set allowaccess ping https ssh snmp fgfm set role wan set snmp-index 116 set username "xyz" set password ENC set interface "a" set vlanid 100 next end
On the BGP configuration, do not use 'set source interface' under BGP neighbor. Instead, use 'set update-source' as shown below:
config router bgp next end
From GUI:
Navigate to Network -> BGP -> Neighbors -> Select and edit the neighbor -> Update source:
When a set interface is configured under a BGP neighbor, the firewall is restricted to establishing BGP sessions only through the specified interface. If the configured interface is not a loop-back, the firewall will use that interface exclusively to initiate BGP connection attempts. It will also reject any incoming BGP connection attempts from the same neighbor that arrive on a different interface, generating the message:
Incoming conn <neighbor IP> expected if <interface index> from peer group but received from <interface index>
Related article: |

