*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Are those IP addresses intended for machines on your LAN?
If so, I have an idea (though I am not a network guru and never did this before): what if adding the surplus IP addresses to em0, as IP aliases, then redirect them to your internal machines by natd?
You can add IP aliases in rc.conf like this:
ifconfig_em0_alias0="inet 192.168.0.1 netmask 255.255.255.255"
For redirection, see man natd.
Are those IP addresses intended for machines on your LAN?
If so, I have an idea (though I am not a network guru and never did this before): what if adding the surplus IP addresses to em0, as IP aliases, then redirect them to your internal machines by natd?
You can add IP aliases in rc.conf like this:
ifconfig_em0_alias0="inet 192.168.0.1 netmask 255.255.255.255"
For redirection, see man natd.
Sorry for the doublepost, I struggle a lot with my new installation of opera browser, and, I did not have time to fix it.
So, if you will use all those those IP addresses for a web server on a machine, then you need to use IP aliases. You can add any number of IP aliases to a NIC (alias0, alias1, alias2, etc.).
Do it as I mentioned above.
Just one last note:
If those IP addresses were your real IP addresses, then you had better edit your previous posts and change them to some other arbitrary IP address. (I do the same with my posts in this thread).
For security reasons, it is not a good practice to post your actual IP address at any forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.