> Anyone know how to setup a virtual IP on a freebsd box ?
If you're setting up lots of these, as with all operating systems, it's best
to use the loopback address, and you already know how to add new IP
addresses to an interface.
> The man pages are next to useless...
% man ifconfig
[...]
: The following parameters may be set with ifconfig:
:: alias Establish an additional network address for this interface. This
: is sometimes useful when changing network numbers, and one wishes
: to accept packets addressed to the old interface.
Different strokes really. At least the man pages generally bear some
resemblance to their respective commands, unlike Certain Other Operating
Systems. :-)
If you're interested, there's also a rather neat patch around to alias a
whole network to an interface. This is handy if you need to assign piles
and piles of IP addresses to a system.
Nick
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!