- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2010 02:05 AM - edited 03-06-2019 02:11 PM
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
Solved! Go to Solution.
- Labels:
-
LAN Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2010 06:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2010 02:07 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2010 02:21 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2010 02:36 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2010 03:14 AM
A dhcp relay don't resolve my problem,because my virtual machines in my vmware server can't ping the routeur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2010 03:41 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2010 05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2010 06:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2010 06:57 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2010 02:09 PM
Hi,
you must do router on a stick on your router.
Regards.
