I have a Cisco ASA 5510 as my firewall. the ASA is connected to an HP Procurve 2910. I have a couple of VLANs configured on the Procurve. Only the VLAN with the connection to the ASA (VLAN 10) can access the internet.
How do I create a route for the other VLANs to the internet? My Procurve config is listed below:
hostname "ProCurve 2910al-48G Switch"
module 1 type J9147A
ip routing
vlan 1
name "DEFAULT_VLAN"
untagged 21-48
ip address dhcp-bootp
no untagged 1-20
exit
vlan 10
untagged 1-10
ip address 10.117.7.1 255.255.255.0
exit
vlan 20
untagged 11-20
ip address 10.117.5.1 255.255.255.0
exit
ip route 0.0.0.0 0.0.0.0 10.117.7.254
snmp-server community "public" unrestricted
password manager
show ip route:
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 10.117.7.254 10 static 1 1
10.117.5.0/24 Clients 20 connected 1 0
10.117.7.0/24 Servers 10 connected 1 0
127.0.0.0/8 reject static 0 0
127.0.0.1/32 lo0 connected 1 0
Thanks for your help!
ip route 10.117.5.0/24 via gateway 10.117.7.1
Also all hosts should have the IP of their vlan as default-gateway (like 10.117.5.1 in vlan 20).