From owner-freebsd-net@FreeBSD.ORG Wed Dec 15 17:51:12 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 230E0106564A for ; Wed, 15 Dec 2010 17:51:12 +0000 (UTC) (envelope-from mlists+freebsd-net=freebsd-net=freebsd.org=ljksjktw@daemonground.de) Received: from mail.daemonground.de (mail.daemonground.de [IPv6:2a01:4f8:120:84a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id B390A8FC0A for ; Wed, 15 Dec 2010 17:51:11 +0000 (UTC) Received: from oinetka.gfsrv.net ([79.110.95.2] helo=dreamland.office.local) by mail.daemonground.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim) (envelope-from ) id 1PSvVO-0002JG-TC for freebsd-net@freebsd.org; Wed, 15 Dec 2010 18:51:10 +0100 From: Sascha Holzleiter To: freebsd-net@freebsd.org Date: Wed, 15 Dec 2010 18:51:22 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.3; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201012151851.22611.mlists+freebsd-net@daemonground.de> Subject: Forcing Full-Duplex on Realtek card X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 17:51:12 -0000 Hello, i just discovered it seems to be impossible to force a duplex setting if the switchport is not doing autonegotiation. The server in question has a Realtek 1GBit device but the hosting company reduces the speed on their switches to 100MBit. So after booting without any options this gives me: re0: flags=8843 metric 0 mtu 1500 options=389b ether XX:XX:XX:XX:XX:XX inet 46.X.X.X netmask 0xffffffc0 broadcast 46.X.X.X media: Ethernet 100baseTX status: active I though this wasn't a big deal and tried to force it to full-duplex: # ifconfig re0 media 100baseTX mediaopt full-duplex but it seems the actual setting is still half-duplex: re0: flags=8843 metric 0 mtu 1500 options=389b ether XX:XX:XX:XX:XX:XX inet 46.X.X.X netmask 0xffffffc0 broadcast 46.X.X.X media: Ethernet 100baseTX (100baseTX ) status: active This is on a FreeBSD 8.1-RELEASE amd64 system and the hardware in questions is: re0@pci0:6:0:0: class=0x020000 card=0x75221462 chip=0x816810ec rev=0x02 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)' class = network subclass = ethernet Is there anything i can do to force the full-duplex setting for good? Regards, Sascha