Jump to content

Recommended Posts

Posted

Hi there

 

Looking at setting up vlans on HP2910 switch

 

I tried all sorts and cant get it to inter-vlan route.

 

can any one give me a really basic config to try in order to get this working.

 

 

I've been trying to from the switch itself via the cli to ping its other vlan interfaces and it can only default vlan.

 

I've tried adding ip routing and also ip route 0.0.0.0 0.0.0.0 but it wont let me enter the switch interface ips.

I've also tried 192.168.2.0/24 Vlan101 but doesn't show in the routing table.

 

I'm sure im missing something really basic.

please help

 

thanks

 

 

 

 

 

 

config is a bit screwed up but happy to reset and start again

 

ip route 192.168.2.0 255.255.255.0 vlan 101

ip routing

snmp-server community "public" unrestricted

router rip

redistribute connected

exit

vlan 1

name "DEFAULT_VLAN"

no untagged 10-24

untagged 1-9,A1-A2,B1-B2

ip address dhcp-bootp

exit

vlan 101

name "VLAN101"

untagged 10-14

ip address 192.168.2.1 255.255.255.128

ip helper-address 192.168.1.1

exit

vlan 102

name "VLAN102"

untagged 15-24

ip address 192.168.2.129 255.255.255.128

ip helper-address 192.168.1.1

exit

spanning-tree

 

 

IP Route Entries

 

Destination Gateway VLAN Type Sub-Type Metric Dist.

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

127.0.0.0/8 reject static 0 0

127.0.0.1/32 lo0 connected 1 0

192.168.1.0/24 DEFAULT_VLAN 1 connected 1 0

Posted

Is this the only switch?

 

I’m not sure this is a Layer 3 switch and therefore will not allow inter-vlan routing.

 

I’m not an expert, far from it, so could be completely wrong.

Posted

The static route is incorrect as it coves both VLANs

 

You shouldn't need to set it as it will make routes automatically from the VLAN interfaces.

 

Also you only need to enable RIP if you are communicating with router or L3switch sharing routes. so that can go.

 

and dont forget the static routes (default route) set as the next hop router.

 

remove it and configure correctly with:

 

no ip route 192.168.2.0 255.255.255.0 vlan 101

no router rip

ip route 0.0.0.0/0 XXdefaltgatwayIPxx

write memory

 

This might help you:

Posted

Thank you.

 

Got it all sorted had done everything correctly first time just didn’t realise I needed something plugged to each vlan I wanted to ping. Thanks for all the posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...