LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

Static IP on HP 2824 interface

infoakh
Occasional Advisor

Static IP on HP 2824 interface

Hi,

 

 

My network design as below

 

 

  VALN 2

                                  Connect to Layer 3 [HP2824] -------->FW------->ISP Router

 VLAN3   

 

 

I want to assign IP address on HP switch that port going to firewall.

 

How can I configure it. I don't want to use vlan interface.

 

 

Thanks,

 

Ko Htwe

8 REPLIES
paulgear
Esteemed Contributor

Re: Static IP on HP 2824 interface

Hi infoakh,

 

The 2824 has only rudimentary static routing and does not support routed interfaces.  Your only option is to add a new VLAN which contains that port and add the IP address to the VLAN interface.

Regards,
Paul
infoakh
Occasional Advisor

Re: Static IP on HP 2824 interface

Hi Paul,

 

 

  If I will used with vlan, Vlan 2 and Vlan3 network cannot access to network.

 

Already added default route to firewall IP.

 

Can you advise me to be done with vlan interface?

 

 

Thanks Paul,

 

Ko Htwe

paulgear
Esteemed Contributor

Re: Static IP on HP 2824 interface

Hi Ko,

 

I'm not clear what you're asking or what your problem is.  If you post your switch's config and explain what is not working i might understand a little better.

Regards,
Paul
infoakh
Occasional Advisor

Re: Static IP on HP 2824 interface

Hi Paul,

 

Configuration as below.

 

cdp run
ip default-gateway 192.168.100.254
snmp-server community "public" Unrestricted
vlan 1
   name "DEFAULT_VLAN"
   untagged 7-24
   ip address 10.10.10.1 255.255.255.0
   no untagged 1-6
   exit
vlan 100
   name "user"
   untagged 1-2
   ip address 100.100.100.1 255.255.255.0
   exit
vlan 200
   name "server"
   untagged 3-4
   ip address 200.200.200.1 255.255.255.0
   exit
vlan 300
   name "wan"
   untagged 5-6
   ip address 192.168.100.155 255.255.255.0
   exit
ip route 0.0.0.0 0.0.0.0 192.168.100.254

 

My issue is vlan 100 and vlan 200 cannot access to internet.

 

 

Thanks,

 

Ko Htwe

infoakh
Occasional Advisor

Re: Static IP on HP 2824 interface

Hi Paul,

 

HP 3500-yl can use static routing on interfaces ?

 

 

Thanks,

 

Ko Htwe

 

 

 

infoakh
Occasional Advisor

Re: Static IP on HP 2824 interface

Hi,

 

I would like to crate 2 vlan on HP 3500YL.

 

Then one port trunk to cisco asa carry 2 vlan.

 

let say, vlan 10 used ethernet port 1-10 and vlan 20 use ethernet port 11-14.

ethernet 15 carry 2 vlan to asa as trunk mode.

My configuration as below, need to configuration for routing?

my problem cannot ping to asa vlan ip address.

 

Running configuration:

; J8693A Configuration Editor; Created on release #K.15.06.0008
; Ver #01:0d:0c

hostname "HP-E3500yl-48G"
module 1 type J86yyA
module 2 type J86xxA
trunk 3 Trk1 Trunk
trunk 15,39 Trk15 Trunk
ip default-gateway 192.168.100.254
vlan 1
   name "DEFAULT_VLAN"
   untagged 1,8-14,16-38,40-48,Trk1,Trk15
   ip address dhcp-bootp
   tagged 2,4-7
   exit
vlan 10
   name "internal"
   ip address 192.168.10.2 255.255.255.0
   tagged 1-2,4-10
   exit
vlan 20
   name "users"
   ip address 192.168.20.2 255.255.255.0
   tagged 11-14
   exit
snmp-server community "public" unrestricted
spanning-tree Trk1 priority 4
spanning-tree Trk15 priority 4

 

 

Thanks.

paulgear
Esteemed Contributor

Re: Static IP on HP 2824 interface

Hi infoakh,

 

The 3500yl is a full routing switch and should do what you need (although i'm not sure whether it supports routed interfaces without using VLANs), but you don't appear to have ip routing enabled on either your 3500 or your 2824, which is probably why it's not working.

 

When you enable routing, you need to change 'ip default-gateway' to 'ip route' as in your 2824 config.

Regards,
Paul
infoakh
Occasional Advisor

Re: Static IP on HP 2824 interface

 

Hi Paul,

 

I already configured cisco asa 5510 and cisco 2960 switch for vlan.

Asa and cisco switch is working all vlan with trunking mode.

 

Now I want to trunk configuratio on HP 3500yl and cisco switch 2960.

Cisco switch already configured for trunking . I try to configure on hp 3500.

Cannot ping to vlan interface ip address on asa.

 

Can you share me how to configure on hp 3500yl for vlan and vlan truking?

 

 

Thanks.

 

infoakh