09-24-2012 03:57 AM - edited 03-07-2019 09:03 AM
hi ,
i have the topology below :
"Vmware pc"<===="PC"<==========>switched 2960<=======>-Gi0/1-Router
note that:
PC is the physical computer and inside it nother operating sysetm called "vmware pc"
on router , we have an ip from vlan 1 on the physical interface.
on router there is subinterface to vlan 13
note the link from PC to switch 2960 is configured with trunk
noe that physical pc has an ip from vlan 1 whch has from the subnet of Gi0/1 on the router ,
note that on vmware virtual mahcine has an ip from vlan 13 whcih is from subnet of interface Gi0/1.13
i configured PC and Vmware pc to be in bridged mode .
here is interfaces configs on router:
=============================================
interface GigabitEthernet0/1
description Internet From Gateway
ip address xx.160.xx.xx 255.255.255.0 secondary
ip address 20.xx..xx.xx 255.255.255.0
!
interface GigabitEthernet0/1.13
description OFFICE-VLAN
encapsulation dot1Q 13
ip address zz.zz.zz.zz 255.255.255.224
================================================
my problem is
if i configured trunk port between PC and switch ,
only PC can reach its gateway , but the virtual machine cant see its gateway
if i configured access port between PC and switch with vlan 1
only PC can reach its gateway , but the virtual machine cant see its gateway
if i configured access port between PC and switch with vlan 13
only the virtual machine can reach its gateway but PC cant reach its gateway
my question is , how to let both " PC and virtual machine to reach thier gateways "
why the trunk mode between PC and switch couldnt solve the problem ??????
regards
09-24-2012 08:58 AM
Hi Ahmed
did you verify that the PC NIC supports 802.1q?,
and i also assumme that you are using vmware workstation and i am almost sure that it doesn't support vlan tagging, when you put a virtual machine in bridge mode, it just connect the VM to the same vlan of the physycal PC.
anyway you could check in google if there is a way to implementing on vmware workstation.
assuming that vmware tags the virtual machine frames, and your NIC supports it, the trunk port configuration on the switch is the right.
regards,
Julio Cesar.
09-24-2012 09:42 AM
sir vmware workstation does not support vlan tagging so please try on vmware server.
09-24-2012 09:47 AM
hi ,
thanks all , it seems my config is correct ,
i will try vmware server and test tagging .
regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide