Switches, Hubs, and Modems
1753936 Members
10459 Online
108811 Solutions
New Discussion юеВ

Re: VLAN Voice en Data

 
Pieter 't Hart
Honored Contributor

Re: VLAN Voice en Data

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
breejedurpers
Advisor

Re: VLAN Voice en Data

Thank you. The VOIP DHCP have only a poort untagged I mean not data tagged?
breejedurpers
Advisor

Re: VLAN Voice en Data

The want also to use the cisco as data gateway 10.49.10.19.
Pieter 't Hart
Honored Contributor

Re: VLAN Voice en Data

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.
breejedurpers
Advisor

Re: VLAN Voice en Data

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?
Pieter 't Hart
Honored Contributor

Re: VLAN Voice en Data

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.
breejedurpers
Advisor

Re: VLAN Voice en Data

Sorry but today I have a conversation and the people are speaking if this possible.
breejedurpers
Advisor

Re: VLAN Voice en Data

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?
Pieter 't Hart
Honored Contributor

Re: VLAN Voice en Data

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?
breejedurpers
Advisor

Re: VLAN Voice en Data

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