Re: can I have 1 box with 2 NICs and 2 hostnames?

From: Kev (farleyflemin_at_hotmail.com)
Date: 10/23/03


Date: 23 Oct 2003 13:33:09 -0700

Hi, ok I was trying to avoid posting the problem instead of the
required solution : ) but here goes:

I have a linux server set up on a network (connected to a 4 port
swtiched hub). The server has 2 cards in it currently. Now looking
around I think maybe it would work with one.
 The problem is that I have strict rules to follow in the set-up of
this box. It will be used for 2 people's final projects for a computer
science degree. This means that although the same hardware will be
used, the 2 people cannot share certain configuration files, so they
must have totaly seperate versions of software, sometimes running
simultaneously - hence 2 i.p.s/hostnames. Specifically, sendmail will
have to have 2 copies running at the same time using totaly different
configurations, almost invisble to each other (probably different
versions even). It will have to be configured to use a specific I.P.
and probably think of the other I.P. as another computer (rather than
using /bin/mail). I REALLY hope this is possible and that somebody can
help because degree's depend on it...

 There is no way another machine can be bought and it would have to be
modified to be dependable (new HDD + backup hardware) and it just
cannot be afforded.

many thanks

Kev

farleyflemin@hotmail.com (Kev) wrote in message news:<94658453.0310210725.544965c@posting.google.com>...
> Hi, think the subject line sums up my problem. I have a linux box with
> 2 network cards in it, with 2 seperate I.P. addresses. The box is not
> the DNS server and I cant change anything on the DNS server for the
> network (cos it dont let me). What I need to do is have a hostname
> corresponding to each network card on the linux box.
>
> So far it just has one hostname which just resolves to 1 of the
> I.P.s. Both cards are connected to the same network (it has to be this
> way! : ). I dont know which card this hostname/I.P. relates to at the
> moment.
>
> I REALLY REALLY need help here. I can't find any posts about this in
> searches on message boads, usenet or the web. I do, however, need 2
> NICs on the same network with different hostnames :P
>
> Thanks in advance
>
> Kev
>
> Running: Mandrake 9



Relevant Pages

  • Re: Help w/ Not-booting Problem
    ... >No - setting the hostname is one element in the boot process. ... I have had a working system of RedHat Linux 7.2 for several months. ... >external DNS server on an adsl router! ... >You appear to have a networking problem. ...
    (comp.os.linux.misc)
  • Re: Question
    ... >I am a network manager for a small government. ... >proprietary to something like FreeBSD or linux? ... Are server needs are currently simple and we only have one NT4 server ...
    (freebsd-newbies)
  • Re: Simple Fax Solution for Small Office?
    ... She wants to get away from the NT server. ... I _highly_ recommend HylaFAX running on Linux. ... Can be "integated" into a network running Samba for Windows ...
    (comp.os.linux.networking)
  • Re: [opensuse] Linux/CUPS/Samba Printer Configuration - again
    ... Darryl Gregorash wrote: ... the Linux box - which works fine, ... Configure the printer in CUPS to allow network ... If you are running a firewall on the server, you may need to open the ...
    (SuSE)
  • Re: Changing Host name help please
    ... Windows. ... You would put the hostname you want to use for your Linux ... the network setup. ... For your Linux server, you ...
    (Fedora)