problem involving NAT and PAT

Discussion in 'Cisco' started by Ionut, Jul 30, 2004.

  1. Ionut

    Ionut Guest

    I have a Cisco 2651 xm router with 2 interfaces. First, the external,
    mapped to the ip address allocated by the provider, corresponding to
    my domain, let's say The other one, internal, with an ip of My LAN has addressess in the pool I have also
    an web server with ip
    I use NAT on the router for the to be able to access
    internet and it works fine. I also have a port forwarding rule to
    allow people from internet to visit my web site ( is
    forwarded to and it also works fine. The only problem is
    that I can't access the web server if I am in the LAN (address for example). If i try to open it fails.
    But if I connect directly to the web server (open it
    also works. I can put an alias in hosts.txt on my local computer or
    make an internal name server to tell me that has the IP but is there a possibility to solve it obly with some
    configuration on the router?

    I know it has to make a double transformation to the packets (for
    example a packet originating from -> should
    be transformed by the router into a packet like -> ) and I don't know if this is possible in the IOS
    Ionut, Jul 30, 2004
    1. Advertisements

  2. Ionut

    PES Guest

    If you can do a one to one nat instead of a port address translation it will
    work if the dns server for is on the outside. This is basically
    because if nat sees a one to one translation for an IP address that is in
    the translation table it will translate the dns response to the internal
    counterpart. In a port forwarding or pat scenario, this is not the case.
    PES, Jul 31, 2004
    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.