Fw: second subnet in the same ethernet
Panagiotis Malakoudis
pmal at space.gr
Thu Jun 28 11:53:01 EEST 2001
Pleon to RIPE exei egkatalipsei tin enoia tou Class A, B klp
To scheme pou xrisimopoieite einai to CIDR. Vasi aytou kane oti theleis
me ta subnet sou.
Ase pou einai volikotero gia tou users (xoris to L gia na min
ektethoume) na thomountai san ip tou mail server mia 10.10.10.10 apo mia
253.248.112.45
Ayto pou fantazome pos thelei na kanei o Spyros einai na energopiisei ip
aliasing support ston kernel (2.2.x) kai na valei mia deyteri ip stin
ethernet tou xrisimopoiontas subinterfaces.
Vlepe kernel help...
Linux Kernel v2.2.19 Configuration
IP: aliasing
support
CONFIG_IP_ALIAS:
Sometimes it is useful to give several IP addresses to a
single
physical network interface (serial port or Ethernet card). The
most
common case is that you want to serve different WWW or ftp
documents
to the outside depending on which of your host names was used
to
connect to you. This is called "multihosting" or "virtual
domains"
or "virtual hosting services" and is explained in detail on the
WWW
at http://www.thesphere.com/~dlp/TwoServers/ (to browse the WWW,
you
need to have access to a machine on the Internet that has a
program
like lynx or netscape) and also in the
Virtual-Services-HOWTO,
available via FTP (user: anonymous)
from
ftp://metalab.unc.edu/pub/Linux/docs/HOWTO.
Another scenario would be that there are two logical networks
living
on your local Ethernet and you want to access them both with
the
same Ethernet card. This can also be done if you say Y
here.
The configuration of these alias addresses is done with a
special
name syntax explained in Documentation/networking/alias.txt and
in
the IP-Alias mini-HOWTO. If you want this, say Y. Most people
don't
need it and say
N.
Haris Koutsouris wrote:
>
> ----- Original Message -----
> From: "Haris Koutsouris" <harisk at epmhs.gr>
> To: "Spyros Dimas" <Spyros.Dimas at liaison.gr>
> Sent: Thursday, June 28, 2001 11:06 AM
> Subject: Re: second subnet in the same ethernet
>
> > Μήπως θα ήταν ποιο λογικό να ανοίξεις λίγο την μάσκα σου και να
> τελειώνεις;
> > Αντί να διπλοπερνάς τα πακέτα στο καλώδιο;
> > Άσε που φαίνεται λίγο άρρωστο να κάνεις subnetting ένα Class A δίκτυο για
> να
> > το κάνεις shared media....
> > Βέβαια όλα αυτά χωρίς να ξέρω την εσωτερική σου τοπολογία που μπορεί να το
> > δικαιολογεί....
> >
> >
> > ----- Original Message -----
> > From: "Spyros Dimas" <Spyros.Dimas at liaison.gr>
> > To: "Christos Ricudis" <ricudis at paiko.gr>
> > Cc: "Linux Greek Users Mailing List" <linux-greek-users at hellug.gr>
> > Sent: Thursday, June 28, 2001 10:16 AM
> > Subject: Re: second subnet in the same ethernet
> >
> >
> > > Kalimera!
> > >
> > > > The clean solution 8a htan na baleis ena deytero IP 10.1.1.1 sto
> > gateway.
> > >
> > > Akribos auto thelo na kano. Mipos kserete pos ginete?
> > >
> > >
> > > On Wednesday 27 June 2001 19:57, you wrote:
> > > > Hello Spyros!
> > > >
> > > > On 27 Jun 01, Spyros Dimas wrote to All with subject "second subnet
> in
> > > > the same ethernet":
> > > >
> > > > SD> Mipos kserei kapoios pos mporo na prostheso ena subnet stin idia
> > > > SD> ethernet? Diladi, exo ena subnet 10.0.0.x toopoio exei gateway
> ton
> > > > server SD> me ip 10.0.0.1 kai tora apoktisa ena neo me diaforetiki
> > address
> > > > SD> 10.1.1.x. Thelo kai to neo subnet na exei gateway to 10.0.0.1. SD>
> > Ta
> > > > subnets einai sto idio hub.
> > > >
> > > > The clean solution 8a htan na baleis ena deytero IP 10.1.1.1 sto
> > gateway.
> > > >
> > > > Mporeis bebaia na baleis ena host route pros to 10.0.0.1 mesw toy
> local
> > > > interface sto 10.1.1.x kai meta ena default route pros to 10.0.0.1,
> alla
> > > > mhn to kaneis - to anaferw mono kai mono mpas kai kataferw na
> prokalesw
> > > > egkefaliko se kanena network administrator poy 8a diabazei katala8os
> th
> > > > lista.
> > > >
> > > > --
> > > > Christos Ricudis
> > > >
> > > > In God we trust.
> > > > All others must present a valid X.509 certificate.
> > > >
> > > > --
> > > > linux-greek-users mailing list -- http://lists.hellug.gr
> > >
> > > --
> > > ___________________
> > > Liaison Systems SA
> > > 77, Acadimias 10678
> > > Athens - Greece
> > > http://www.liaison.gr
> > >
> > > --
> > > linux-greek-users mailing list -- http://lists.hellug.gr
> > >
> >
--
Panagiotis Malakoudis - Systems Administrator
Technical Division
Space Hellas Group of Companies
Voice: +30 1 6504100
More information about the Linux-greek-users
mailing list