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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco PIX 501 routing issue 2

Status
Not open for further replies.

vlad1slav

Programmer
Nov 10, 2002
10
GB
I have the following network set-up:
The network is working fine and so is the ADSL (ZyXEL) modem, the only problem I have at the moment is getting the PIX to forward the packets to the ADSL modem. I have spent 2 days trying to find relevant chapters in the Cisco Documentation (which I think is very poor) and have searched the web through Google. I’ve tried adding in static routes to forward the packets to the modem, but I get an error saying that the route already exists. I haven’t made any changes to the default configuration apart from adding the external interface and assigning it the IP address of 192.168.0.10 / 255.255.255.0.

Any help on this issue would be appreciated including any information on relevant documentation chapters.

Regards,

VV
 
If you post your config maybe someone can spot the problem and help you resolve this

From what you describe and your diag. i would say there is no route in the pix to the ADSL modem.

do you have a route (outside) statement?

route (outside) 0 0 XXX.XXX.XXX.XXX <- the ip of the DSL Gateway

if i was you i would disable NAT on the ADSL box (bridge it) and do NAT on the PIX, give the outside interface a public IP this will give better remote access to the pix and simplify VPN and static configurations.

hope this helps


also i was in your boat and found this forum and a book (Cisco Secure PIX Firewalls ISBN # 1-58705-035-8)to be all the help i needed
Brock D. Mowry,MCP
Hardware Specialist
iNECTA LLC
Miami, Fl
 
Brock,

Thanks for your advice, I've made the changes you have recomended, but I'm still not having any luck. NAT is disabled on the ADSL modem. I think it is enabled on the PIX, but I am not sure.

I know my ADSL modem is configured correctly as I have this setup working with a Watchguard firewall, but I'm having trouble getting the PIX to work.

Here is my config file:

PIX Version 6.1(4)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name ciscopix.com
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
name 192.168.0.0 Outside
pager lines 24
interface ethernet0 10baset
interface ethernet1 10full
mtu outside 1500
mtu inside 1500
ip address outside 192.168.0.10 255.255.255.0
ip address inside 192.168.1.5 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 192.168.0.5 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 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 RADIUS protocol radius
http server enable
http 192.168.1.0 255.255.255.0 inside
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
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:eb0a4559892a1659d1bf307395d11b60
: end


I will order the book you have recomended from Amazon, but in the mean time I need to get this working.

Regards,

VV
 
I can't ping 192.168.0.5

How can I remove the 'name 192.168.0.0 Outside' line?

I really appreciate your help on this, slowly it's all starting to mase sense.
 
another stupid question you have a crossover cable connecting the pix with the aDSL
you have link lights ??
have you tried a stright through cable? Brock D. Mowry
Hardware Specialist
 
Correction,

I can ping 192.168.0.5 (me being stupid with the wiring for a moment...) from the firewall

But I can't ping 192.168.0.5 from any of the workstations
 
thats fine you have icmp disabled thats why you can't ping anything on the outside of the pix and the pix it's self
you should be able to surf now

to enable ping responce you need an access list to allow the ping back to your computer

enter this
access-list 100 permit icmp any any

access-group 100 in interface outside Brock D. Mowry
Hardware Specialist
 
I have applied the changes.

I can ping the PIX(192.168.1.5) from the workstation(192.168.1.253), I can ping 192.168.0.5 from the PIX(192.168.1.5), but I can't ping 192.168.0.5 from the workstation and I can't surf the net.

Here is my config file as it stands at the moment:

PIX Version 6.1(4)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name ciscopix.com
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
name 192.168.1.0 insidenet
access-list 100 permit icmp any any
pager lines 24
interface ethernet0 10baset
interface ethernet1 10full
mtu outside 1500
mtu inside 1500
ip address outside 192.168.0.10 255.255.255.0
ip address inside 192.168.1.5 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 0.0.0.0 0.0.0.0 0 0
access-group 100 in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.0.5 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 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 RADIUS protocol radius
http server enable
http insidenet 255.255.255.0 inside
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
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:4c4ea08307e3067baa7b52da5fbfc611
: end
 
I've powercylced the PIX a few times but the situation remains the same.

I can ping the PIX from the workstation, I can ping the ADSL modem (192.168.0.5) from the PIX, I can ping the outsite world (eg. 80.79.XX.XX) from the PIX but I can't browse the web from the workstation.

I think we're very close to cracking this one... I really appreciate your help!
 
I don´t know wether i am right but try to add

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

Don´t know whether it helps
 
Everything is working now.

Thanks iiiiss and br0ck.

Now I've got the basic setup working I can spend time reading the books / forums and getting the rest of the setup complete.

Once again thanks for all your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top