Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

intervlan 2626

SOLVED
Go to solution
Bartdhaese
Occasional Contributor

intervlan 2626

Hello,

I've a procurve and want to use it as a router.
In order to do this i've created several vlan's.
I want that all the vlans can speak with eachother, but this is now the problem.
Below you can see the configuration.
We have also 2 routers: 192.168.114.253 for ALL internet access. 192.168.113.254 for routing to our corp network: 172.16.1.0.

192.168.114.253 is connected to port 11
192.168.113.254 is connected on port 9
my pc configuration:
192.168.118.5/24 GW 192.168.118.201

1. I can not reach any host on another vlan what can be wrong?
IS the configuration ok?


Running configuration:

; J4900B Configuration Editor; Created on release #H.08.83

hostname "ProCurve Switch 2626"
console baud-rate 115200
ip default-gateway 192.168.114.253
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "HOV30"
untagged 1-6,15-22,25-26
ip address 192.168.118.201 255.255.255.0
no untagged 7-14,23-24
exit
vlan 2
name "LUX"
untagged 9-10
ip address 192.168.113.201 255.255.255.0
exit
vlan 3
name "management"
untagged 23-24
ip address 192.168.117.201 255.255.255.0
exit
vlan 4
name "INTERNET"
untagged 11-12
ip address 192.168.114.201 255.255.255.0
exit
vlan 5
name "VICON"
untagged 7-8
exit
vlan 6
name "TELEFOON"
untagged 13-14
no ip address
exit
ip route 172.16.1.0 255.255.255.0 192.168.113.254
ip route 0.0.0.0 0.0.0.0 192.168.114.253
primary-vlan 3


Many thanks already
Bart
6 REPLIES
Mohieddin Kharnoub
Honored Contributor

Re: intervlan 2626

Hi

If we ignore your 2 static routes, you should be able to access any Vlan you have on your switch.
But there is something i need you to clarify, do you have any thing connected to any Vlan other than your PC ?

If not, then you can't ping anything except your Vlan1 IP address, because simply, Any Vlan's IP address won;t be in the routing table until it has something connect to it.

To verify that, execute show ip route, and there you will find all the networks (Vlans) you can access to.

I have a comment:
Your internet router's IP in the same subnet of Vlan4, so, you need to enter 3 more Static IP addresses to your Router for Vlans:1,2 and 3, and this is a route back for these Vlans if you want them to access the internet:

for Vlan1 enter in your router:
ip route 192.168.118.0 255.255.255.0 192.168.114.201

for Vlan2:
ip route 192.168.113.0 255.255.255.0 192.168.114.201

for Vlan3:
ip route 192.168.117.0 255.255.255.0 192.168.114.201

Good Luck !!!
Science for Everyone
Bartdhaese
Occasional Contributor

Re: intervlan 2626

Hello,

Indead when i show ip route, the network are added in the correct VLAN, however i can not ping from a pc (VLAN HOV30) to router 1 (VLAN4). I can pring from the pc to the ip addess of VLAN4 (192.168.114.201)
So i think this must be a problem with the procureve 2626?

About the suggestion to add routes to each vlan, is this possible on a procurve 2626?

Bart
Mohieddin Kharnoub
Honored Contributor

Re: intervlan 2626

Hi

As i mentioned previously, you shouldn't be able to ping from the PC in Vlan1 to your Router in Vlan4 because the router doesn't know where how to reach this Network (Vlan1 192.168.118.0/24).

I will explain in more details,
In your scenario you have 2 Routers connected to each other, the first router is your 2600 switch that is doing routing between its Vlans.

And another router is there connected to your Vlan4 on the 2600 and it has its own Networks.

Now, your router won't be able to know how to reach your Vlan1,2 and 3 unless you add 3 static routes to it:
---------------------------------------------
Router(config)#ip route 192.168.118.0 255.255.255.0 192.168.114.201

Router(config)#ip route 192.168.113.0 255.255.255.0 192.168.114.201

Router(config)#ip route 192.168.117.0 255.255.255.0 192.168.114.201
---------------------------------------------

After you enter these 3 static routes to your Router you should be able to ping to it from other Vlans.

Note:
Just look to your configuration for the 2626 switch and notice you added a static route to your Corp. network 172.16.1.0 , and if you remove it, your 2600 switch won't be able where to go to reach this network.

I hope that explains :)

Good luck !!!
Science for Everyone
Bartdhaese
Occasional Contributor

Re: intervlan 2626

Indead, i though the same, but when trying to add these route i got this message:

ProCurve Switch 2626(config)# ip route 192.168.118.0 255.255.255.0 192.168.114.201
192.168.114.201 can not be switch IP address and route gateway at the same time

The route table at the moment:
ProCurve Switch 2626# show ip route

IP Route Entries

Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
127.0.0.0/8 reject static 0 250
127.0.0.1/32 lo0 connected 0 0
192.168.114.0/24 INTERNET 4 connected 0 0
192.168.118.0/24 HOV30 1 connected 0 0

I've already deleted the 0.0.0.0 route for testing.


Mohieddin Kharnoub
Honored Contributor
Solution

Re: intervlan 2626

I think that i said, these routes should be added to your router not the switch and also i've explained that :)

Good Luck !!!
Science for Everyone
Bartdhaese
Occasional Contributor

Re: intervlan 2626

Thanks,

Case closed, everything works.

Bart