Re: Cisco PIX 501: Can't ping global IP-Adress from NATed IP



Thank you so much!
Today I searched for your name in this newsgroup.
I was really astonished: you answered me even though the same questions have been asking all the time!
I owe you one, since I got no further questions atm ;)

Am 06.05.2006, 18:17 Uhr, schrieb Walter Roberson <roberson@xxxxxxxxxxxx>:

In article <op.s84lsmcg7mx1hz@localhost>,
Michael Schuberl <cisco_pix@xxxxxxxx> wrote:
Am 05.05.2006, 11:41 Uhr, schrieb Walter Roberson <roberson@xxxxxxxxxxxx>:
Have the internal DNS server hand out the internal address, and
on the 'static' statement for the server, add the 'dns' keyword. Then
when -external- hosts do a query, the PIX will translate the
internal IP to the external IP as the DNS response goes out of the
network.

So there is no need for that alias-command?!

The alias command is deprecated, and not supported by PDM, and
is gone in 7.x.


If the software can be configured to use the internal IPs for the
servers, then configure the DNS and static as noted above and everything
will be fine. [If the software is also used from outside your LAN,
then configure the external hosts to use the public IP.]

Ok, thanks a lot for the advise, I will try to configure the DNS as
supposed by you.
Due to the fact that I've never done anything with DNS I've got the
following (newbie?!) question:
how to tell the outside clients to use my internal DNS-server to lookup
the names, rather then the DNSserver located outside? Do I have to
configure that outside server to foreward lookups for my subnet to my
internal dns then?!

Configure the external DNS with the public IPs, and the internal
DNS with the internal IPs, and point either kind of client to either.
The 'dns' keyword on the 'static' command works both ways: if your
internal users fetch a public IP from an external DNS server then it
gets translated to the internal IP on its way in, and if your external
users fetch a private IP from the internal DNS server then it gets
translated to the external [public] IP on its way out.


The PIX 501 is fine with using the same address internally and
externally.
The catch is that the two interfaces cannot have the same IP subnet,
so the external interface must be part of a different subnet and
your WAN router must route the public range to to the IP address
of the external interface.

Ok, I understood that. Leaves the question open why the PIX forces this
behaviour. Maybe for security reasons...

No, it's a simple matter of routing. PIX in general can have
more than 2 interfaces. If your internal and external interfaces had
the same IP subnet, then if a packet came from one of the DMZ interfaces
then the PIX wouldn't know which interface to send it towards.
Yes, I am with you. Seems resonable and I don't know why that did not get to my mind in the first place.
*note to self: improve abstract thinking*


Recall that your WAN router is going to have to be in the same subnet
as your PIX outside interface IP, and your LAN router is going to have
to be in the same subnet as your PIX inside interface IP, so if your
inside and outside IP ranges were the same, packets from the DMZ could
potentially have to go to the inside or outside for the same destination
IP subnet. In order to manage that kind of situation, you would have
to explicitly designate, IP by IP, which ones in the subnet were
internal and which were external. It's theoretically possible, yes,
and might be practical for a small number of IPs, but it is a situation
that doesn't scale at all well. Now imagine if the way that the IPs
were assigned was via an external DHCP server [since, after all,
hypothetically everything is on the same subnet, you are going to
expect to be able to DHCP into that subnet via an external server,
right?] -- you can see how ugly the management of which IP is
internal or external would become. Much easier to work based upon
subnets: those scale reasonably well in most environments.

People keep saying, "The PIX isn't a router!", but routing is
crucial to the operation of the PIX [at least up through 6.x].
Very nearly the first thing that the PIX does with a packet is to
look up the routing information and extract the destination interface.
Then it uses the source and destination interface information to check
for an active translation (or to build a new translation), and it isn't
until after that that it checks the ACLs.

You're right, during my first search for guides to the PiX, I found several articles pretending that "the PiX isn't a router". But obviously it works on OSI-layer3 and therefor has what I would call "routing features"...

Thanks for your help!



--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
.



Relevant Pages

  • Re: Cisco PIX 501: Cant ping global IP-Adress from NATed IP
    ... on the 'static' statement for the server, add the 'dns' keyword. ... of the external interface. ... PIX in general can have ...
    (comp.dcom.sys.cisco)
  • Re: ISA 2004 Routing
    ... goes from the interface where you receive the packet to the interface on ... your network where you want the packet to go. ... > connected to my PIX. ... > I have one NIC setup in the 192.168.1.0 subnet and another NIC setup on ...
    (microsoft.public.isaserver)
  • Re: PIX 501 Firewall and DNS
    ... > Matt - Our DNS is configured EXACTLY as you said it should be below. ... > All workstations used to point happily to the DC, ... You mentioned that on the PIX, I would need to permit DNS ... interface to a lower security interface (outside ...
    (comp.security.firewalls)
  • Re: changing pix internal address
    ... I have rewritten the config file to reflect what I feel the configuration should look like. ... I cant just ditch the .1 subnet, I got printers workstations, other routers and servers stuck in there. ... :I want to reconfigure the pix to be on 192.168.41.x but not cause ... :can I bind two addresses to the pix internal interface as an intrim ...
    (comp.dcom.sys.cisco)
  • Changed Inside IP subnet on PIX 501, cant VPN to PIX 515
    ... So I have a PIX 501 that I configured to use the 10.14.0.0/16 subnet. ... Outside Interface is DHCP, ComCast Internet ... Outside interface it DHCP/PPPoE, AT&T DSL Internet ...
    (comp.dcom.sys.cisco)