Switches, Hubs, and Modems
1753511 Members
4945 Online
108795 Solutions
New Discussion юеВ

Procurve 2848 Vlan Routing

 
Anakonda
Advisor

Procurve 2848 Vlan Routing

From time to time we'r testing some applications which are webbased.

I would like to configure our Procurve 2848 configure(for example port 27 as vlan) and make a route between this port and our network.

it's actualy a separate network

Original Network on Default vlan:
192.168.1.0 255.255.255.0

default gateway: 192.168.1.1

Test network on vlan 2 port 27:
192.168.2.1 255.255.255.0

Q1: How to assign a IP address to this vlan port.

Q2: How to route this port to default vlan.


all machines on vlan 2 on port 27 must be able to access internet.


Rene
28 REPLIES 28
cenk sasmaztin
Honored Contributor

Re: Procurve 2848 Vlan Routing

hi Rane

I make config for your test

yess..

primary setup on switch enable ip routing

whit this command

config)#ip routing

and assign ip address vlan 1

config-vlan1)#ip address 192.168.1.1/24

and you can create new vlan 2

config)#vlan 2

and assign ip address

config-vlan2)#ip address 192.168.2.1/24

after assign vlan 2 member port on switch (all port default member vlan 1)

for example interface 27

config-vlan2)#untagged 27

and write static routig command on switch for internet connection

0.0.0.0 0.0.0.0 192.168.1.10 (1.10 ip internet router lan ip )

and you can must be write on internet router static ip command

192.168.1.0 255.255.255.0 192.168.1.1
192.168.2.0 255.255.255.0 192.168.1.1

ok..... at the present time connect pc on switch

pc 1 vlan1 member pc

ip address 192.168.1.20
subnet mask 255.255.255.0
default gateway 192.168.1.1


pc 2 vlan 2 member pc

ip address 192.168.2.20
subnet mask 255.255.255.0
default gateway 192.168.2.1

good luck


















cenk

Anakonda
Advisor

Re: Procurve 2848 Vlan Routing

Thanks for your quick responce.

The switch is already configured.

All ports are member of default vlan.

i have configured port 27 throug hp management tool as vlan 2. without ip address.

now i can't delete this port anymore.

First i need to aasign a ip address to this port.
Then i need to make the route between these two vlan's.


cenk sasmaztin
Honored Contributor

Re: Procurve 2848 Vlan Routing

Hi rene

fristly
you can create vlan 2 on switch and assign ip address vlan 2

192.168.2.1/24

and you can must be int 27 untagged member vlan 2

imposible assign ip address on port
ip address assign on vlan interface
cenk

Anakonda
Advisor

Re: Procurve 2848 Vlan Routing

when i try to set ip addres i receive the message that the ip address exists.

How can i check that.

Thanks for your support
Anakonda
Advisor

Re: Procurve 2848 Vlan Routing

Ok,

I have now the following configured:

Default_Vlan: 192.168.1.10
Vlan 2: 192.168.2.1

Default gateway for both vlan's is : 192.168.1.1

Ip route is enabled.

So far so good.

But how can i access Default_vlan and internet?


cenk sasmaztin
Honored Contributor

Re: Procurve 2848 Vlan Routing

please look attach file
cenk

Anakonda
Advisor

Re: Procurve 2848 Vlan Routing

Thanks for the attached file.

Now i can ping other pc's, but the pc's on the send vlan can not internet.

These are the results of my sho ip:

VLAN: VLAN_2
IP CONFIG: Manual
IP ADDRESS: 192.168.2.10
SUBNET MASK: 255.255.0.0
PROXY ARP: NO

cenk sasmaztin
Honored Contributor

Re: Procurve 2848 Vlan Routing

All the same ...

change your ip address my configuration
and you make test

cenk
cenk

cenk sasmaztin
Honored Contributor

Re: Procurve 2848 Vlan Routing

sory soryy

please send me sh run print now
cenk