[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KVM-networking (under normal user).


Sthu Deus a écrit :
> Having this in /etc/network/interfaces:
> iface br0 inet static
>         address
>         netmask
>         network
>         broadcast
>         pre-up /usr/sbin/tunctl -u vmachine -t tap0
>         pre-up ifconfig tap0 up
>         post-down ifconfig tap0 down
>         post-down tunctl -d tap0
> I do:
> $ /usr/bin/sudo /sbin/ifup br0
> and get this:
> Set 'tap0' persistent and owned by uid 1115
> SIOCSIFADDR: No such device
> br0: ERROR while getting interface flags: No such device

You need to add a 'bridge_ports' line to indicate that the interface is
a bridge. Otherwise the system does not create it. See man

Reply to: