Quick: VLAN on Cisco PIX (6.3) – Public Wifi access?
There is a shelf in the store room that’s full of old and unused Cisco PIXs – they used to be essential when site-to-site VPNs were handled internally, but now they’re only used to protect the network internet intruders via the ADSL line we use as an internet breakout.
In a couple of offices it would be really helpful to offer public wifi to guests, but the problem is there’s no secure default gateway that the guests can use – which means unless you buy a separate ADSL line for guest access (probably a waste of money), you’re stuck.
That is, until I remembered that some of the PIXs we have support VLANning… A quick “show ver” will tell if you can:
...
Maximum Physical Interfaces: 2
Maximum Interfaces: 4
...
Ah ha, only two NICs but the ability to have four interfaces – sounds like we can VLAN here, here’s the code:
interface ethernet0 auto
interface ethernet1 auto
interface ethernet1 vlan1 physical
interface ethernet1 vlan3 logical
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif vlan3 wifi security4
...
And then, for added ease, why not use dhcp on that interface?
dhcpd address 192.168.15.100-192.168.15.200 wifi
dhcpd dns 194.72.0.114 62.6.40.178
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd enable wifi
ip address wifi 192.168.15.1 255.255.255.0
Simples. Switch just needs to be set to recognise VLAN tagging on the port that ethernet 1 will use and Robert is your father’s brother.
