Switches, Hubs, and Modems
1753473 Members
4795 Online
108794 Solutions
New Discussion юеВ

Switch ProCurve2824 as router in one multinetted vlan

 
prick
New Member

Switch ProCurve2824 as router in one multinetted vlan

Hi!

I try to give the switch 2824 and his default vlan more than one IP, so I can use it as a router for at least three different networks:

192.168.12.0/23
192.168.15.0/24
192.168.53.0/24

I want to use the 2824 as SG for most of the Clients and Servers, whith the following IPs:

192.168.12.1/23
192.168.15.101/24
192.168.53.254/24

The 2824 connects directly to some hosts in the 192.168.53.0. Most of the hosts from the 192.168.12.0/23 and 192.168.15.0/24 are connected through 12 aditional ProCurve Switches, including another two 2824, four 4000, four 2524 and two 2626. All these Switches are connected to one 2824.

I found a lot of information how to add static routes and build vlans, but I only found information how to set up the first IP for the switch.

Any hint is appreciated, thanks in advance, Patrick
2 REPLIES 2
Jeff Carrell
Honored Contributor

Re: Switch ProCurve2824 as router in one multinetted vlan

one way (opt1):

vlan 1 ip addr 192.168.12.1/23
untag/tag ports into it

vlan 2 ip addr 192.168.15.101/24
untag/tag ports into it

vlan 3 ip addr 192.168.53.254/24
untag/tag ports into it

then do, 'ip routing'

that will allow routing between those vlans (networks)...and separate broadcast domains for each network...

another way (opt2):
vlan 1 ip addr 192.168.12.1/23
vlan 1 ip addr 192.168.15.101/24
vlan 1 ip addr 192.168.53.254/24
ip routing

this makes a multi-netted vlan, and router, but it is one single broadcast domain...


i prefer opt1...

hth...jeff
Pieter 't Hart
Honored Contributor

Re: Switch ProCurve2824 as router in one multinetted vlan

the document 2600-2800-4100-6108-MgmtConfig-Oct2005-59906023.pdf
page 8-9

Configure Multiple IP Addresses on a VLAN (Multinetting). You can configure one primary IP address per VLAN and up to seven secondary IP addresses for the same VLAN. That is, the switch enables you to assign up to eight networks to a VLAN.
├в  
Each IP address on a VLAN must be for a separate subnet.
├в  
The switch assigns the first IP address manually configured on a VLAN as the primary IP address. The switch then assigns any subsequent IP addresses (for other subnets) manually configured on the VLAN as secondary
addresses.

Syntax:
[ no ] vlan ip address
[ no ] vlan ip address