From owner-freebsd-net@FreeBSD.ORG Tue Sep 5 03:04:45 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C97C216A4DA for ; Tue, 5 Sep 2006 03:04:45 +0000 (UTC) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.embarqhsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DE7D43D46 for ; Tue, 5 Sep 2006 03:04:40 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.13.7/8.13.1) with ESMTP id k8534bvW069896; Mon, 4 Sep 2006 23:04:37 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.13.7/8.13.1/Submit) id k8534Vkn069895; Mon, 4 Sep 2006 23:04:31 -0400 (EDT) (envelope-from bv) Date: Mon, 4 Sep 2006 23:04:31 -0400 From: Bill Vermillion To: Sam Wun Message-ID: <20060905030431.GC69355@wjv.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, SPF_HELO_PASS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on bilver.wjv.com Cc: freebsd-net@freebsd.org Subject: Re: half-duplex X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 03:04:45 -0000 On Tue, Sep 05, 2006 at 12:18 , after knocking over a stack of dishes on the heat sink Sam Wun wondered out loud about: > Hi, > I am running a FreeBSD 5.4 stable as a network router. > I don't know any reason why one of the ethernet ports becomes half-duplex. > Here is its detail: > em1: flags=8843 mtu 1500 > options=b > inet 60.1.2.3 netmask 0xfffffffc broadcast 220.233.99.39 > ether 00:04:23:bc:3a:d1 > media: Ethernet autoselect (10baseT/UTP ) > status: active > em2: flags=8843 mtu 1500 > options=b > inet 10.1.10.1 netmask 0xffffff00 broadcast 10.1.10.255 > ether 00:04:23:bc:3a:d2 > media: Ethernet autoselect (1000baseTX ) > status: active > This network card is a Quat Port Intel card. Is there any way > I can "reset" it to full-duplex and 1000baseT without close > down the network connection on em1? I know I can use following > command to change it: ifconfig em1 media 100baseTX mediaopt > full-duplex Well 'em1' shows it is alos 10Mg second. Autoselect >usually< works well but there can be problems with some switches. I am assuming you are using a switch and not a hub - as that won't work FDX. You should be able to set the startup in the settings in your rc.conf with the meidaopt argument. man 4 em shows that only FDX is supported at high speeds - 1000mb/sec. And you are getting only 10mb. Is that what you want. If you are connected to a switch capable of 1000mbit, check the switch settings. Cicso had release notes and indicated 6 ways things will NOT work and one way it will. > but if this not work, it will close down the entire internet > connection, which I try to avoid. I don't know if using the 'mediopt' argument will shut down the entire connection - but you probably are going to have to try. If it works from the commnand line be sure to add it to the startup script so it gets fixed on a reboot. It SHOULD work with auto-select unless you have switch and/or cabling problems. Bill -- Bill Vermillion - bv @ wjv . com