Link to home
Avatar of Carsten Klein
Carsten KleinFlag for Germany

asked on

HP 4208vl routing within the default VLAN

Hello,

we haven't any free IP v4 adresses in our private class C subnet.

So we need a second subnet.

Our HP 4208vl Switch should routing between theses subnets.

According to the 4208 Quickspecs the HP switch automatically routes between VLANs.

But can the 4208vl routing with within the default VLAN ?

Thank you,
Tom
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

If you are asking if it is possible to set routing between the default VLAN (VLAN1) and other VLANs, then yes you can set that up without a problem.

Just enable "ip routing".

ip routing enable

Open in new window


Don't forget to set an ip on the second VLAN
Avatar of Carsten Klein

ASKER

No we don't want a second vlan.

Is it possible in the default vlan ? Two IP-addresses / subnets on the switch ?
Why don't you just make your range bigger?

eg: if you now have 192.168.1.1/24 (255.255.255.0), change it to 192.168.1.1/23 (255.255.254.0) which provides 254 more addresses or 192.168.1.1/22 (255.255.252.0) to get even more ...

This way no routing is needed, just change the subnetmask of all the devices connected to the network.
Avatar of Craig Beck
I wouldn't advise adding a different subnet to the same VLAN.  Technically it is possible and should 'work' but really it will just give you unnecessary headaches with DHCP and routing (if nothing else).

Spravtek gives good advice, although the example is a bit flaky :-)

If you have 192.168.1.0/24 you 'can' expand it using a /23 network mask, however that won't give you 192.168.1.0 - 192.168.2.255 as you might expect.  It will give you 192.168.0.0 - 192.168.1.255.

Just something to be aware of as when you come to configure it the network won't look like you expect it to look.  What I mean is that the base network address would look like 192.168.0.0 instead of 192.168.1.0.
Hello craigbeck,
Hello spravtek,

thank you for your advice and hints :)

New subnetmask /23:
If I change the subnetmask, it is the same job, as to change the IP Adresses to 172.16.0.0/16. Because I had to change all devices (routers, firewall, server, switche, statics client, access points, time clocks ...).

New VLAN with new DHCP Scope:
If I create a new VLAN with a new subnet, routed via HP 4208vl, I have to look to which port the client is connected. Unfortunately we have no numbers on our patch pannel. So if a static client (or ap, server, time clock...) is connected to the new vlan, the client gets no communication :-/

No new vlan with routing:
My favorit is a single vlan with routing :-) But how can I active the routing feature in the 4208vl and a second IP Adress in a different subnet ?

Thank you,
Tom
SOLUTION
Avatar of Craig Beck
Craig Beck
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Hello craigbeck,

we make a new dhcp scope. The old one will be expire and disabled.

No client will be talk to other clients. And if they all on the same new ip subnet, it doesn't matter :)

So my question form the first post again :-)
How to configure the HP 4208vl for routing within the default VLAN ? And a second IP adress on the same vlan.

Thank you
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
OK I' try it next Weekend:

- show IP
- configure
- vlan 1
- ip adress 172.16.1.1/16
- ip routing
- write Memory

?
I've requested that this question be closed as follows:

Accepted answer: 0 points for tutschi69's comment #a39458204
Assisted answer: 250 points for craigbeck's comment #a39455014
Assisted answer: 250 points for craigbeck's comment #a39455078

for the following reason:

It worked in one VLAN :-)
It worked in one vlan !