We no longer have ebtables
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-vlan_init() {
- ebtables-restore <<EOF
-*filter
-:INPUT ACCEPT
-:FORWARD ACCEPT
-:OUTPUT ACCEPT
-
-*broute
-:BROUTING ACCEPT
--A BROUTING -p 802_1Q -j DROP
-EOF
-}
-
vlan_create() {
local device="${1}"
shift
vlan_create() {
local device="${1}"
shift
- # Load ebtables stuff.
- vlan_init
-
# Make the command
local command=(
ip link add link "${parent}" name "${device}"
# Make the command
local command=(
ip link add link "${parent}" name "${device}"