Re: KVM-networking (under normal user).
Hello,
Sthu Deus a écrit :
>
> Having this in /etc/network/interfaces:
>
> iface br0 inet static
> address 192.168.0.125
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> 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
bridge-utils-interfaces.
Reply to: