HPE Aruba Networking & ProVision-based
1829586 Members
2603 Online
109992 Solutions
New Discussion

default gateway not reachable from different vlan

 
almawji
Occasional Visitor

default gateway not reachable from different vlan

Hey all,

 

I'm having an issue with one vlan reaching the default gateway on a 2910al. First of all, let me explain why I'm doing this through a switch. Using it between my ISP's modem and my external facing gateway. My ISP requires an interconnect device (L3 switch or router) to connect my external IP range to their network. Currently this is being done with a HP router that is old and needs to be replaced. Was hoping to do this with a spare 2910 we had given its L3 capability. Anyway below is my config (IP's doctored of course).

 

Startup configuration:

; J9148A Configuration Editor; Created on release #W.15.14.0012
; Ver #06:04
hostname "HP-2910al-48G-PoE"
module 1 type j9148a
time timezone -5
ip default-gateway 192.168.2.1
ip route 0.0.0.0 0.0.0.0 192.168.2.1
ip routing
snmp-server community "public" unrestricted
router rip
   redistribute connected
   enable
   exit
vlan 1
   name "External WAN"
   no untagged 3
   untagged 1,4-48
   tagged 2
   ip address 192.168.2.2 255.255.255.0
   exit
vlan 100
   name "Internal WAN"
   untagged 3
   tagged 2
   ip address 10.0.0.10 255.255.255.0
   exit
spanning-tree
password manager

 

Everything from VLAN 1 works fine. Can get to all resources external or internal.

 

VLAN 100 i get nothing but what's within the subnet.

 

Any ideas?

1 REPLY 1
EricAtHP
Esteemed Contributor

Re: default gateway not reachable from different vlan

I assume that everything on VLAN 1 uses 192.168.2.1, your ISP router, as its default gateway and everything on VLAN 100 uses 10.0.0.10, your 2910al, as its default gateway.

 

In this case, everthing on VLAN 100 should also be able to ping the 2920 on VLAN 1 at 192.168.2.2.

 

What is likely going on here is that your ISP router, 192.168.2.1, doesn't have a route to 10.0.0.0/24 through 192.168.2.2.

 

You do have RIP configured but is it also configured on your ISP router?

 

On the 2920, you can use the various "show ip rip" commands to view the status, as well as the "show ip route" command. If RIP is working correctly, then you should see learned routes on the ISP router when issuing similar commands.

 

You can also just add a static route on your ISP router.