Date: Wed, 24 Sep 2014 16:15:11 +0100 From: Karl Pielorz <kpielorz_lst@tdx.co.uk> To: freebsd-questions@freebsd.org Subject: Default route (i.e. 'defaultrouter') ignored for VLAN rc.conf setup? Message-ID: <ED775403FD2C254900CE4499@Mail-PC.tdx.co.uk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED775403FD2C254900CE4499>