diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-01-26 21:42:58 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-01-26 21:42:58 +0100 |
commit | 51cd34da47416003dda9ee2c10297a58cd2ed098 (patch) | |
tree | 41898c6037a5b29061e39033a0489bf4d13e9970 /templates/interfaces/pseudo-ethernet | |
parent | 85dc32785d785eca5512ceec78b2058c0aaa6b67 (diff) | |
download | vyatta-cfg-system-51cd34da47416003dda9ee2c10297a58cd2ed098.tar.gz vyatta-cfg-system-51cd34da47416003dda9ee2c10297a58cd2ed098.zip |
T113: add a MAC address option for 802.1q and 802.1ad VLANs.
Diffstat (limited to 'templates/interfaces/pseudo-ethernet')
3 files changed, 12 insertions, 0 deletions
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def new file mode 100644 index 00000000..750710ec --- /dev/null +++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def @@ -0,0 +1,4 @@ +type: macaddr +help: Media Access Control (MAC) address + +update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@) diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def new file mode 100644 index 00000000..24b4b4d7 --- /dev/null +++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def @@ -0,0 +1,4 @@ +type: macaddr +help: Media Access Control (MAC) address + +update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../../@).$VAR(../../@).$VAR(../@) --set-mac $VAR(@) diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def new file mode 100644 index 00000000..750710ec --- /dev/null +++ b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def @@ -0,0 +1,4 @@ +type: macaddr +help: Media Access Control (MAC) address + +update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@) |