Switches, Hubs, and Modems
1752591 Members
2803 Online
108788 Solutions
New Discussion юеВ

Procurve 2626 vlan ip routing

 
SOLVED
Go to solution
Francesc Mira
New Member

Procurve 2626 vlan ip routing

I have one Procurve 2626 PWR switch with this configuration:

DEFAULT VLAN Ip 172.28.7.1/255.255.255.0

VLAN 2 - Ports 1-10 untagged
IP 172.28.2.1/255.255.255.0

VLAN 3 - Ports 11-20 untagged IP 172.28.3.1/255.255.255.0

I want to connect a Zyxel 660HR router to serve DHCP address and internet access for vlan2 and vlan3 clients.

The configuration of the router is: 172.28.6.1 / 255.255.255.0 and has DHCP server enabled.

Thanks
Francesc
4 REPLIES 4
serpel
Trusted Contributor
Solution

Re: Procurve 2626 vlan ip routing

ok,
how do you want to connect the Zyxel to the switch?
the zyxel isn't part of any vlan your switch has.
as i don't really have experience with zyxel and dhcp, can the dhcp-server in the zyxel manage to give ip's in different subnets?
let's say your zyxel router is in the same subnet vlan 1 (172.28.7.2 for example)
then you enable routing on the switch with

ProCurve(config)#ip routing

ad a default route with:

ProCurve(config)#ip route 0.0.0.0 0.0.0.0 172.28.7.2

and on the zyxel router you add static route for your vlans something like:

172.28.2.0 255.255.255.0 172.28.7.1

and

172.28.3.0 255.255.255.0 172.28.7.1

now everything should work with static ip, but as you want dhcp you need to add an dhcp relay to every vlan on the switch with

ProCurve(vlan-2)#ip helper-address 172.28.7.2

and enable the dhcp-relay feature with

ProCurve(config)#dhcp-relay

but as i said earlier, i don't know if the zyxel-dhcp-server is able to do this!
hth

alex
Francesc Mira
New Member

Re: Procurve 2626 vlan ip routing

Thansk for your response Alex.

The zyxel router don't give ip's in different subnets.

The vlan2 and vlan3 are used to connect access points.

An AP connected to vlan2 have the following configuration

IP 172.28.2.2/255.255.0.0
Gateway 178.28.2.1

An AP connected to vlan3 have the following configuration

IP 172.28.3.2/255.255.0.0
Gateway 178.28.3.1

Now I have one port of VLAN2 connected to the Zyxel router and one port of VLAN3 also connected to the router. I don't have Ip routing enabled on the HP Procurve. The system is working fine, all wireless client get an ip 172.28.6.x and they has internet access. But I want to use only one port to connect the switch with the router and I think that I need to enable ip routing.

In addition I have another problem. I want to use one port of Procurve 2626 to connect a Procurve 1800 switch. This switch have defined the vlans 2 and 3 but I don't know if the port of Procurve 2626 must be tagged or untagged for the vlans.

I'm a newbie configuring vlans and ip routing. Thanks for your help.

Regards
Francesc





Pieter 't Hart
Honored Contributor

Re: Procurve 2626 vlan ip routing

>>>
VLAN 2 - Ports 1-10 untagged
IP 172.28.2.1/255.255.255.0

VLAN 3 - Ports 11-20 untagged IP 172.28.3.1/255.255.255.0

Now I have one port of VLAN2 connected to the Zyxel router and one port of VLAN3 also connected to the router. , all wireless client get an ip 172.28.6.x

The zyxel router don't give ip's in different subnets.
<<<

this is not a normal network configuration!
normally you use vlan's to separate networks, and normally there is a one-to-one relationship between vlan's and subnets.
In your current configuration you use two vlan's (two subnets 172.28.1.x and 172.28.2.x) , but the Zyxel is issuing 172.28.6.x adresses on both vlan's (wich adresses don't belong to either subnet).
At this time the switch does not do any routing at all, all dhcp-adresses comming from the Zyxel lay in another subnet than the the switch vlan's so they cannot comunicate with the switch .

What you need is a DHCP-server where you can configure different "scope's", one for each subnet.
When scopes, ip-helper and ip routing are configured, then the DHCPserver can issue an adress from the respective scope to requests comming from a specific subnet.

If the zyxel can't do this you will need another device to service DHCP requests, that can be configured for scope's!
or you need to get back to fixed ip-adresses in these subnets.

anyway also when you got a DHCPserver that can handle multiple scope's then you need to create a third vlan for the 172.28.6.x subnet, or you need to change the zyxel adres to one in vlan2 or vlan3.
You only need to connect the zyxel to a port in this single subnet.

When this is all done then the switch can do the routing between 172.28.1.x, 172.28.2.x and 172.28.6.x
SjoerdvW
Advisor

Re: Procurve 2626 vlan ip routing

>>>
In addition I have another problem. I want to use one port of Procurve 2626 to connect a Procurve 1800 switch. This switch have defined the vlans 2 and 3 but I don't know if the port of Procurve 2626 must be tagged or untagged for the vlans.
<<<

The infrastructure port on both switches (The ones connecting the two switches) needs to be tagged in all the VLAN's that are aloud to travel through this port.
So you have to tag both VLAN 2 & 3 on the uplink port on both the 2626 & the 1800

Now you can untag some ports on the 1800 switch for a specific VLAN (a port can only be untagged in one VLAN at a time)