Created on 08-29-2022 08:35 AM Edited on 08-29-2022 08:37 AM By Anonymous
Description |
This article describes the Fortinet PBR (Policy Based Routing) behavior when a PPPoE connection is used.
The objective of this document is to describe and illustrate how the PBR works for PPPoE connections that do not have a static IP address and next-hop-IP(Gateway). |
Scope |
FortiGate All versions. |
Solution |
When a packet is received by the FortiGate unit and appropriately picked by a PBR (checking source and destination IP addresses, incoming and outgoing ports, and destination service port), the gateway IP indicated by the PBR is used as the destination.
When utilizing a PPPoE interface as the destination interface on PBR, the gateway is automatically detected, and no gateway IP address is required to be configured under PBR policy.
CLI Syntax:
# config router policy set gateway 0.0.0.0 -> keep it Unchanged (0.0.0.0 would be default value) GUI:
To verify the Traffic matching appropriate PBR configured with PPPoE interface:
Traffic Flow Debug Output:
# id=20085 trace_id=1 func=print_pkt_detail line=5863 msg="vd-root:0 received a packet(proto=1, 10.166.5.71:1->8.8.8.8:2048) tun_id=0.0.0.0 from port3. type=8, code=0, id=1, seq=35."
# di firewall proute list list route policy info(vf=root): id=1 dscp_tag=0xff 0xff flags=0x0 tos=0x00 tos_mask=0x00 protocol=0 sport=0-0 iif=5 dport=0-65535 path(1) oif=22(ppp1)
# get router info routing-table details
# di ip address list |