Question Locked

Cisco PIX 506E Firewall Routing & Setup Issue

0 helpful
22 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi everyone,

I have an environment where the current setup is the following:

ISP->Linksys 5 port switch->Cisco PIX506E->3COM SuperStack 3 (3C16465C)->devices

The only reason the Linksys 5port switch is in the picture is that there 2 more 3COM switches being used at one point. I want to remove the Linksys out of the picture and connect directly to the T1 device. My problem is that once it is removed from the middle, I cannot ping the outside world. LAN network pings and responds fine, but no WAN connectivity. I have a feeling the routing inside the PIX isn't correct but I'm not sure exactly what to change so that it routes correctly without the Linksys switch.

****Here is the current config****

PIX Version 6.3(5)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password Mjo5gnCJK0XdI16A encrypted
passwd 2KFQnbNIdI.2HLKU encrypted
hostname pix
clock timezone EST -5
clock summer-time EDT recurring
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 pptp 1723
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
no fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list nonat permit ip 10.2.246.0 255.255.255.0 10.10.10.0 255.255.255.0
access-list outsideinbound permit tcp any host 216.178.82.148 eq 3389
access-list outsideinbound permit tcp any host 216.178.82.149 eq www
access-list outsideinbound permit tcp any host 216.178.82.149 eq smtp
access-list outsideinbound permit tcp any host 216.178.82.149 eq https
access-list outsideinbound permit tcp any host 216.178.82.149 eq ftp
access-list outsideinbound permit tcp any host 216.178.82.149 eq pop3
pager lines 24
icmp permit any outside
mtu outside 1500
mtu inside 1500
ip address outside 216.178.82.147 255.255.255.240
ip address inside 10.2.246.199 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool vpnpool 10.10.10.1-10.10.10.10
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 216.178.82.148 10.2.246.201 netmask 255.255.255.255 0 0
static (inside,outside) 216.178.82.149 10.2.246.203 netmask 255.255.255.255 0 0
access-group outsideinbound in interface outside
route outside 0.0.0.0 0.0.0.0 216.178.82.145 1
timeout xlate 0:05: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 sip-disconnect 0:02:00 sip-invite 0:03: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 RADIUS (inside) host 10.2.246.201 myvpn timeout 10
aaa-server LOCAL protocol local
http server enable
http 10.2.246.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
no snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-pptp
telnet 10.2.246.0 255.255.255.0 inside
telnet timeout 30
ssh timeout 5
console timeout 0
vpdn group vpn1 accept dialin pptp
vpdn group vpn1 ppp authentication chap
vpdn group vpn1 ppp authentication mschap
vpdn group vpn1 ppp encryption mppe 128 required
vpdn group vpn1 client configuration address local vpnpool
vpdn group vpn1 client configuration dns 10.2.246.102 10.2.246.201
vpdn group vpn1 client authentication aaa RADIUS
vpdn group vpn1 client accounting RADIUS
vpdn group vpn1 pptp echo 60
vpdn enable outside
dhcpd lease 3600
dhcpd ping_timeout 750
terminal width 80
: end

Thanks in advance.

22 replies

by Former member

Clarifications

by netman1958

on the Linksys and post back with the IP Address and subnet mask in use on it's outside(WAN) interface.

by cg it

consumer level switches?

A L2 device,theoretically, only creates collision domains, not broadcast domains, therefore should not effect internet connectivity. The PIX would be your L3 device and create the broadcast domain between your ISP and your network.

by netman1958

After reading CG IT's response above, I just realized that you said the Linksys device is a 5 port switch. Is it really just a switch or is it also a router? Either way, What kind of device does it connect to on the ISP side? Does it connect to another router or an IAD or what?

by cg it

in which case, if he gets rid of it, the PIX fireall then has to do PAT and possibly Dynamic DNS.

But if it's really a switch, then it shouldn't affect network connectivity because the PIX performs PAT and it's WAN port connects to his ISP.

by netman1958

According to the config he posted, the PIX is performing NAT. The PIX has:
ip address outside 216.178.82.147 255.255.255.240
configured. The PIX can't connect to a raw T1 so there has to be some kind of router/IAD between the T1 handoff and the PIX. So, assuming the Linksys is that router, it has an IP address on it's outside interface that is on a different subnet than his allocated subnet (216.178.82.144 255.255.255.240). His ISP's routing tables are configured to route all traffic to his subnet (216.178.82.144 255.255.255.240) via that IP that is on the router's outside interface. So, assuming the Linksys is indeed that router, by removing it, there is no way for the ISP to get traffic to his subnet.

Otherwise, if the Linksys is a pure layer 2 device, then like you said before, removing it wouldn't affect routing. If the Linksys is just a switch and him removing it is causing him a problem, it could be that the linksys has auto-mdix ports where the PIX doesn't and he may need a cross-over cable to uplink the PIX to the other device.

What do you think?

by cg it

It's possible that there is a L3 device that isn't a firewall that is the DTE for the T1 and doesn't provide PAT.

Need more information

by Former member

Thanks for the quick responses guys. I need to clarify a few more things in this environment. The Linksys device model is EZXS55W, just a layer 2 switch. I even replaced it with another layer 2 switch and everything continue to work fine.

The T1 connection comes off of a device labeled ADTRAN 600, which now seems like the layer 3 device performing the routing. If this is the case, I'm assuming the device belongs to the T1 provider which in this situation is NetCarrier. How would I go about getting into the device and checking out the config?

Just to throw it out here, I eventually plan on replacing all the networking devices in a few weeks. A friend suggested looking into the following:

HP ProCurve 2910al-48G-PoE+ Switch (J9148A)
Vyatta 2502 Router (I'm not sure whether or not I need this Vyatta router if the HP Procurve is both a Layer2 & Layer3 switch)

My ultimate goal is to bring in a T3 or DS3 line and provide hosting for several different organizations. What do you guys think?

by cg it

and not effect internet connectivity. A simple L2 device doesn't do anything but forwards packets to hosts.

As far as being a provider, the performance specs such as bandwidth requirements, availability requirements, even cost requirments, etc will determine what equipment is required to meet the goals.

by Former member

When I remove the L2 switch, I'm still having an issue routing outside so there is something else that is performing the L3 routing.

The only thing I can think of is the ADTRAN 600 device. Does anything in the PIX config jump out as abnormal?

I thought maybe this line could be an issue:

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

I tried changing to this but no luck:

nat (inside) 1 10.2.246.0 255.255.255.0 0 0

by netman1958

take the linksys out of the mix and connect the PIX to the ADTRAN. Then log into the PIX and run this command:
"show interface ethernet0"
Then post the output.

by Former member

mypix# show interface ethernet0
interface ethernet0 "outside" is up, line protocol is down
Hardware is i82559 ethernet, address is 0015.fa99.5877
IP address 216.178.82.147, subnet mask 255.255.255.240
MTU 1500 bytes, BW 100000 Kbit full duplex
848137 packets input, 924645239 bytes, 0 no buffer
Received 1391 broadcasts, 179 runts, 0 giants
185 input errors, 5 CRC, 1 frame, 0 overrun, 5 ignored, 0 abort
684214 packets output, 174613179 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collisions, 0 deferred
0 lost carrier, 0 no carrier
input queue (curr/max blocks): hardware (128/128) software (0/2)
output queue (curr/max blocks): hardware (0/6) software (0/1)

The network is extremely slow, how do I tell where the bottleneck is?

by cg it

directly connecting 2 devices together. The Adtran ethernet port probably isn't auto MDIX.

humm I'd like to see a show controllers output for all interfaces.

by cg it

it's hard to say.

If the Adtran does NAT that the PIX doesn't need to.

If the Adtran does all the routing functions, then the PIX doesn't have to. The PIX simply provides access control.

by netman1958

and furthermore as CG IT has stated, removing the layer 2 device will have no effect on routing. When you remove the Linksys, do you connect the WAN interface on the PIX to the Ethernet port on the ADTRAN ? If so, do you get a link light on the ADTRAN and the PIX? What kind of cable are you using to connect the ADTRAN and PIX? Is it a straight or cross-over cable?

by netman1958

From your output of the show interface command:
interface ethernet0 "outside" is up, line protocol is down

The line protocol is down. login to the PIX, go into config mode and run this command:
"clear interface"

Then wait a few minutes and run the "show interface ethernet0" command again. Post back the results.

I think we are dealing with a speed/duplex mismatch between the PIX and the ADTRAN.

by Former member

Tried to run this command: clear interface

but the line is still down when I did a show interface ethernet0

Any other thoughts?

by netman1958

Akuril,

That command wouldn't bring the line back up...it just resets the statistics shown when you run the "show interface ethernet0" command. Could you post the output from that command?

Here is what we need to do:
(1) In an earlier post, you mentioned changing one of the nat commands. If you haven't already done so, put it back to the original command as it was correct.
(2) Go into config mode and run command "interface ethernet0 10baseT", the run the "show interface ethernet0" command to see if the line protocol shows up.
(3) If the line protocol still doesn't show it's up, run this command " interface ethernet0 auto" then recheck the line protocol.
(4) If the line protocol still doesn't come up, examine the cable connecting the ADTRAN to the PIX to determine if it's a straight or crossover cable. Let me know if you need help with that.

by Former member

Netman1958 pointed out that it could be a speed mismatch problem since the PIX config is set to 100full & the ADTRAN device only support 10full.

If it were a speed mismatch issue, would removing the switch & changing the PIX config to 10full work?

Is the crossover required between ADTRAN -> PIX?

by cg it

then the PIX ethernet port needs to be set for autosensing.

unless you use a switch, you can not directly connect two devices. You might try a crossover. I think that might solve the problem.

by Former member

Thank you CG IT & Netman1958 for the feedback and support. I was able to connect the ADTRAN -> PIX 506E with a crossover cable. The linksys 10/100 switch (which is Auto MDIX), is no longer in the middle.

This discussion is closed to new replies.