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

Is it possible

SOLVED
Go to solution
fg66
Occasional Contributor

Is it possible

Extreme newbie here, but I have to ask.
I have a 2626 j4900b. H_10_35 software.

I want to put 4 VLANS on it:
VLAN 1 Management
VLAN 100 Servers
VLAN 200 Workstations
VLAN 300 Printers

The switch IP is 192.166.1.101
Default Gateway is a linksys router 192.166.1.1 linked to port 26

When they all are on VLAN1 (every device) all is well, they can all ping each other, get on the internet, etc.

When I add the VLANS,I give the follwing addresses:

VLAN 1 192.166.1.101/24
VLAN 2 192.166.2.101/24
VLAN 3 192.166.3.101/24
VLAN 4 192.166.4.101/24

All VLAN ports are divided up: (ie VLAN 1 is ports 19-26, VLAN 2 is ports 13-18, VLAN 3 is ports 7-12, and VLAN 4 is ports 1-6)

All ports are untagged in their respective VLANs. With the inception of the newly created VLANs, all I can do is ping back and forth to the VLAN ips, but nothing else. To add to my confusion none can get on the internet. I have them all on static IPs in their Vlans with the default gateway pointing to the VLAN IP Address of each group. IP Routing is enabled on the switch

My BIG question: Can this 2626 route between these VLANS?? If so, what am I missing?
OR
Is this switch not capable of such a task and I need a true full layer 3 switch to do my routing? I have an Olicom 8720 Full layer 3 switch that says it can route between vlans if this is the case. SPECS are Here:

http://thenut.eti.pg.gda.pl/~stilab/vlan-et/files/Crossfire%20switches.html

I'm sure cofiguring it will not be fun as I am only familiar with HP products.

Thanks to all who can offer any advice.

4 REPLIES
Yang Yu_1
Occasional Visitor

Re: Is it possible

switch 2626 do support simple layer 3 routing, simply turn on "ip routing" in configuration mode will allow routing in VLANs to be possible. Issue command "show ip" to verify the result.
Joel Belizario
Trusted Contributor

Re: Is it possible

Unfortunately on HP switches there is a restriction that does not allow a default gateway and IP routing to be enabled at the same time.

If you do a "show ip route" it will probably show you that your default gateway is defined but IP routing is disabled.

Remove the default gateway entry in the config and use a static route of 0.0.0.0 0.0.0.0 192.166.1.1 instead.

I have seen the switches spit an error when I tried to enable both functions but I have also seen it accept both commands without an error (and other people on this forum have too).

Good luck!
Mohieddin Kharnoub
Honored Contributor
Solution

Re: Is it possible

Hi

Do 3 things to make your system work:

1- Enable IP routing: Switch(config)#ip routing
2- Add a default route to the linksys router:
Switch(config)#ip route 0.0.0.0/0 192.168.1.1
3- In yoru linksys router, add a 3 static routes for Vlan2,3,4 Subnets with gateway 192.166.1.1
So it should be like this:

ip route 192.166.2.0 255.255.255.0 192.166.1.101
ip route 192.166.3.0 255.255.255.0 192.166.1.101
ip route 192.166.4.0 255.255.255.0 192.166.1.101

Advice: try to avoid using public IP Addresses.

Good Luck !!!
Science for Everyone
fg66
Occasional Contributor

Re: Is it possible

Everyone who answered gets points on this one! All these answers worked. Sorry If my points are not looking right, this is my first post. I would like to thank all of you for responding so quickly with such great answers. I hope I can help others with my limited experience on these forums.