Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Confused with NAT 0

Confused with NAT. Here is the layout of the network connections.

ROUTER

x.200.242.2

|

|

|

PIX E0- x.200.242.254 /24

E1- x.200.243.1 /24

|

|

|

PC x.200.243.200 /24 Def.G. – x.200.243.1

I am trying to send x.200.243.200 /24 network through PIX without using NAT, but with its own IP addressing scheme. However, it does not work. Here is the PIX config:

PIX Version 6.1(4)

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password 0yzyeK6qCrOsXd7D encrypted

passwd t0cqr.QKcgJxDkuB encrypted

hostname pix

domain-name weber.edu

fixup protocol ftp 21

fixup protocol http 80

fixup protocol h323 1720

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol sip 5060

fixup protocol skinny 2000

names

access-list no-nat permit ip host x.200.243.200 any

pager lines 24

logging on

interface ethernet0 10baset

interface ethernet1 10baset

mtu outside 1500

mtu inside 1500

ip address outside x.200.242.254 255.255.255.0

ip address inside x.200.243.1 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

no failover

failover timeout 0:00:00

failover poll 15

failover ip address outside 0.0.0.0

failover ip address outside 0.0.0.0

pdm history enable

arp timeout 14400

nat (inside) 0 access-list no-nat

nat (inside) 0 x.200.243.0 255.255.255.0 0 0

route outside 0.0.0.0 0.0.0.0 x.200.242.2 1

timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 si

p 0:30:00 sip_media 0:02:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server RADIUS protocol radius

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

no sysopt route dnat

telnet timeout 5

ssh timeout 5

terminal width 80

Cryptochecksum:20fd833336285ca39c8c6a05be7eed62

User 243.200 can not pass through PIX. Any help appreciated

3 REPLIES
Community Member

Re: Confused with NAT 0

try adding this static

static (inside,outside) x.200.243.0 x.200.243.0 netmask 255.255.255.0 0 1000

this sets your internal subnet virtualy outside the firewall. Then if you write acl you have a public IP to point to. No acl no access. Consider going private.

MS

Community Member

Re: Confused with NAT 0

try adding this static

static (inside,outside) x.200.243.0 x.200.243.0 netmask 255.255.255.0 0 1000

this sets your internal subnet virtually outside the firewall. Then if you write acl you have a public IP to point to. No acl no access. Consider going private.

MS

Community Member

Re: Confused with NAT 0

Thanks Mike.

I found what my problem was. Routing table outside of PIX. Daaa? I asked myself, how would any packet know return path to its originating network 243. So I added a static route to 243 network and it all works fine.

Now, this was a testing config. What I really need is to put network 242 behind firewall.

How do I do that?

PIX does not allow me to assign same subnet IPs to both interfaces. And I would like for

e0 to be 242.254

e1 to be 242.1

and have all users point to 242.1 as their def. gateway.

Any suggestions ?

102
Views
0
Helpful
3
Replies
CreatePlease to create content