Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Ebtables: Difference between revisions

Content deleted Content added
Michael (talk | contribs)
m spaces
AA-Andrew (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 15: Line 15:
== /etc/network/interfaces ==
== /etc/network/interfaces ==


Valid if eth0.20 used IEEE's example of [http://standards.ieee.org/develop/regauth/tut/eui48.pdf AC-DE-48-23-45-67]
Valid if eth0.20 used IEEE’s example of [http://standards.ieee.org/develop/regauth/tut/eui48.pdf AC-DE-48-23-45-67]


iface int0 inet static
iface int0 inet static
Line 94: Line 94:


To save the accounting data,
To save the accounting data,
I used a script called out from /etc/cron.hourly and will end up with a directory tree with accounting data that resembles that from AAISP’s clueless pages but broken down by MAC address. Old data may need to be rotated away from the output area eventually though.
I used a script called out from /etc/cron.hourly and will end up with a directory tree with accounting data that resembles that from AAISP’s clueless pages but broken down by MAC address. If I had [[Ethernet over ADSL]] then the ISP might do this step instead. Old data may need to be rotated away from the output area eventually though.


#!/bin/bash
#!/bin/bash
Line 117: Line 117:
fi
fi
done <<<"$(ebtables -L accounting --Lc --Lmac2 $PARA)"
done <<<"$(ebtables -L accounting --Lc --Lmac2 $PARA)"

[[Category:3rd Party Routers]]