Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trunking vlans to 877

Status
Not open for further replies.

Shouou

IS-IT--Management
Feb 6, 2007
7
0
0
GB
I followed the example in the previous thread thread557-1525711
But i just can't get trunk working with vlans from a HP Switch to my 877 Router.

Code:
interface FastEthernet0
 switchport trunk allowed vlan 1,2,1001-1005
 switchport mode trunk

interface FastEthernet1

interface FastEthernet2

interface FastEthernet3

interface Vlan1
 description Primary
 ip address 192.168.160.1 255.255.255.192

interface Vlan2
 description Secondary
 ip address 192.168.160.65 255.255.255.192

Code:
ip default-gateway 192.168.160.1

vlan 1
   name "Primary"
   untagged 1-48
   ip address 192.168.160.2 255.255.255.192
   tagged 49-52
   exit
vlan 2
   name "Secondary"
   tagged 1-52
   exit

I already have a work around of using 1 ethernet port for each vlan and then use 2 cables to the network switch, but where I want to install this router there is only enough patching for 1 link cable not 2.

Is there anything different I have to do for the 877 as we never have a problem with combining vlans with Cisco Switches with HP’s?
 
Pulled this out of my 877 & HP switch:

Cisco 877:

interface FastEthernet0
description --- UPLINK ---
switchport trunk allowed vlan 1,10,100,1002-1005
switchport mode trunk
duplex full
speed 100
!
!
!
interface Vlan1
description --- MANAGEMENT ---
ip address 172.31.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan10
description --- DATA LAN ---
ip address 172.31.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan100
description --- VOICE LAN ---
ip address 172.31.100.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!


ProCurve J9087A:

ip default-gateway 172.31.1.3
vlan 1
name "MANAGEMENT"
untagged 25-28
ip address 172.31.1.3 255.255.255.0
no untagged 1-24
exit
vlan 10
name "DATA"
untagged 1-22
no ip address
tagged 25-26
exit
vlan 100
name "VOICE"
untagged 23-24
no ip address
tagged 1-22,25-26
exit


 
Hmm,

Is is a stange one, i'm already trunking the vLANs like your example but it still does not work.
 
Ah Sorted it. Don't Trunk (tag) vLAN 1 on the HP switch but leave Cisco as is.

i was using Port 50 as my link from switch back to the 877 Router

[Code HP Switch]
ip default-gateway 192.168.160.1

vlan 1
name "Primary"
untagged 1-52
ip address 192.168.160.2 255.255.255.192
exit
vlan 2
name "Secondary"
tagged 1-52
exit
[/code]

I tested it with an IP phone on vLAN 2. It works.
Finally i dont have to use a different cable for each vlan going to the cisco router. :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top