cancel
Showing results for 
Search instead for 
Did you mean: 

vlan hp 2620

Paul_40_nl
Occasional Visitor

vlan hp 2620

Hello,

 

 I have a Procurve 2620 and i want to configure 2 vlan's.

 

From the default vlan (vlan1, 192.9.7.x) the users must go to vlan2 (192.168.0.x) to access a fileserver.

The default gatewat is 192.9.7.148

 

the users from vlan2 don't have to go to vlan2.

 

This doesnt work. What is wrong?

 

this is the configuration:

hostname "HP-E2620-24-PPoEP"

ip default-gateway 192.9.7.248

vlan 1
   name "DEFAULT_VLAN"
   untagged 1-12,25-28
   ip address 192.9.7.150 255.255.255.0
   no untagged 13-24
   exit

vlan 2
   name "SMFTools"
   untagged 13-24
   ip address 192.168.0.199 255.255.255.0
   exit
gvrp

snmp-server community "public" unrestricted
management-vlan 1
no dhcp config-file-update
password manager
password operator

 

 

 

 

6 REPLIES
Richard Brodie_1
Honored Contributor

Re: vlan hp 2620

Routing will be off by default. What does 'show ip' say?
Possibly 'ip routing' is all you need.
Paul_40_nl
Occasional Visitor

Re: vlan hp 2620

Hello Richard,

How do i set routing on? and how can i give the command 'show ip'?

 

 

paulgear
Esteemed Contributor

Re: vlan hp 2620

Richard Brodie_1
Honored Contributor

Re: vlan hp 2620

I assume people are managing from the command line, via the serial port, TELNET or SSH.

 

'show ip' and 'ip routing' are the commands you need. You need to type 'config' at the CLI to go into configuration mode before 'ip routing'.

Paul_40_nl
Occasional Visitor

Re: vlan hp 2620

Hello,

 

Thanks for your tips, but it is still not working.

this is the config now:

 

; J9624A Configuration Editor; Created on release #RA.15.06.0019
; Ver #02:10.0d:1f

hostname "HP-E2620-24-PPoEP"
ip default-gateway 192.9.7.248
ip routing
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-12,25-28
   ip address 192.9.7.150 255.255.255.0
   no untagged 13-24
   exit
vlan 2
   name "SMFTools"
   untagged 13-24
   ip address 192.168.0.199 255.255.255.0
   exit
gvrp
ip route 0.0.0.0 0.0.0.0 192.9.7.248
router rip
   redistribute connected
   enable
   exit
snmp-server community "public" unrestricted
spanning-tree
vlan 1
   ip rip 192.9.7.150
   no ip rip 192.9.7.150 poison-reverse
   exit
vlan 2
   ip rip 192.168.0.199
   no ip rip 192.168.0.199 poison-reverse
   exit
management-vlan 1
no dhcp config-file-update

i can go from vlan 1 to internet

but i can't go to vlan 2 and from vlan 2 i can't go to the internet and not to vlan 1.

 

this gives show ip:

HP-E2620-24-PPoEP# show ip

 Internet (IP) Service

  IP Routing : Enabled


  Default TTL     : 64
  Arp Age         : 20
  Domain Suffix   :
  DNS server      :

  VLAN                 | IP Config  IP Address      Subnet Mask     Proxy ARP
  -------------------- + ---------- --------------- --------------- ---------
  DEFAULT_VLAN         | Manual     192.9.7.150     255.255.255.0    No
  SMFTools             | Manual     192.168.0.199   255.255.255.0    No

 

show arp:

IP ARP table

  IP Address       MAC Address       Type    Port
  ---------------  ----------------- ------- ----
  192.9.7.151      000ffe-4770b9     dynamic 3
  192.9.7.248      00116b-499dc0     dynamic 1
  192.168.0.50     ac162d-4ee203     dynamic 13

 

and show ip route

       IP Route Entries

  Destination             Gateway            VLAN     Type      Sub-Type   Metric     Dist.
  ------------------ --------------- ---- --------- ---------- ---------- -----
  0.0.0.0/0               192.9.7.248         1        static                               1          1
  127.0.0.0/8           reject                                 static                               0          0
  127.0.0.1/32        lo0                                   connected                         1          0
  192.9.7.0/24        DEFAULT_VLAN    1    connected                         1          0
  192.168.0.0/24   SMFTools                2    connected                         1          0

 

 

what do i do wrong?

 

Marc_Pfirrmann
Occasional Visitor

Re: vlan hp 2620


Paul_40_nl wrote:

what do i do wrong?

 


Make sure your CLients on VLAN2 use your switch IP-Address als Gateway (192.168.0.199)

 

Does your default-gw 192.9.7.248 know that it reaches 192.168.0.0/24 via 192.9.7.150 ?