[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some administrativ questions
- To: "van Helsing" <vh_(_at_)_helith_(_dot_)_net>, <misc_(_at_)_openbsd_(_dot_)_org>
- Subject: Re: Some administrativ questions
- From: "Janusz" <janku_(_at_)_rogers_(_dot_)_com>
- Date: Fri, 11 Jun 2004 13:11:32 -0400
In opeBSD adding additional IPs to the NIC is very simple byt not without
If you can afford reboot all you have to do is to add entry in
/etc/hostname.XXX file for the NIC.
Let say the NIC you want to add alias IP is eth0 and has already main IP
in /etc/hostname.eth0 you will add the second line:
inet 192.168.1.1 255.255.255.0 NONE
inet alias 192.168.1.2 255.255.255.255 NONE
If you cannot reboot, use ifconfig:
# ifconfig eth0 inet alias 192.168.1.2 netmask 255.255.255.255
Keep eye on that netmask though. If you applying only one alias IP it has to
Because ifconfig supports applying blocks of IP aliases at once you can
mess-up tings especially with your ssh access only.
to check the aliases on the NIC use
# ifconfig -A
From: owner-misc_(_at_)_openbsd_(_dot_)_org [mailto:owner-misc_(_at_)_openbsd_(_dot_)_org]On Behalf Of
Sent: Friday, June 11, 2004 12:19 PM
Subject: Some administrativ questions
I've a WebServer wich runs OpenBSD and all is working very well.
But I've 2 questions now.
I follow the howto to keep my OS stable but there also games in the
How could I exclude the games when I feth the source and rebuild the
complete OS? I've no need for games on a webserver.
The other questions deals with Apache.
I use Name-Based-Virtual-Hosting now but I would to swith to
IP-Based-Virtual-Hosting becourse I would set up https for the
Could somebody give me tips how to make openBSD multihomingable (X Ips
-> 1 NIC)?
I've no experience with this and I don't know how to configure the NIC
rightly for that. Do I've to use the 'vlandev' (man ifconfig) to set up
another IP for the same NIC?
I just fear to make something wrong becourse I can maintain the server
only via SSH.
Thank you for any help and ideas.
[demime 0.98d removed an attachment of type application/pgp-signature]
Visit your host, monkey.org