Re: 3com 4500 1 Int, 2 VLANS issue (630 Views)
Reply
Occasional Visitor
epastran
Posts: 5
Registered: ‎09-13-2013
Message 1 of 7 (688 Views)

3com 4500 1 Int, 2 VLANS issue

[ Edited ]

interface Ethernet1/0/1
 poe enable
 port link-type hybrid
 port hybrid vlan 1 100 untagged
 port hybrid pvid vlan 100
 voice vlan enable
 voice vlan legacy

 

vlan 10
 name Management
#
vlan 100
 name Access
#
vlan 200
 name Voice
#
interface Vlan-interface10
 ip address 172.16.2.1 255.255.255.192
#
interface Vlan-interface100
 ip address 172.16.0.1 255.255.255.0
#
interface Vlan-interface200
 ip address 172.16.1.1 255.255.255.0

 

 management-vlan 10
#
 voice vlan mac-address 000f-d300-0000 mask ffff-ff00-0000
 voice vlan 200 enable
#
 ip route-static 172.16.0.0 255.255.255.0 172.16.0.1 preference 60
 ip route-static 172.16.1.0 255.255.255.0 172.16.1.1 preference 60
 ip route-static 172.16.2.0 255.255.255.192 172.16.2.1 preference 60

 

I can ping both workstation and VOIP Phone, when connected individually to the port.

I can ping VOIP Phone when workstation is connected to it.

I can not ping workstation when connected through VOIP Phone.

 

 

Can any one let me know why I  can not ping workstation when connected through VOIP Phone?

 

 

P.S. This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to Comware-Based.
-HP Forum Moderator

Occasional Visitor
epastran
Posts: 5
Registered: ‎09-13-2013
Message 2 of 7 (686 Views)

Re: 3com 4500 1 Int, 2 VLANS issue

[4500]dis ip routing-table
 Routing Table: public net
Destination/Mask   Protocol Pre  Cost        Nexthop         Interface
127.0.0.0/8        DIRECT   0    0           127.0.0.1       InLoopBack0
127.0.0.1/32       DIRECT   0    0           127.0.0.1       InLoopBack0
172.16.0.0/24      DIRECT   0    0           172.16.0.1      Vlan-interface100
172.16.0.1/32      DIRECT   0    0           127.0.0.1       InLoopBack0
172.16.1.0/24      DIRECT   0    0           172.16.1.1      Vlan-interface200
172.16.1.1/32      DIRECT   0    0           127.0.0.1       InLoopBack0

 

This is for test envronment

Trusted Contributor
Vince_Whirlwind
Posts: 401
Registered: ‎02-25-2013
Message 3 of 7 (643 Views)

Re: 3com 4500 1 Int, 2 VLANS issue

Can the workstation ping its default GW?

 

Has the workstation received a DHCP address when connected through the phone?

 

WHy "hybrid VLAN"?

 

WHat is the port config of each port each of those 3 devices is connected to?

Occasional Visitor
epastran
Posts: 5
Registered: ‎09-13-2013
Message 4 of 7 (636 Views)

Re: 3com 4500 1 Int, 2 VLANS issue

Its fixed now, I had to actually run the DHCP for VOIP. ;p

Occasional Visitor
epastran
Posts: 5
Registered: ‎09-13-2013
Message 5 of 7 (634 Views)

Re: 3com 4500 1 Int, 2 VLANS issue

Well Hybrid allows multiple vlans on an edge port

Occasional Visitor
epastran
Posts: 5
Registered: ‎09-13-2013
Message 6 of 7 (633 Views)

Re: 3com 4500 1 Int, 2 VLANS issue

Workstation (VLAN 100) :

interface Ethernet1/0/1
 poe enable
 lldp compliance admin-status cdp txrx
 port link-type hybrid
 port hybrid vlan 200 tagged
 port hybrid vlan 10 100 untagged
 undo port hybrid vlan 1
 port hybrid pvid vlan 100
 undo voice vlan mode auto
 voice vlan lldp

 

Workstation / VOIP Phone on port :

 

interface Ethernet1/0/2
 poe enable
 lldp compliance admin-status cdp txrx
 port link-type hybrid
 port hybrid vlan 200 tagged
 port hybrid vlan 10 100 untagged
 undo port hybrid vlan 1
 port hybrid pvid vlan 100
 undo voice vlan mode auto
 voice vlan enable
 voice vlan lldp

 

DHCP with two scopes for both VLANS:

 

interface Ethernet1/0/8
 poe enable
 lldp compliance admin-status cdp txrx
 port link-type hybrid
 port hybrid vlan 10 100 200 untagged
 undo port hybrid vlan 1
 port hybrid pvid vlan 200
 undo voice vlan mode auto
 voice vlan lldp
#

 

<4500>dis cur
#
 sysname 4500
#
 password-control login-attempt 3 exceed lock-time 120
#
 ip host Main 172.16.2.1
#
 dhcp-server 1 ip  172.16.1.100
#
 lldp enable
 lldp compliance cdp
#
 udp-helper enable
#
radius scheme system
#
domain system
#
vlan 1
#
vlan 10
 name Management
#
vlan 100
 name Access
#
vlan 200
 name Voice
#
interface Vlan-interface10
 ip address 172.16.2.1 255.255.255.192
#
interface Vlan-interface100
 ip address 172.16.0.1 255.255.255.0
 dhcp-server 1
#
interface Vlan-interface200
 ip address 172.16.1.1 255.255.255.0
 dhcp select interface
 dhcp server tftp-server ip-address 172.16.1.100
#
interface Aux1/0/0
#
interface Ethernet1/0/1
 poe enable
 lldp compliance admin-status cdp txrx
 port link-type hybrid
 port hybrid vlan 200 tagged
 port hybrid vlan 10 100 untagged
 undo port hybrid vlan 1
 port hybrid pvid vlan 100
 undo voice vlan mode auto
 voice vlan lldp
#
interface Ethernet1/0/2
 poe enable
 lldp compliance admin-status cdp txrx
 port link-type hybrid
 port hybrid vlan 200 tagged
 port hybrid vlan 10 100 untagged
 undo port hybrid vlan 1
 port hybrid pvid vlan 100
 undo voice vlan mode auto
 voice vlan enable
 voice vlan lldp
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
#
interface Ethernet1/0/5
#
interface Ethernet1/0/6
#
interface Ethernet1/0/7
#
interface Ethernet1/0/8
 poe enable
 lldp compliance admin-status cdp txrx
 port link-type hybrid
 port hybrid vlan 10 100 200 untagged
 undo port hybrid vlan 1
 port hybrid pvid vlan 200
 undo voice vlan mode auto
 voice vlan lldp
#
#
interface GigabitEthernet1/0/49
 port link-type trunk
 undo port trunk permit vlan 1
 shutdown
#
interface GigabitEthernet1/0/50
 port link-type trunk
 undo port trunk permit vlan 1
 shutdown
#
interface GigabitEthernet1/0/51
 port link-type trunk
 undo port trunk permit vlan 1
#
interface GigabitEthernet1/0/52
 port link-type trunk
 undo port trunk permit vlan 1
#
 undo xrn-fabric authentication-mode
#
interface NULL0
#
 management-vlan 10
#
rip
 network 172.16.0.0
#
 voice vlan mac-address 000f-d300-0000 mask ffff-ff00-0000 description Digium Phones
 voice vlan 200 enable
#
 ip route-static 172.16.0.0 255.255.255.0 172.16.0.1 preference 60
 ip route-static 172.16.1.0 255.255.255.0 172.16.1.1 preference 60
 ip route-static 172.16.2.0 255.255.255.192 172.16.2.1 preference 60
#
user-interface aux 0 7
user-interface vty 0 4

Trusted Contributor
Vince_Whirlwind
Posts: 401
Registered: ‎02-25-2013
Message 7 of 7 (630 Views)

Re: 3com 4500 1 Int, 2 VLANS issue

Trunk allows multiple VLANs on an edge port.

 

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.