From owner-freebsd-questions@FreeBSD.ORG Tue Jun 9 00:24:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE8349DD for ; Tue, 9 Jun 2015 00:24:09 +0000 (UTC) (envelope-from jnyhuis@uw.edu) Received: from mxout23.cac.washington.edu (mxout23.cac.washington.edu [140.142.32.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxout23.cac.washington.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B674B1336 for ; Tue, 9 Jun 2015 00:24:09 +0000 (UTC) (envelope-from jnyhuis@uw.edu) Received: from smtp.washington.edu (smtp.washington.edu [69.91.245.9]) by mxout23.cac.washington.edu (8.14.4+UW14.03/8.14.4+UW15.02) with ESMTP id t590Ntb0028329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 8 Jun 2015 17:23:55 -0700 X-Auth-Received: from [172.16.2.54] (gate.htseq.org [140.142.225.254]) (authenticated authid=jnyhuis) by smtp.washington.edu (8.14.4+UW14.03/8.14.4+UW14.04) with ESMTP id t590NtUS000397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 8 Jun 2015 17:23:55 -0700 X-UW-Orig-Sender: jnyhuis@smtp.washington.edu Message-ID: <5576321B.3030506@uw.edu> Date: Mon, 08 Jun 2015 17:23:55 -0700 From: John Nyhuis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: FreeBSD 10.1p10 defaultrouter not working Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.6.9.1216 X-PMX-Server: mxout23.cac.washington.edu X-Uwash-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1600_1699 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, FROM_EDU_TLD 0, __ANY_URI 0, __C230066_P5 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __PHISH_SPEAR_STRUCTURE_1 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __USER_AGENT 0' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 00:24:10 -0000 I am trying to set a default route of 140.142.xyz.129 using the documented method of adding the line below to rc.conf: defaultrouter = "140.142.xyz.129" (the .xyz. is to protect the guilty... mainly me). ^_^ After restarting the netif and route services, I still don't see a default route being set. netstat -r shows: Internet: Destination Gateway Flags Netif Expire localhost link#7 UH lo0 140.142.xyz.128/25 link#8 U lagg0 140.142.xyz.141 link#8 UHS lo0 no default route is assigned... No logs of interest show up in messages, security, or dmesg.today The pertinent section of rc.conf looks like: cloned_interfaces="lagg0" defaultrouter="140.142.xyz.129" #create a LACP aggregate interface for the native 1G NICS ifconfig_bce0="up" ifconfig_bce1="up" ifconfig_lagg0="laggproto lacp laggport bce0 laggport bce1 140.142.xyz.141/25" This should all be good according to the FreeBSD handbook, but it does not work. I can manually set the default route using "route add default 140.142.xyz.129", but although the route is now listed, it does not work. If I comment the "ifconfig_lagg0" line, a default route does show up as expected, so this seems to be related to an incompatibility between a aggregate interface and a "defaultrouter" line in rc.conf. Either will work by themselves, but not both in the same rc.conf. Any wisdom you would be willing to share would be much appreciated... -- Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033