NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/46234: brconfig add * does not work
>Number: 46234
>Category: kern
>Synopsis: brconfig add * does not work
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 21 21:50:00 +0000 2012
>Originator: Ryo ONODERA
>Release: NetBSD 6.99.4
>Organization:
>Environment:
System: NetBSD hydrogen.elements.tetera.org 6.99.4 NetBSD 6.99.4 (LEAFGIRLB)
#2: Thu Mar 22 06:34:10 JST 2012
root%hydrogen.elements.tetera.org@localhost:/usr/obj/sys/arch/i386/compile/LEAFGIRLB
i386
Architecture: i386
Machine: i386
>Description:
I want to run the following commands for qemu networking.
/sbin/ifconfig tap0 create
/sbin/ifconfig bridge0 create
/sbin/brconfig bridge0 add msk0
/sbin/ifconfig bridge0 up
/sbin/ifconfig tap0 0.0.0.0 up
/sbin/brconfig bridge0 add tap0
But,
# /sbin/brconfig bridge0 add msk0
fails with the following message.
brconfig: add msk0: Operation not permitted
% ifconfig -a
msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:17:42:3d:72:02
media: Ethernet autoselect (100baseTX
full-duplex,flowcontrol,rxpause,txpause)
status: active
inet 192.168.81.210 netmask 0xffffff00 broadcast 192.168.81.255
inet6 fe80::217:42ff:fe3d:7202%msk0 prefixlen 64 scopeid 0x1
wpi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ssid ""
powersave off
address: ff:ff:ff:ff:ff:ff
media: IEEE802.11 autoselect
status: no network
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
tap0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:07:51:0a
media: Ethernet autoselect
inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255
inet6 fe80::f00b:a4ff:fe07:510a%tap0 prefixlen 64 scopeid 0x4
bridge0: flags=41<UP,RUNNING> mtu 1500
% brconfig -a
bridge0: flags=41<UP,RUNNING>
Configuration:
priority 32768 hellotime 2 fwddelay 15 maxage 20
ipfilter disabled flags 0x0
Interfaces:
Address cache (max cache: 100, timeout: 1200):
>How-To-Repeat:
run
/sbin/brconfig bridge0 add msk0
>Fix:
I have no idea.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index