Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can ping from host to pix interfaces but no to the world.Why?

Status
Not open for further replies.

arturd

Technical User
Apr 19, 2005
3
PL
Hi I'm new in PIX and this forum so please be patience:)

I have a network like:


WORLD
|
(out.-X.X.X.X)
(router)
(ins.-192.168.20.1/24)
|
(out.-192.168.20.219/24)
(PIX - 501)
(ins.-10.1.1.1/24)
|
---------------------
| |
10.1.1.11/24 10.1.1.12/24
(host1) (host2)

This is a test configuration but still not working:
On PIX configuration is:
PIX Version 6.3(4)
interface ethernet0 10baset
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pix-abas
domain-name abas.pl
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list inside_in permit tcp 10.1.1.0 255.255.255.0 any
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.20.219 255.255.255.0
ip address inside 10.1.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
nat (inside) 1 10.1.1.0 255.255.255.0 0 0
access-group inside_in in interface inside
route outside 0.0.0.0 0.0.0.0 192.168.20.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.1.1.10 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80

After:
pix-abas(config)# sh nat
nat (inside) 1 10.1.1.0 255.255.255.0 0 0

pix-abas(config)# sh xlate
0 in use, 0 most used


I can ping from host1 & host2 to pix inside int. 10.1.1.1
I can ping fron pix to host1 and host2
I can ping from pix to router gw. 192.168.20.1
I can ping from pix to World (e.g.212.77.100.101)
I can ping from router 192.168.20.1 to pix outside int. 192.168.20.219
I CAN'T PING FROM HOST1 AND HOST2 TO WORLD!! WHY!?
Why there is no connection from inside host1 & 2 even to 192.168.20.1 ?

Please help me with that!! :)
 
for the NAT [id] statement, u need another global [id] statement to take effect. So i think you miss out :

global (outside) 1 interface
(this will translate the internal ip to pix outside interface ip , which is 192.168.20.219)

also you need to add this :
access-list outside_in permit icmp any any
access-group outside_in in interface outside
(this will enable the echo-reply traffic to come back)
 
Thanx :))
I wrote in pix:

global (outside) 1 interface
static (inside, outside) 192.168.20.0 10.1.1.0 netmask 255.255.255.0

and it works:))

Once again thx!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top