-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FRR 8.5.1 doesn't support `match evpn vni` because of FRRouting/frr#14419
- Loading branch information
1 parent
4d5e1da
commit 545421b
Showing
4 changed files
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
#!/bin/sh | ||
set -o errexit -o xtrace | ||
|
||
ip link add vrf104009 type vrf table 1000 | ||
ip link set dev vrf104009 up | ||
ip link set dev eth0 master vrf104009 | ||
ip link add vrfInternet type vrf table 1000 | ||
ip link set dev vrfInternet up | ||
ip link set dev eth0 master vrfInternet | ||
|
||
ip link add name bridge type bridge stp_state 0 | ||
ip link set dev bridge type bridge vlan_filtering 1 | ||
ip link set dev bridge mtu 9000 | ||
ip link set dev bridge up | ||
|
||
ip link add link bridge up name vlan104009 type vlan id 1000 | ||
ip link set dev vlan104009 mtu 9000 | ||
ip link set dev vlan104009 master vrf104009 | ||
ip link add link bridge up name vlanInternet type vlan id 1000 | ||
ip link set dev vlanInternet mtu 9000 | ||
ip link set dev vlanInternet master vrfInternet | ||
bridge vlan del vid 1 dev bridge self | ||
bridge vlan add vid 1000 dev bridge self | ||
ip link set dev vlan104009 up | ||
ip link set dev vlanInternet up | ||
|
||
ip link add vni104009 type vxlan id 104009 dstport 4789 local 10.0.0.21 nolearning | ||
ip link set dev vlan104009 mtu 9000 | ||
ip link set dev vni104009 master bridge | ||
bridge vlan del vid 1 dev vni104009 | ||
bridge vlan del vid 1 untagged pvid dev vni104009 | ||
bridge vlan add vid 1000 dev vni104009 | ||
bridge vlan add vid 1000 untagged pvid dev vni104009 | ||
ip link set up dev vni104009 | ||
ip link add vniInternet type vxlan id 104009 dstport 4789 local 10.0.0.21 nolearning | ||
ip link set dev vlanInternet mtu 9000 | ||
ip link set dev vniInternet master bridge | ||
bridge vlan del vid 1 dev vniInternet | ||
bridge vlan del vid 1 untagged pvid dev vniInternet | ||
bridge vlan add vid 1000 dev vniInternet | ||
bridge vlan add vid 1000 untagged pvid dev vniInternet | ||
ip link set up dev vniInternet | ||
|
||
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
branch_name: "202305" | ||
branch_name: "202211" | ||
base_url: "https://sonic-build.azurewebsites.net/api/sonic/artifacts?branchName={{ branch_name }}&platform=vs" | ||
frr_pythontools_url: "{{ base_url }}&target=target%2Fdebs%2Fbullseye%2Ffrr-pythontools_8.5.1-sonic-0_all.deb" | ||
frr_pythontools_url: "{{ base_url }}&target=target%2Fdebs%2Fbullseye%2Ffrr-pythontools_8.2.2-sonic-0_all.deb" |