Switches, Hubs, and Modems
1747980 Members
4096 Online
108756 Solutions
New Discussion юеВ

Conditional Routing between VLANs

 
Surbjeet
Occasional Contributor

Conditional Routing between VLANs

Anyone out there has best practice sample configuration for 5400zl switches to implement conditional routing so that only the required vlan traffic could be routed to the gateway vlan.
Universal Brotherhood
2 REPLIES 2
cenk sasmaztin
Honored Contributor

Re: Conditional Routing between VLANs

Hi surbjeet plase you see below 5400 and internet router config

J8697A Configuration Editor; Created on release #K.12.16

hostname "ProCurve Switch 5406zl"
module 1 type J8702A
module 2 type J8702A
ip default-gateway 172.16.100.1
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
no untagged A1-A24,B1-B24
no ip address
exit
vlan 2
name "internet"
untagged A1-A12
ip address 172.16.100.2 255.255.255.0
exit
vlan 3
name "spm_cluster"
untagged B1-B24
ip address 172.16.50.1 255.255.255.0
exit
vlan 4
name "spm_priv"
untagged A13-A24
ip address 172.16.10.1 255.255.255.0
exit
ip route 0.0.0.0 0.0.0.0 172.16.100.1

-------------------------------------------
for internet router ,dsl modem or firewall routing command:

ip route 172.16.100.0 255.255.255.0 172.16.100.2

ip route 192.168.50.0 255.255.255.0
172.16.50 1

ip route 172.16.10.0 255.255.255.0
172.16.10.1

and you assign each vlan member default gateway own vlan ip address


good luck
cenk

Mohieddin Kharnoub
Honored Contributor

Re: Conditional Routing between VLANs

Hi

Policy Based Routing is not available on any of the ProCurve Switches.

PBR is everyones dream about ProCurve Switches.

How to do it:
You need to route everything to another Router or Firewall where you can implement Policy Based Routing.

Good Luck !!!
Science for Everyone