Aruba & ProVision-based
1753598 Members
6678 Online
108796 Solutions
New Discussion

HP 2910 - VLAN-routing

 
HGIT
Occasional Contributor

HP 2910 - VLAN-routing

Hello all,

 

got a new HP2910, on which I created 2 vlans for testing:

 


show ip
  IP Routing : Enabled
  Default TTL     : 64  
  Arp Age         : 20 
  Domain Suffix   :                              
  DNS server      :                                        

  VLAN                 | IP Config  IP Address      Subnet Mask     Proxy ARP
  -------------------- + ---------- --------------- --------------- ---------
  DEFAULT_VLAN | Manual     192.168.7.245  255.255.255.0   No
  PCClients            | Manual     192.168.1.245   255.255.255.0   No

 

 

show config

ip default-gateway 192.168.7.254
ip routing
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-3,5,7,9-14,18,21,23-24
   ip address 192.168.78.245 255.255.255.0
   no untagged 4,6,8,15-17,19-20,22
   exit
vlan 5
   name "PCClients"
   untagged 4,6,8,15-17,19-20,22
   ip address 192.168.1.245 255.255.255.0
   exit

 

192.168.7.254 is IP from router.

dhcp-relay is activated, but clients from vlan5 do not get an IP!?

From the switch console I can ping clients in both vlans, but between the vlans a ping does not response.

Did I missed anything at the ports configuration?

 

Are there any options to configure an authorized dhcp-server ip?

 

thx

 

 

P.S. This thread has been moevd from Switches, Hubs, Modems (Legacy ITRC forum) to ProCurve / ProVision-Based. - Hp Forum Moderator

4 REPLIES 4
Ian Vaughan
Honored Contributor

Re: HP 2910 - VLAN-routing

Howdy,
Shouldn't yr VLAN 1 vlan interface be a .7 and not a .78 on the third octet?

I'd prefer to use a static 0.0.0.0 route rather than the "ip default route" when I've got IP routing enabled - buts that's my OCD.
Ta
Ian
Hope that helps - please click "Thumbs up" for Kudos if it does
## ---------------------------------------------------------------------------##
Which is the only cheese that is made backwards?
Edam!
Tweets: @2techie4me
HGIT
Occasional Contributor

Re: HP 2910 - VLAN-routing

you are right, it is 192.168.7 - was a typing error by myself!

 

u mean the static 0.0.0.0 route to the router (192.168.7.254) rather than the default route/gateway?

why not use both simultaneously?

 

---

ok issue is almost cleared.

main problem is a false gateway  entry at the dhcp-clients although the dhcp has the correct value.......

Chrisd131313
Trusted Contributor

Re: HP 2910 - VLAN-routing

If you are not enabling ip routing then you need the default gateway for the switch to communicate with monitoring/management devices outside of the subnet it sits in, but if you are enabling ip routing then adding a 0.0.0.0 route makes more sense as this entry will be used over the "ip default-route" entry.  As Ian said, its an OCD thing really, but also it's good house keeping.

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.
krillean
Occasional Advisor

Re: HP 2910 - VLAN-routing

default-gateway is disgarded when you have "ip routing" enabled on the switch. You need to set "ip route 0.0.0.0 0.0.0.0 192.168.7.254"  as your default route instead.

 

Best Regards // Kristian Modess