tri_94 Posted November 16, 2019 Posted November 16, 2019 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
mukz Posted November 16, 2019 Posted November 16, 2019 Its late and I’m tired but I’m pretty sure you need to tag your uplinks.
tri_94 Posted November 16, 2019 Author Posted November 16, 2019 Even if I’m ping from the switch it’s self?
snagrat Posted November 16, 2019 Posted November 16, 2019 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.
tri_94 Posted November 17, 2019 Author Posted November 17, 2019 The spec states layer 3 and it’s just for a test setup so it’s the only switch.
MicrodigitUK Posted November 17, 2019 Posted November 17, 2019 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:
tri_94 Posted November 17, 2019 Author Posted November 17, 2019 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
Recommended 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 accountSign in
Already have an account? Sign in here.
Sign In Now