Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2000 15:48:40 +0100
From:      "Darren Evans" <darren@profero.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Routing on static virtual interfaces
Message-ID:  <000a01bfb5d7$d61ca1e0$a99d24d4@vindaloo.profero.com>

next in thread | raw e-mail | index | archive | help

I can either define this at the shell using the following commands
ifconfig xl0 alias 212.36.150.139 netmask 255.255.255.192 up
route add -host 212.36.150.139 212.36.150.190

or add the following to /etc/rc.conf for proper boot time config
ifconfig_xl0_alias0="inet 212.36.150.139 netmask 255.255.255.192"

BUT When I set this up properly in rc.conf it does not setup
any routing, rc.network has a $static_routes environment setting
but I cannot see where it's set.  Setting this manually afterwards
works, but obviously is'nt very professional ;-)


thanks
--
 Darren Evans          Tel: +44(0)20 7700 9960
 Systems, Profero Ltd  Fax: +44(0)20 7700 9961


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01bfb5d7$d61ca1e0$a99d24d4>