cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4471
Views
0
Helpful
5
Replies

cisco router in a stick and hp switch integration

Steev112
Level 1
Level 1

Hi All,

i have Cisco Router 1941 connected to HP switch, all users using default vlan (Vlan1), the interface configuration between the Cisco router and HP switch as follows:

interface Gig0/0

ip address 192.168.8.1 255.255.255.0 secondary
ip address 192.168.9.1 255.255.255.0 secondary
ip address 192.168.10.1 255.255.255.0 secondary
ip address 192.168.11.1 255.255.255.0

i am planning to use router in stick feature to replace vlan 1 and configure vlan layer 2 for each subnet  on HP switch for example:

Vlan 2 for this  ip address 192.168.8.1 255.255.255.192 secondary
Vlan 3 for this ip address 192.168.9.1 255.255.255.192 secondary
Vlan 4 for this ip address 192.168.10.1 255.255.255.192 secondary
Vlan 5 for this ip address 192.168.11.1 255.255.255.0

how can achieve this on Cisco router and HP switch? 

Thanks,

 

2 Accepted Solutions

Accepted Solutions

It should tag , what type of HP switch is it ?

you just need to set it to full trunk on HP side pure layer 2 , need to know the model first as it varys on some there switches from what I remember

View solution in original post

Hi

on the switch HP must create the required VLAN (8,9,10 and 11). Between the switch and the router should create a trunk (on HP switch is tagged interface).
Example:

Procurve(config)#vlan 8
Procurve(config)#name “Data”
Procurve(config)#tagged 48

Procurve(config)#vlan 9
Procurve(config)#name “Voice”
Procurve(config)#tagged 48

tagged 48 - interface 48 - is interface to the router.
Optimally do not use of the native VLAN.

View solution in original post

5 Replies 5

Mark Malone
VIP Alumni
VIP Alumni

Hi the vlans would just need to be created on HP switch and set the uplink to the router as a trunk , then on Cisco side follow this docs below shows example of setting up multi vlan router on stick from cisco router , as long as both sides are dot1q it should form

http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/336-cisco-router-8021q-router-stick.html

https://community.spiceworks.com/how_to/55605-how-to-configure-router-on-a-stick

Hi Mark,

Thanks for providing me the link, i know how do it on Router but the problem what the configuration will be in HP switch,

On the router will configure as follows:


R1(config)#int fa0/0
R1(config-if)#no ip address
R1(config-if)#no shutdown
R1(config-if)#exit

Now we can configure the sub-interfaces on the router.
We will start with VLAN 8.

R1(config)#int fa0/0.8
R1(config-subif)#encapsulation dot1q 8
R1(config-subif)#ip address 192.168.8.1 255.255.255.0
R1(config-subif)#no shutdown
R1(config-subif)#exit

Now VLAN 9

R1(config)#int fa0/0.9
R1(config-subif)#encapsulation dot1q 9
R1(config-subif)#ip address 192.168.9.1 255.255.255.0
R1(config-subif)#no shutdown
R1(config-subif)#exit


VLAN 10

R1(config)#int fa0/0.10
R1(config-subif)#encapsulation dot1q 10
R1(config-subif)#ip address 192.168.10.1 255.255.255.0
R1(config-subif)#no shutdown
R1(config-subif)#exit

Now VLAN 11

R1(config)#int fa0/0.11
R1(config-subif)#encapsulation dot1q 11
R1(config-subif)#ip address 192.168.11.1 255.255.255.0
R1(config-subif)#no shutdown
R1(config-subif)#exit

so what is the link configuration between HP switch and Cisco Router, and L2 vlan on HP switch will tag or untag?

any one can have idea how to do it on HP switch?

It should tag , what type of HP switch is it ?

you just need to set it to full trunk on HP side pure layer 2 , need to know the model first as it varys on some there switches from what I remember

Thanks it works now

Hi

on the switch HP must create the required VLAN (8,9,10 and 11). Between the switch and the router should create a trunk (on HP switch is tagged interface).
Example:

Procurve(config)#vlan 8
Procurve(config)#name “Data”
Procurve(config)#tagged 48

Procurve(config)#vlan 9
Procurve(config)#name “Voice”
Procurve(config)#tagged 48

tagged 48 - interface 48 - is interface to the router.
Optimally do not use of the native VLAN.