Technical Tip: Allow MAC addresses to be used in SD-WAN rules and policy routes
Description
From v6.4.2,Users can select MAC addresses as the source in SD-WAN rules and policy routes.
This article describes how to process.
Scope
For version 6.4.2.
Solution
From CLI.
1) Configure the MAC address:
1) Configure the MAC address:


From v6.4.2,Users can select MAC addresses as the source in SD-WAN rules and policy routes.
This article describes how to process.
Scope
For version 6.4.2.
Solution
From CLI.
1) Configure the MAC address:
# config firewall address2)Configure the policy route:
edit "mac-add"
set type mac
set start-mac 70:4c:a5:86:de:56
set end-mac 70:4c:a5:86:de:56
next
end
# config router policy3) Configure the SD-WAN rule(can configure only from CLI):
edit 3
set srcaddr "mac-add"
set gateway 15.1.1.34
set output-device ha
next
end
# config system sdwanTo verify the policy route matching for a MAC address:
# config service
edit 1
set dst "all"
set src "mac-add"
set priority-members 1
next
end
end
# diagnose ip proute match 3.1.1.34 70:4c:a5:86:de:56 port3 22 6From GUI.
dst=3.1.1.34 src=0.0.0.0 smac=70:4c:a5:86:de:56 iif=11 protocol=22 dport=6
id=00000003 type=Policy Route
seq-num=3
1) Configure the MAC address:

2) Configure the policy route:

