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


Groups > linux.debian.user > #172095

Defining TAP interfaces in /etc/network/interfaces

From Andrew Wood <andrewjameswood@ymail.com>
Newsgroups linux.debian.user
Subject Defining TAP interfaces in /etc/network/interfaces
Date 2016-09-12 22:20 +0200
Message-ID <sgFRU-8ja-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Im (slowly) trying to setup bridging and TAP interfaces to use with QEMU 
so each VM can have a 'real' IP on the network rather than NAT.


I now have a bridge setup (br1) using eth1 which Ive done in 
/etc/network/interfaces with:

auto eth1
auto br1
iface br1 inet dhcp
         bridge_ports eth1
         bridge_stp off
         bridge_fd 0
         bridge_maxwait 0


However I cannot work out how to add TAP interfaces to this bridge using 
that file. Currently I have to do it with the tunctl & brctl commands in 
a separate script.


It is possible to do it in /etc/network/interfaces ?

Thanks
Andrew

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


Thread

Defining TAP interfaces in /etc/network/interfaces Andrew Wood <andrewjameswood@ymail.com> - 2016-09-12 22:20 +0200
  Re: Defining TAP interfaces in /etc/network/interfaces Nemeth Gyorgy <friczy@freemail.hu> - 2016-09-12 22:40 +0200
  Re: Defining TAP interfaces in /etc/network/interfaces Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-09-12 23:40 +0200
  Re: Defining TAP interfaces in /etc/network/interfaces "Neal P. Murphy" <neal.p.murphy@alum.wpi.edu> - 2016-09-13 00:30 +0200
    Re: Defining TAP interfaces in /etc/network/interfaces Andrew Wood <andrewjameswood@ymail.com> - 2016-09-16 21:50 +0200

csiph-web