Routing multiple public IPs to multiple internal networks

Discussion in 'Linux Networking' started by epid, Aug 3, 2006.

  1. epid

    epid Guest

    Here is the situation:

    We are going to be getting an internet connection with a /28 block of
    public IPs. What I would like to do is be able to filter all of the
    traffic through one Router/Firewall box so I can do filtering, QoS,
    bandwidth monitoring, etc. and give a public IP to a series of Linksys
    routers for different tenants in the building. I am not quite sure how
    to setup the IPs since I have only had experience with 1 public IP and
    NAT in the past. I have tentatively come up with this setup but I
    wanted to run it by someone more knowledgable than myself before
    ordering the equipment and deploying everything. Here is a diagram to
    help clarify:
    +----------------+
    | ISP Router |
    | x.y.z.225/28 |
    +----------------+
    |
    |
    |
    +-----------------+
    | x.y.z.226/28 |
    | Router/Firewall |
    | x.y.z.227/28 |
    +-----------------+
    |
    |
    |
    +------------------+
    | Switch |
    +------------------+
    | |
    | |
    | |
    +------------+ +------------+
    |x.y.z.228/28| |x.y.z.229/28|
    | Linksys | | Linksys |
    +------------+ +------------+
    | | | | | | | | | | | |
    | | | | | | | | | | | |
    Private Private
    Network Network

    Would this addressing scheme work? I thought about subdividing the
    subnet but I don't want to lose IPs in the process and it seems like it
    would unnecessarily complicate things.

    Thanks in advance!
     
    epid, Aug 3, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.