Re: can I have 1 box with 2 NICs and 2 hostnames?
From: Kev (farleyflemin_at_hotmail.com)
Date: 10/23/03
- Next message: SemiSonic: "Samba's message command"
- Previous message: Leon The Peon: "Re: binding to network interface ?"
- In reply to: Kev: "can I have 1 box with 2 NICs and 2 hostnames?"
- Next in thread: W Cardwell: "Re: can I have 1 box with 2 NICs and 2 hostnames?"
- Reply: W Cardwell: "Re: can I have 1 box with 2 NICs and 2 hostnames?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: SemiSonic: "Samba's message command"
- Previous message: Leon The Peon: "Re: binding to network interface ?"
- In reply to: Kev: "can I have 1 box with 2 NICs and 2 hostnames?"
- Next in thread: W Cardwell: "Re: can I have 1 box with 2 NICs and 2 hostnames?"
- Reply: W Cardwell: "Re: can I have 1 box with 2 NICs and 2 hostnames?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|