Hi Pluggers,
I wonder if the scenario below is unfeasible, impractical, or not doable at
all.
Best regards.
Christie
==============================================
It's a redhat 6.1 server with a single interface card, but with 16
sub-interfaces (eth0:1...wth0:16) correspondingly assigned its own ip such
as 192.168.0.1-16. The main interface (eth0) has IP 192.168.1.1 and resolves
to say, main.ourcompany.com. I resolved each IP address of the virtual
interfaces to its own hostname/domain name such that
192.168.0.1=>server.a.com, 192.168.0.2=> server.b.com, and so on..
I wanted to achieve the effect of when a user logs in to the eth0:N ip
address, the machine hostname that he'll be aware of is the one to which the
ip address of that interface resolves to. That is, if he logs to
192.168.0.2, all references to the hostname that he'll be aware of is
server.b.com (including environment variables relating to hostname).
Presently, the hostname that i can see is that of the main ip address (eth0)
regardless of which virtual interface i log on to.
Any ideas? A lot of thanks in advance.
Mary Christie
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]