Date: Wed, 19 Jan 2000 11:35:32 -0600 From: Richard Martin <dmartin@origen.com> To: freebsd-net@freebsd.org Subject: Virtual IPs & rc.conf Message-ID: <3885F5E4.9323AE01@origen.com>
next in thread | raw e-mail | index | archive | help
I'm a bit new to FreeBSD, and not quite sure how to add routes for virtual IPs we host into the startup file. I know that the commands: ifconfig xl0 alias [new ip] netmask 0xffffffff route add -host [new ip] -interface xl0 will add the ip and route to the routing table, but I can't seem to get this into the startup scripts correctly. I have tried fiddling with the static_route command, but no success and its a pain to have to reboot to try each new iteration Is this what goes in rc.conf? /usr/local/etc/rc.d? if_config_xl0="alias [new ip] netmask 0xffffffff" static_route="-host [new ip] -interface xl0" We have a lot of IPs to add, maybe just use a script run at boot? Thanks, -- Richard Martin dmartin@origen.com OriGen Biomedical Tel: +1 512 474 7278 2525 Hartford Rd. Fax: +1 512 708 8522 Austin, TX 78703 http://www.formed.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3885F5E4.9323AE01>