[NTLUG:Discuss] routing concept

terry trryhend at gmail.com
Sat Mar 1 08:12:26 CST 2008


On Fri, Feb 29, 2008 at 4:03 PM, Richard <ntlug at rain4us.net> wrote:
> I'm struggling with a routing concept and I'm wondering what the best
> way to implement this would be.
>
> I have an internet connection that has been assigned a SINGLE ip address
> with a class C addreses.   Then I have a /29 subnet being routed TO that
> single ip address on the class C subnet.
>
> I understand TCPIP routing, but for some reason I just can't put 2+2
> together in this case.  I have no idea how I'm supposed to bind and
> route these IP addresses.  Do just bind the ip addresses of the routed
> subnet onto the same interface through which the subnet will route???
>
> Oh...and I'm using iproute2 extensively on this box to do some
> dead-gateway-detection between two different internet connections.
>
> --
> Richard
>

You need to give a little more detail or explain in a different way
for  us to understand more clearly.

If you plan to use no servers at this time and only need one outside
IP [for now], just set up on  one IP and use the default gw route and
your done.

But if what you are saying is that you have a block of outside IPs and
you need to use them, just set up your machine with one of the
designated IPs and use alias's for the others.

If you plan to use a router, set up the asias's on the router and have
it allow certailn inside IPs to use the outside IPs as needed.  In
other words set the router to allow your various inside host IPs to
use outside IPs as needed.

If  you are building your own router and want an easy go of it, try
IPCop    See:  ipcop.org
With an IPCop router, you simply set up an alias and then go to Port
Forwarding and have a particular inside IP use that outside alais IP
and forward ports as needed.



-- 
                  <><



More information about the Discuss mailing list