{"id":2776,"date":"2017-08-21T17:48:16","date_gmt":"2017-08-21T16:48:16","guid":{"rendered":"https:\/\/kudzia.eu\/b\/?p=2776"},"modified":"2017-08-21T17:49:37","modified_gmt":"2017-08-21T16:49:37","slug":"bridge-on-vlans-on-active-backup-bonding-under-debian-stretch","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2017\/08\/bridge-on-vlans-on-active-backup-bonding-under-debian-stretch\/","title":{"rendered":"bridge on vlans on active-backup bonding under debian stretch"},"content":{"rendered":"<p>i use this setup for few lxc servers. bonding provides me layer2 failover based on arp probes [ so it&#8217;ll work even if switch link stays up yet forwarding fails the mechanism will kick in ].<\/p>\n<p>this is continuation of an <a href=\"\/b\/2014\/10\/bridge-on-vlans-on-active-backup-bonding-under-debian\/\">earlier post<\/a>, this time under debian stretch<br \/>\n<!--more--><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\napt-get install bridge-utils ifenslave vlan\r\n<\/pre>\n<p>\/etc\/network\/interfaces:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# The loopback network interface\r\nauto lo\r\niface lo inet loopback\r\n\r\nauto bond0\r\niface bond0 inet manual\r\n        bond-mode active-backup\r\n        bond-primary eno1\r\n        bond-arp-interval 100\r\n        bond-arp-ip-target 10.10.10.1\r\n        bond-arp-validate all\r\n        slaves eno1 eno2\r\n\r\nauto br.11\r\niface br.11 inet static\r\n        vlan-raw-device bond0\r\n        address 10.10.10.31\/24\r\n        gateway 10.10.10.1\r\n        dns-nameservers 10.10.10.1\r\n        bridge-ports bond0.11\r\n        bridge-stp off\r\n\r\n\r\nauto br.10\r\niface br.10 inet manual\r\n        bridge-ports bond0.10\r\n        vlan-raw-device bond0\r\n        bridge-stp off\r\n<\/pre>\n<p>\/etc\/modules includes<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nbonding\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>i use this setup for few lxc servers. bonding provides me layer2 failover based on arp probes [ so it&#8217;ll work even if switch link stays up yet forwarding fails the mechanism will kick in ]. this is continuation of an earlier post, this time under debian stretch<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[47],"class_list":["post-2776","post","type-post","status-publish","format-standard","hentry","category-tech","tag-linux-networking"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=2776"}],"version-history":[{"count":2,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2776\/revisions"}],"predecessor-version":[{"id":2778,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2776\/revisions\/2778"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=2776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=2776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=2776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}