Skip to content

ebTables Hook

The pre-hook that runs at the start of each vif cycle

/usr/local/solusvm/data/hooks/ebtables-pre.sh

The variables that are passed:

\$1 - Interface (vif)

IPv4 loop hook that adds entries to each vif while looping through each IP

/usr/local/solusvm/data/hooks/ebtables-iploop.sh

The variables that are passed:

\$1 - Interface (vif)

\$2 - Ipaddress

IPv6 loop hook that adds entries to each vif while looping through each IP

/usr/local/solusvm/data/hooks/ebtables-iploop6.sh

The variables that are passed:

\$1 - Interface (vif)

\$2 - Ipaddress

Post hook that runs at the end of each vif cycle

/usr/local/solusvm/data/hooks/ebtables-post.sh

The variables that are passed:

\$1 - Interface (vif)

Example files of all 4 hooks can be found in /usr/local/solusvm/data/hooks/:

ebtables-pre.sh.example
ebtables-iploop.sh.example
ebtables-iploop6.sh.example
ebtables-post.sh.example
 

Back to top