From owner-freebsd-questions@FreeBSD.ORG Sat Sep 27 17:52:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4FEB106568A for ; Sat, 27 Sep 2008 17:52:44 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 878638FC13 for ; Sat, 27 Sep 2008 17:52:44 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1485249wfg.7 for ; Sat, 27 Sep 2008 10:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; bh=cJ0E3sjKaPVof8Ja2x6uvsIOhmDEnBM/MFl3aoPPAFw=; b=nKVQAd9nMHCWrRs7YYJHtjoEz85csAeWkp6TTWlRcK/fLFE9Dz4sBOidQkGStGESM9 kQ4vjKXZFBnmHPmY6wbLu2OGncfjy0n0zRN4mJg/o0HOPDSZRLEnxu/Qs0h8OdUT3EMQ h5DM9MdUYBq3oiC4eFNbJyvZBPTg2pp09Mh5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version :content-type:content-transfer-encoding:content-disposition :x-google-sender-auth; b=hKzvdrsu1mn0R9m9kHxMrEStGUnXgUUOwzSI3dj6zD+QkAaGuOej3jcjWPa446vsDE m2yoQr5H4BP362TQxxcHA8Vw/o3od/KG5emar8aHGSXIAScky9R1jMaYOk6yqu2R//Aw Z3LmY9DRva/mJrk3IoukvfS0QysW8xs286dRw= Received: by 10.142.153.8 with SMTP id a8mr1258602wfe.316.1222537964026; Sat, 27 Sep 2008 10:52:44 -0700 (PDT) Received: by 10.142.44.17 with HTTP; Sat, 27 Sep 2008 10:52:43 -0700 (PDT) Message-ID: <539c60b90809271052q4acc58c0g8595eaf6f37f2287@mail.gmail.com> Date: Sat, 27 Sep 2008 10:52:43 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 4a99748bb00ac566 Subject: can't add interfaces to bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2008 17:52:44 -0000 I'm getting the following error - ifconfig: BRDGADD ath0: Invalid argument Given the following commands (which work for my tap interface with qemu on 7.1, but apparently not with two regular network cards on 6.3): sudo kldload if_bridge sudo ifconfig ath0 down sudo ifconfig rl0 down sudo ifconfig bridge0 destroy sudo ifconfig bridge0 create sudo ifconfig bridge0 addm ath0 sudo ifconfig bridge0 addm rl0 sudo ifconfig bridge0 up sudo ifconfig ath0 up sudo ifconfig rl0 up sudo dhclient bridge0 ifconfig I get the following output: [steve@aire /usr/home/steve]$ bridge kldload: can't load if_bridge: File exists net.link.tap.user_open: 1 -> 1 net.link.tap.devfs_cloning: 1 -> 1 net.link.tap.up_on_open: 1 -> 1 ifconfig: BRDGADD ath0: Invalid argument ifconfig: BRDGADD rl0: Invalid argument DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 8 ath0: flags=8843 mtu 1500 inet 192.168.2.69 netmask 0xffffff00 broadcast 192.168.2.255 ether 00:13:f7:4a:0f:a8 media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: no carrier ssid "" channel 3 authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 39 bmiss 7 protmode CTS burst bintval 100 rl0: flags=8843 mtu 1500 options=8 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:01:6c:16:44:6f media: Ethernet autoselect (none) status: no carrier plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 bridge0: flags=8802 mtu 1500 ether ea:57:36:3c:28:0c priority 32768 hellotime 2 fwddelay 15 maxage 20 [steve@aire /usr/home/steve]$ Thanks, Steve