🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #2902

Re: Configuring linux to be in 2 domains simultaneously

#2902
From: John Phillips
Date: Fri, 26 Apr 1996 00:00
22 lines
1544 bytes
jono@acme.demon.co.uk (Jonathan Nicholson) writes:

>My linux machine can be connected to one of 2 networks (not both at the 
>same time) 

>What I'd like to know is whether it is possible to set the machine up so 
>that it will respond correctly in both domains.

>It has 2 IP addresses, 2 Names, 2 Default routes etc.. depending on which 
>network it's connected to!

I haven't tried it but I suspect all you need to do is have both names
in /etc/hosts but otherwise confine the ISP-specific things to two
diffferent chat or dip scripts.  Then you will need to switch between
two different /etc/resolv.conf files for different nameservers depending
on the start-up script you call (one per ISP).

You might also (optionally) want to simultaneously install and configure
two independent dummy interface modules for the two IP addresses.
-- 
John Phillips          john@linux.demon.co.uk
Technical Details
Message-ID: <DqHqLt.LBz@linux.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4lpuer$15n@acme.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10669a,4123b36b794a3ad5
X-Google-Attributes: gid10669a,public
X-Google-Thread: fac57,4123b36b794a3ad5
X-Google-Attributes: gidfac57,public
From: John Phillips <john@linux.demon.co.uk>
Subject: Re: Configuring linux to be in 2 domains simultaneously
Date: 1996/04/26
Message-ID: <DqHqLt.LBz@linux.demon.co.uk>
X-Deja-AN: 151689897
x-mail2news-path: relay-4.mail.demon.net!post.demon.co.uk!linux.demon.co.uk
x-nntp-posting-host: linux.demon.co.uk
references: <4lpuer$15n@acme.demon.co.uk>
organization: JaleX
newsgroups: demon.tech.unix,comp.os.linux.networking