Comware Based
1747985 Members
4907 Online
108756 Solutions
New Discussion

Re: 3com 4500 1 Int, 2 VLANS issue

 
epastran
Occasional Visitor

3com 4500 1 Int, 2 VLANS issue

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

6 REPLIES 6
epastran
Occasional Visitor

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

Vince_Whirlwind
Trusted Contributor

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?

epastran
Occasional Visitor

Re: 3com 4500 1 Int, 2 VLANS issue

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

epastran
Occasional Visitor

Re: 3com 4500 1 Int, 2 VLANS issue

Well Hybrid allows multiple vlans on an edge port

epastran
Occasional Visitor

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

Vince_Whirlwind
Trusted Contributor

Re: 3com 4500 1 Int, 2 VLANS issue

Trunk allows multiple VLANs on an edge port.