Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Nov 96 00:22:56 +1100
From:      mikel@sales.net.au
To:        freebsd-isp@freebsd.org
Subject:   Subnets and virtual IP
Message-ID:  <199610311322.AAA00319@esimene.cynet.net.au>

next in thread | raw e-mail | index | archive | help
G'Day all,

After successfully configuring virtual services (thanks to this list) I am
running out of IPs in my current subnet.

I have a single class C split 4 ways with 255.255.255.192 designated for
this type of usage.

Network 1 currently contains all the ISP hosts as well as our local LAN
hosts.  Network 1 also has our Livingston Portmaster (203.24.16.2) that is
acting as the primary gateway for that subnet.  The server that is hosting
the virtual stuff is 203.24.16.1, all virtual servers are currently also
located in this subnet, this server has only one ethernet card, ed0.

Network 2 has been allocated as a .192 subnet to a client's LAN running
our of a serial port on the Livingston

Network 3 has been allocated as a to another client through another serial
port on the Livingston

Network 4 is currently unused and I would like to use it to host the
virtual domain IP alias addresses.


Now... as I am spanning subnets, a simple:

ifconfig ed0 alias 203.24.16.200 netmask 255.255.255.255

will not work as I won't be able to route to it as no default route has
been added from this subnet (.0) to that subnet (.192)

The question is.  What do I need to do to tell the FreeBSD 2.1.5 box (on
203.24.16.1) that it's virtual hosts are on network 192 and are all on
it's one ethernet card

I have not got gated and routed coinfigured on the 2.1.5 machine as the
Livingston to this point has provided all routing and gateway functions.

Regards,

Mikel

-- 
-----------------------------------------------------------
Mikel Lindsaar        |  "The dream is the foundation,
mikel@cynet.net.au    |        of our society!" 
-----------------------------------------------------------
Cynet!  The Business ISP!        http://www.cynet.net.au/
Hardly Normal Internet Sales!        http://sales.net.au/
-----------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610311322.AAA00319>