LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

Inter VLAN Routing with HP E5412zl Switch

NManager
Occasional Contributor

Inter VLAN Routing with HP E5412zl Switch

Hello,

I have recently been asked to setup an MPLS link to our internal network. To this end, the MPLS switch was configured and plugged into our HP E5412zl switch on our LAN. Prior to the connection, I configured a VLAN 99 on the HP E5412zl, added an IP address 192.168.96.2 to it, and then added the port J1 to the VLAN. This is the port which plugs into the MPLS switch. On the other hand, the port on the MPLS switch is assigned an IP address 192.168.96.1.

Additionally, I have configured a static route to our other site on the HP switch as follows:

ip route 10.1.0.0/16 192.168.96.1

Therefore, from the HP switch, I can ping the MPLS switch interface 192.168.96.1 and I can also ping our other site on 10.1.10.2 without problems. However, from my PC, I am unable to ping either the MPLS switch interface 192.168.96.1 or the HP Switch interface on 192.168.96.2.

It is important to state that the PC resides within VLAN 1 on the HP switch and the VLAN 1 interface has the IP address 10.250.98.150.

A quick check shows that the default gateway on the PC is set to 10.250.99.102, this is a Microsoft ISA Server that provides access to the internet. It sits between our network and the firewall. The ISA server is the default gateway for all devices on our network including the HP switch.  So, as a test, I changed the default gateway on the PC to the IP address of VLAN 1 interface (10.250.98.150) and I could ping the MPLS interfaces 192.168.96.1, 192.168.96.2 including our MPLS site 10.1.10.2.

However, this solution isn't practical for us as it means I would have to change the default gateway address on all our devices on VLAN 1; which is disruptive. Therefore, my question is can I get around this problem by adding some static routes on the HP switch?

Below is a running config from my HP switch.

Thanks in anticipation for your help.

HP-E5412zl(config)# sh run

Running configuration:

; J8698A Configuration Editor; Created on release #K.15.17.0007
; Ver #08:02.ff.f7.fc.7f.ff.3f.ef:ae
hostname "HP-E5412zl"
module 1 type j8705a
module 2 type j9538a
module 3 type j8702a
module 4 type j8705a
module 5 type j8702a
module 6 type j8705a
module 7 type j8702a
module 8 type j8705a
module 10 type j8702a
module 12 type j8702a
trunk D21-D22,D24,H21 trk1 trunk
trunk A23,F23 trk2 trunk
trunk J23-J24 trk4 trunk
trunk J21-J22 trk5 trunk
ip default-gateway 10.250.99.102
no ip ssh
ip route 10.1.0.0 255.255.0.0 192.168.96.1

vlan 1
   name "DEFAULT_VLAN"
   no untagged A1,A4,B1,G1-G3,H9,J1,L1-L20,L23-L24
   untagged
 A2-A3,A5-A22,B2,B4,B6-B8,C1-C24,D1-D20,D23,E1-E24,F1-F22,F24,G4-G24,H1-H8,H10-H20,H23,J2-J20
,L21-L22,Trk1-Trk2,Trk4-Trk5
   tagged A24,B3,B5,H22,H24
   ip address 10.250.98.150 255.255.224.0
   ip address 172.30.64.64 255.255.240.0
   ip igmp
   qos priority 7
   forbid B1
   exit
vlan 2
   name "Admin"
   untagged A1,A4,H9
   tagged A2,A22,A24,B2,B4-B5,F22,F24,H22-H23,Trk2
   no ip address
   qos priority 6
   forbid C1-C23,E3-E20,F1-F18,G1-G2,G7,G10-G24
   exit
vlan 3
   name "Pix"
   untagged G1-G3
   no ip address
   exit
vlan 4
   name "Sect"
   untagged B1,H22,L1-L20,L23-L24
   tagged A24,B3,B5,F24,H24,Trk2
   no ip address
   exit
vlan 99
   name "MPLS_Link"
   untagged J1
   ip address 192.168.96.2 255.255.255.252

HP-E5412zl(config)# show ip

 Internet (IP) Service

  IP Routing : Enabled


  Default TTL     : 64
  Arp Age         : 20
  Domain Suffix   :
  DNS server      :

                       |                                            Proxy ARP
  VLAN                 | IP Config  IP Address      Subnet Mask     Std  Local
  -------------------- + ---------- --------------- --------------- ----------
  DEFAULT_VLAN         | Manual     10.250.98.150   255.255.224.0    No    No
                       | Manual     172.30.64.64    255.255.240.0
  Admin                | Disabled
  Pix      | Disabled
  Sect              | Disabled
  MPLS_Link            | Manual     192.168.96.2    255.255.255.252  No    No


HP-E5412zl(config)# show ip route

                                      IP Route Entries

  Destination        Gateway         VLAN Type      Sub-Type   Metric     Dist.
  ------------------ --------------- ---- --------- ---------- ---------- -----
  10.1.0.0/16        192.168.96.1    99   static               1          1
  10.250.96.0/19     DEFAULT_VLAN    1    connected            1          0
  127.0.0.0/8        reject               static               0          0
  127.0.0.1/32       lo0                  connected            1          0
  172.30.64.0/20     DEFAULT_VLAN    1    connected            1          0
  192.168.96.0/30    MPLS_Link       99   connected            1          0

1 REPLY
Vince-Whirlwind
Honored Contributor

Re: Inter VLAN Routing with HP E5412zl Switch

No, static routes on the HP switch will have no effect because the PCs are using the ISA server as their router, not the HP switch.

The correct configuration is to put the VLAN1 default gateway on the HP switch. Just change the Option 03 "router" in DHCP, and make sure the HP switch has a 0.0.0.0 route pointing at the ISA server.