gecko202002
Technical User
My company is currently running on a PIX 501, which was fine but now they want to implement VLAN's which the 501 doesn't handle.
I have the router up and running with initial config, but am having problems with the VLAN.
Background - I have a layer 3 switch with my trunk ports built, and can reach the other VLAN's through it. I set the PIX as the default gateway in the layer 3 switch.
Internet access for my 192.168.1.x network is fine.When I add the VLAN statement designating ethernet1 vlan1 physical, I lose internet access.
I know I am obviously missing a crucial statement, but not really sure where. I presume it is a NAT statement but not sure how to NAT out the VLAN's vs the single interface NAT statement.I have attached my running config
Any help would be appreciated.
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
interface ethernet1 vlan1 physical
interface ehternet1 vlan2 logical
interface ethernet1 vlan3 logical
interface ethernet2 auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif vlan2 camera security50
nameif vlan3 voice security50
enable password whCaj5gTwk.HrpnR encrypted
passwd whCaj5gTwk.HrpnR encrypted
hostname pixfirewall
domain-name abc.com
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
object-group network IPSec-VPN-Pool
network-object 192.168.151.0 255.255.255.0
access-list OutsideAccessIn permit icmp any any
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq www
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq https
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 12288
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 12288
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 3356
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 3356
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1225
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 1225
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1356
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 1356
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq smtp
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq pptp
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 4500
access-list OutsideAccessIn permit udp any host 96.x.x.x eq isakmp
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 50
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 51
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 47
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 47
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1701
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 1701
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1718
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1719
access-list IPSecTrafficToVPNPool permit ip 192.168.1.0 255.255.255.0 object-group IPSec-VPN-Pool
pager lines 23
mtu outside 1500
mtu inside 1500
ip address outside 96.x.x.x eq 255.255.255.248
ip address inside 192.168.1.2 255.255.255.0
ip address camera 192.168.2.2 255.255.255.0
ip address voice 192.168.3.2 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool IPSec-VPN-Pool 192.168.151.1-192.168.151.254
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list IPSecTrafficToVPNPool
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp 96.x.x.x 255.255.255.255 0 0
static (inside,outside) tcp 96.x.x.x https 192.168.1.25 https netmask 255.255.255.255 0 0
static (inside,outside) tcp 96.x.x.x smtp 192.168.1.27 smtp netmask 255.255.255.255 100 100
access-group OutsideAccessIn in interface outside
route outside 0.0.0.0 0.0.0.0 96.x.x.x 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 LOCAL protocol local
ntp server 192.43.244.18 source outside
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set esp-aes256-sha esp-aes-256 esp-sha-hmac
crypto dynamic-map DYN-VPN-Map 10 set transform-set esp-aes256-sha
crypto map Static-Crypto-Map 10 ipsec-isakmp dynamic DYN-VPN-Map
crypto map Static-Crypto-Map interface outside
isakmp enable outside
isakmp identity address
isakmp nat-traversal 10
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes-256
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup VPN address-pool IPSec-VPN-Pool
vpngroup VPN dns-server 192.168.1.10
vpngroup VPN default-domain atrnt.com
vpngroup VPN split-tunnel IPSecTrafficToVPNPool
vpngroup VPN idle-time 1800
vpngroup VPN password ********
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
management-access inside
console timeout 0
terminal width 80
Cryptochecksum:65bc4c0e391d895f239b73672d591a8a
: end
I have the router up and running with initial config, but am having problems with the VLAN.
Background - I have a layer 3 switch with my trunk ports built, and can reach the other VLAN's through it. I set the PIX as the default gateway in the layer 3 switch.
Internet access for my 192.168.1.x network is fine.When I add the VLAN statement designating ethernet1 vlan1 physical, I lose internet access.
I know I am obviously missing a crucial statement, but not really sure where. I presume it is a NAT statement but not sure how to NAT out the VLAN's vs the single interface NAT statement.I have attached my running config
Any help would be appreciated.
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
interface ethernet1 vlan1 physical
interface ehternet1 vlan2 logical
interface ethernet1 vlan3 logical
interface ethernet2 auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif vlan2 camera security50
nameif vlan3 voice security50
enable password whCaj5gTwk.HrpnR encrypted
passwd whCaj5gTwk.HrpnR encrypted
hostname pixfirewall
domain-name abc.com
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
object-group network IPSec-VPN-Pool
network-object 192.168.151.0 255.255.255.0
access-list OutsideAccessIn permit icmp any any
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq www
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq https
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 12288
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 12288
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 3356
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 3356
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1225
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 1225
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1356
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 1356
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq smtp
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq pptp
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 4500
access-list OutsideAccessIn permit udp any host 96.x.x.x eq isakmp
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 50
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 51
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 47
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 47
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1701
access-list OutsideAccessIn permit udp any host 96.x.x.x eq 1701
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1718
access-list OutsideAccessIn permit tcp any host 96.x.x.x eq 1719
access-list IPSecTrafficToVPNPool permit ip 192.168.1.0 255.255.255.0 object-group IPSec-VPN-Pool
pager lines 23
mtu outside 1500
mtu inside 1500
ip address outside 96.x.x.x eq 255.255.255.248
ip address inside 192.168.1.2 255.255.255.0
ip address camera 192.168.2.2 255.255.255.0
ip address voice 192.168.3.2 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool IPSec-VPN-Pool 192.168.151.1-192.168.151.254
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list IPSecTrafficToVPNPool
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp 96.x.x.x 255.255.255.255 0 0
static (inside,outside) tcp 96.x.x.x https 192.168.1.25 https netmask 255.255.255.255 0 0
static (inside,outside) tcp 96.x.x.x smtp 192.168.1.27 smtp netmask 255.255.255.255 100 100
access-group OutsideAccessIn in interface outside
route outside 0.0.0.0 0.0.0.0 96.x.x.x 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 LOCAL protocol local
ntp server 192.43.244.18 source outside
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set esp-aes256-sha esp-aes-256 esp-sha-hmac
crypto dynamic-map DYN-VPN-Map 10 set transform-set esp-aes256-sha
crypto map Static-Crypto-Map 10 ipsec-isakmp dynamic DYN-VPN-Map
crypto map Static-Crypto-Map interface outside
isakmp enable outside
isakmp identity address
isakmp nat-traversal 10
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes-256
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup VPN address-pool IPSec-VPN-Pool
vpngroup VPN dns-server 192.168.1.10
vpngroup VPN default-domain atrnt.com
vpngroup VPN split-tunnel IPSecTrafficToVPNPool
vpngroup VPN idle-time 1800
vpngroup VPN password ********
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
management-access inside
console timeout 0
terminal width 80
Cryptochecksum:65bc4c0e391d895f239b73672d591a8a
: end