Comware

 View Only
Expand all | Collapse all

VLAN Voice en Data

This thread has been viewed 0 times
Archive User

Archive UserApr 02, 2009 08:12 AM

cenk sasmaztin

cenk sasmaztinApr 02, 2009 09:45 AM

breejedurpers

breejedurpersApr 02, 2009 11:22 AM

  • 1.  VLAN Voice en Data

    Posted Apr 01, 2009 12:57 PM
    We want to install an ip voice centrale.
    We have two vlan's: Data, Voice.
    Data have a ipadress:10.49.10.243 en Voice: 192.168.1.243.
    The new telephone is a hub. The telephone must have a ipadres in the range of 192.168.1.x and the cable from the telephone goes to the pc in the range of 10.49.10.x. The DHCP from the voice is 192.168.1.1. Must we use an iphelper adress?


  • 2.  RE: VLAN Voice en Data

    Posted Apr 01, 2009 04:18 PM
    hi, you need to configure the helper address with the ip of the dhcp server, so the switch can relay the dhcp packets to the dhcp server.
    Regards.


  • 3.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 12:05 AM
    The ipadress from the DHCP server is:
    192.168.1.1 and 10.49.10.19
    Must i config some routes on the Procurve 2650?
    like this:
    192.168.1.0 255.255.255.0 192.168.1.1.
    10.49.10.0 255.255.255.0 10.49.10.19.



  • 4.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 02:25 AM
    If the switch has an ip-adress in both vlan's, no static route needs to be configured.
    (implicit route exists because of interface in subnet).
    you may check if "ip routing" command is active in switch configuration.

    you configure the ip-helper adress on the vlan that does not contain the DHCP-server.


  • 5.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 03:33 AM
    We have the latest firmware.
    On the procurve switch we can communicate with both vlans but not on the clients when we get an ipadress from the 192.168.1.x network. The cisco dhcp server have two ipadresses 10.49.10.19 and 192.168.1.1.
    The DHCP give adress from 192.168.1.x
    to 192.168.1.x. We place the cable from the switch in to a telephone en then to the telephone to the pc.


  • 6.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 04:19 AM
    these lines are sufficient to make the
    switch route between the two networks.
    >>>
    ip routing
    vlan 20
    ip address 192.168.1.1 255.255.255.0
    exit
    vlan 10
    ip address 10.49.10.243 255.255.255.0
    exit
    <<<

    the statement
    >>> ip route 192.168.1.0 255.255.255.0 10.49.10.19
    <<<
    must be removed.
    this does not result in connecting the two network. It may even work against you. as id directs the switch to send data for 192.168.1.0 out on vlan10 instead on vlan20!!!
    routing is allready active just by using "ip routing".


    the statement >>>ip default-gateway 192.168.1.1 <<
    must also be removed as it points to the switches interface address.
    If present at all, it should point to an external router.
    But in conbination with using "ip routing" it's ignored anyway, and another command "ip route 0.0.0.0 0.0.0.0 <DESTINATION>" must be used.

    What you probably miss is
    >>>
    vlan 20
    name "Voice"
    tagged 1-50
    exit
    vlan 10
    name "Data"
    untagged 1-50
    exit
    <<<
    with this all ports use untagged packets in
    the data-vlan, and port-7 ALSO sends tagged packets from the voice vlan to the phone.
    the ip-phone receives all packets, listens to vlan-7 tagged packets (voice) and forwards untagged packets (data) to the PC.

    your phone somehow must recognize vlan7 as it's own, either in its local config or centraly.</DESTINATION>


  • 7.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 05:22 AM
    This is the new config file.
    I have changed the gateway adress to 10.49.10.20


  • 8.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 06:03 AM
    the "ip default-gateway " will still be ignored.

    so how does this config behave ?

    >>>
    vlan 20
    name "Voice"
    untagged 13-14
    ip address 192.168.1.243 255.255.255.0
    qos priority 7
    ip helper-address 192.168.1.1
    ip helper-address 10.49.10.19
    tagged 7-12,15-50
    exit
    vlan 10
    name "Data"
    untagged 1-12,15-50
    ip address 10.49.10.243 255.255.255.0
    tagged 13-14
    exit
    <<<
    You've got tagged and untagged reversed from my suggestion.
    to my knowledge a port with both phone and pc must be untagged in data-vlan and tagged in voice-vlan.
    but i allready asked how does this config behave?

    the "ip helper-address 192.168.1.1" in vlan-20 can be removed. It will do nothing as this is in the same subnet as the interface itself (192.168.1.243)
    But does this mean you have got 2 different dhcp-servers?
    If each subnet has its own dhcp-server you don't need an ip-helper at all, and both ip helper lines can be removed.
    an ip-helperaddresss is only neccessary from a subnet that does not have it's own dhcp-server


  • 9.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 06:42 AM
    We want to used the telephone as hub. In the telephone configuration we can make a option to go the data vlan. Is this possible when we used the voice as untagged en then data as tagged?


  • 10.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 06:54 AM
    Yes I allready mentioned this :
    "all ports use untagged packets in the data-vlan, and port-<XXX> ALSO sends tagged packets from the voice vlan to the phone.
    the ip-phone receives all packets, listens to vlan-7 tagged packets (voice) and forwards untagged packets (data) to the PC."

    now with regard to "hub-ing".
    A "hub" has no knowledge of vlans.
    The phone when properly configured DOES.

    - It passes untagged packets without interfering from the switch-side to the pc-side of the phone and vica versa
    (thus works as a hub).

    - It intercepts packets with the right vlan-tag that in the phone is configured as voice-vlan, and also responds with taggged packets.

    So the switch knows which packets are sent from the phone (tagged) and which from the pc (untagged) and the switch can forward them to the rest of the network in the right vlan.</XXX>


  • 11.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 07:27 AM
    But the DHCP server of the VOIP central how must this port configured in the switch?
    voice-untagged and data tagged or data-untagged voice tagged?


  • 12.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 07:33 AM
    plse be more clear about the situation.
    I allready asked "But does this mean you have got 2 different dhcp-servers?"

    if you do, each server must be connected to a port in it's own subnet/vlan.

    if you only got one, with two dhcp-"scope's", then this will best be in the data-vlan. It only needs an ip-adress in the data-subnet.

    The switch, with the defined ip-helper will route dhcp-requests from the vouice-vlan to the dhcp-server in the data-vlan and route the response back.

    Pieter


  • 13.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 07:57 AM
    We have two different dhcp servers.
    IP Voice and Data.
    The telephone>> get a ipadress from the dhcp voice and then go to data with the hub option from the telephone


  • 14.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 08:12 AM
    So you don't need any ip-helper at all


  • 15.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 08:19 AM
    The DHCP server from voice must have port voice-untagged and data-tagged?


  • 16.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 08:53 AM
    A standard windows server is not configured to use vlan's (can be added).
    if is has only an ip-adress in the voice-subnet then it only needs the voice vlan untagged.


  • 17.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 09:03 AM
    but the cable go to the telephone with 192.168.1.x range en then in the telephone go to data


  • 18.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 09:10 AM
    Yes,
    but the switch sees tagged and untagged packets as if they came from a different cable and forwards this to a different network.
    thats why it's called V(irtual)LAN.

    effectively you have got two separate networks even as they use the same cable and the same switch.
    - your data-network from pc (untagged) to switchport to data-dhcp-server.
    - and your voice-network from phone (tagged) to switchport to voice dhcp-server


  • 19.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 09:45 AM
      |   view attached
    see attach



  • 20.  RE: VLAN Voice en Data

    Posted Apr 02, 2009 11:22 AM
    I have a voip DHCP server and a Data DHCP server.


  • 21.  RE: VLAN Voice en Data

    Posted Apr 03, 2009 03:36 AM
      |   view attached
    Does this scetch clarifies things for you?

    - only ports used for phones are tagged voice-vlan and untagged data vlan.
    - all other red-ports are untagged datavlan
    - all green-ports are untagged voicevlan


  • 22.  RE: VLAN Voice en Data

    Posted Apr 03, 2009 06:47 AM
    Thank you. The VOIP DHCP have only a poort untagged I mean not data tagged?


  • 23.  RE: VLAN Voice en Data

    Posted Apr 03, 2009 06:50 AM
    The want also to use the cisco as data gateway 10.49.10.19.


  • 24.  RE: VLAN Voice en Data

    Posted Apr 03, 2009 07:18 AM
      |   view attached
    yes the switchport for the voip-dhcp has only the voip vlan untagged.
    The voip-dhcpserver has only a voip ip-address (192.168.1.x).

    the switchport for the gateway has only the datavlan untagged.

    in the data-dhcp you define the default-gateway option for the PC's either directly to the 10.49.10.19 or to the switch 10.49.10.243.
    the switch must be able to forward to this gateway as default route
    "ip route 0.0.0.0 0.0.0.0 10.49.10.19"

    for all data-hosts with fixed ip-configuration you must also set the default-gateway to either the switch or the gateway.

    maybe also in the voice-dhcp you may want the default-gateway option set to the switch 192.168.1.243.

    if hosts behind the gateway 10.49.10.19 must communicate with the voip-vlan you must add a route back on the gateway
    "ip route 192.168.1.0 355.555.255.0 10.49.10.243"

    and maybe on the network behind the gateway also the route back must be configured.


  • 25.  RE: VLAN Voice en Data

    Posted Apr 03, 2009 07:55 AM
    On the data network we want the gateway: 10.49.10.19 same product as 192.168.1.1.
    I have now untagged the port as voice.
    How can we communicate with both adresses?
    I can now only communicate with 192.168.1.1.
    Must I set some routes?


  • 26.  RE: VLAN Voice en Data

    Posted Apr 03, 2009 08:33 AM
    You keep changeing your goal...
    192.168.1.1 was your dhcp-server ?
    and now it's also a gateway???

    read my previous post carefully, I allready explained the steps needed to route on different components in your network.


  • 27.  RE: VLAN Voice en Data

    Posted Apr 03, 2009 09:16 AM
    Sorry but today I have a conversation and the people are speaking if this possible.


  • 28.  RE: VLAN Voice en Data

    Posted Apr 06, 2009 04:46 AM
    How can we communicate with a cisco with two ipadresses. ipadress 192.168.1.1 (voice) and 10.49.10.19 (data).
    The cisco is gateway from Voice en LAN and for the test DHCP from voice. I have only received from 192.168.1.1 answer because the port of the switch is untagged voice and tagged data.
    Must i place two cables on the cisco en then go to the switch by different config ports?


  • 29.  RE: VLAN Voice en Data

    Posted Apr 06, 2009 08:16 AM
    Cisco devices also can listen to multiple vlan-packets on the same physical port.

    when you've got a "FastEthernet0/0"
    you can add these lines
    >>>
    interface FastEthernet0/0.1
    encapsulation dot1Q 20
    ip address 192.168.1.1 255.255.240.0
    <<<
    to create a "sub-interface".
    this interface listens to vlan-20 tagged packets.
    the untagged packets still go to the "main" interface FAstethernet0/0 (10.49.10.19)



    how did you do this in the current config?


  • 30.  RE: VLAN Voice en Data

    Posted Apr 07, 2009 01:17 AM
    The Lan interface have two ipadresses:
    I have the ipadres 192.168.1.1 mask 255.255.255.0 on the Cisco and 10.49.10.19 and mask 255.255.255.0. Must I changed the subnetmask from the connection of the 192.168.1.1


  • 31.  RE: VLAN Voice en Data

    Posted Apr 07, 2009 03:26 AM
    sorry if i confused you, the ".240" is a typo.
    the subnetmask remains 255.255.255.0.

    At this time you probably got one ip-adress specified as "secondary"?

    You'll have to remove the secondary adress and move it to another subinterface as explained before.
    Or to another physical interface connected to a second switchport untagged in the corresponding vlan.


  • 32.  RE: VLAN Voice en Data

    Posted Apr 07, 2009 03:38 AM
    The DHCP must be delivered by KPN but we want to test this with the ciso and the both gateway ip adresses: 192.168.1.1 and 10.49.10.19. Maybe is better that we use the WAN interface voor 192.168.1.1 so that we can communicate with both ipadress. The WAN interface can we place in a switch port as untagged voice en we can place the lan interface as untagged data so we can communicate with both ipadresses on the switch.


  • 33.  RE: VLAN Voice en Data

    Posted Apr 07, 2009 04:00 AM
    both options (physical or subinterface) can do the job.
    you make the choice.


  • 34.  RE: VLAN Voice en Data

    Posted Apr 07, 2009 08:48 AM
    I have now two ipadresses on 1 interface.
    Must I placed the ipadress on different interfaces or can I use one interface.


  • 35.  RE: VLAN Voice en Data

    Posted Apr 08, 2009 01:55 AM
    I think I allready aswered that.

    You'll have to remove the secondary adress and move it to another interface.
    Either a subinterface in which you use only one switchport or to another physical interface connected to a second switchport untagged in the corresponding vlan.