From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 15:15:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40A67F11 for ; Wed, 24 Sep 2014 15:15:41 +0000 (UTC) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id DCD14B31 for ; Wed, 24 Sep 2014 15:15:39 +0000 (UTC) Received: from Mail-PC.tdx.co.uk (storm.tdx.co.uk [62.13.130.251]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id s8OFFBTm010827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 24 Sep 2014 16:15:11 +0100 (BST) Date: Wed, 24 Sep 2014 16:15:11 +0100 From: Karl Pielorz To: freebsd-questions@freebsd.org Subject: Default route (i.e. 'defaultrouter') ignored for VLAN rc.conf setup? Message-ID: X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 15:15:41 -0000 Hi, I've got a 10.0-R box setup with: cloned_interfaces="bge0.99" ifconfig_bge0_99="inet 192.168.0.20 netmask 255.255.255.0" defaultrouter="192.168.0.1" This correctly sets up 'bge0.99' at boot time, but doesn't set the default route. I've seen one post from way back about this - which was never really solved / worked around (it was along the lines of 'maybe the default route add is occuring before the vlan config is in place') which it could probably be - but no solutions / workarounds were offered. If you either re-run the network startup script, or manually do 'route add default 192.168.0.1' after the system is up (when bge0.99 exists) it'll quite happily add it. Anyone know of a work around for this? Thanks, -Karl