cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1570
Views
0
Helpful
9
Replies

VLAN communication problem

Xzap61170
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

9 Replies 9

Jon Marshall
Hall of Fame
Hall of Fame

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

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.

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.

Xzap61170
Level 1
Level 1

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

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.

Xzap61170
Level 1
Level 1

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

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.

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

Hi,

you must do router on a stick on your router.

Regards.

Don't forget to rate helpful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: