Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206747

Re: Setting up a VLAN tagged bonding device

From Sven Hartge <sven@svenhartge.de>
Newsgroups linux.debian.user
Subject Re: Setting up a VLAN tagged bonding device
Date 2019-03-28 18:20 +0100
Message-ID <xGGR3-8pe-7@gated-at.bofh.it> (permalink)
References <xGGo2-80s-5@gated-at.bofh.it>
Organization Newsfeed am Wurmloch

Show all headers | View raw


John W. M. Stevens <john@betelgeuse.us> wrote:

> 2) Does anybody have a working example configuration for such a thing?

Sure.

Please not I don't use any configuration for int0, int1, ext0 and ext1.
You need to do that on Ubuntu because of something they broke.  It is
not needed in Debian.

This is the fill working configuration from one of my production
routers:

-----------8<--------------

### internal network

auto bond0
iface bond0 inet manual
  bond_mode 802.3ad
  bond_miimon 100 
  bond_updelay 1000
  bond_lacp_rate slow
  bond_xmit_hash_policy layer2+3
  slaves int0 int1

auto bond0.135
iface bond0.135 inet static
  address xxx.yyy.14.218
  netmask 255.255.255.248
  up ip route add 10.0.0.0/8 via xxx.yyy.14.220 dev $IFACE
  up ip route add 172.16.0.0/12 via xxx.yyy.14.220 dev $IFACE
  up ip route add 192.168.0.0/16 via xxx.yyy.14.220 dev $IFACE

### external network

auto bond1
iface bond1 inet manual
  bond_mode 802.3ad
  bond_miimon 100 
  bond_updelay 1000
  bond_lacp_rate slow
  bond_xmit_hash_policy layer2+3
  slaves ext0 ext1

auto bond1.160
iface bond1.160 inet static
  address xxx.yyy.14.213
  netmask 255.255.255.248
  gateway xxx.yyy.14.209

-----------8<--------------

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Setting up a VLAN tagged bonding device "John W. M. Stevens" <john@betelgeuse.us> - 2019-03-28 17:50 +0100
  Re: Setting up a VLAN tagged bonding device Sven Hartge <sven@svenhartge.de> - 2019-03-28 18:20 +0100

csiph-web