Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

VLAN communication problem

Hello,

I am searching a solution for sharing connection in my differents vlans, I have a dhcp server connected to the switch in a vlan and 4 others vlans in the switch. I have a vmware server with 2 vlans.

I want access to the dchp server trough my vmware and switch vlans.

Somebody can help me ?

Switch : Cisco Catalyst 3500 XL series

VMware Server : VMware ESXI 3.5

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: VLAN communication problem

Your vmware contains 2 VLANs and so you must configure your link from vmware to switch as a trunk:

-sw tr encap dot          force dot1Q encapsulation

-sw mo tr                   force your port to trunk mode

-sw non                     disable dtp on your port

You'll have to configure the NIC of your vmware for dot1q also.

Let us know.

Regards.

Don't forget to rate helpful posts.
9 REPLIES
Hall of Fame Super Blue

Re: VLAN communication problem

Xzap61170 wrote:

Hello,

I am searching a solution for sharing connection in my differents vlans, I have a dhcp server connected to the switch in a vlan and 4 others vlans in the switch. I have a vmware server with 2 vlans.

I want access to the dchp server trough my vmware and switch vlans.

Somebody can help me ?

Anthony

What make and model of switch is it.

Exactly what are you trying to do ie. is it simply to have each vlan get it's IP from the DHCP server and then to be able to communicate between vlans ?

Jon

New Member

Re: VLAN communication problem

I am using a  Cisco Catalyst 3500 XL series.

I want to access to Internet in all of my vlans (in the switch and in the server).

In the switch the vlan ID 3 can be accessed by everybody and it's the same for the vlan ID 1(Internet).

In the server there are 2 vlans, (vlan LAN and vlan DMZ). vlans must access to Internet.

Purple

Re: VLAN communication problem

I want access to the dchp server trough my vmware and switch vlans.

So you need to have a dhcp relay agent if you want to get dhcp info coming from another broadcast domain.

This can be done on a cisco router or L3 switch by issuing the command ip helper-address x.x.x.x on the interface receiving the dhcp requests,  where x.x.x.x is the ip address of your dhcp server.

So this way your broadcast requests will be unicast and the dhcp server will know which pool to use.

Regards.

Don't forget to rate helpful posts.
New Member

Re: VLAN communication problem

A dhcp relay don't resolve my problem,because my virtual machines in my vmware server can't ping the routeur

Purple

Re: VLAN communication problem

Are those pings received by the router and the replies sent back from the router ( do a debug ip packet 101 where 101 is an acl permitting pings from your server to your router )  and if so received by your servers?

regards.

Don't forget to rate helpful posts.
New Member

Re: VLAN communication problem

http://www.hiboox.fr/go/images/informatique/config-reseau,0fce82100836bdee8ec14e48ee54bb9b.png.html

Purple

Re: VLAN communication problem

Your vmware contains 2 VLANs and so you must configure your link from vmware to switch as a trunk:

-sw tr encap dot          force dot1Q encapsulation

-sw mo tr                   force your port to trunk mode

-sw non                     disable dtp on your port

You'll have to configure the NIC of your vmware for dot1q also.

Let us know.

Regards.

Don't forget to rate helpful posts.
New Member

Re: VLAN communication problem

Thanks but I don't know how to share my Internet connection with my other vlans..

Can you explain me ? I have configure my port 1 like this :

cisco_3500XL#sh int f0/1 switchport
Name: Fa0/1
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 5 (Internet)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1-5
Pruning VLANs Enabled: 2-1001

Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
Self Loopback: No

Purple

Re: VLAN communication problem

Hi,

you must do router on a stick on your router.

Regards.

Don't forget to rate helpful posts.
982
Views
0
Helpful
9
Replies
CreatePlease to create content