03-11-2013 02:49 PM
Hi Everyone
I need some help.
On my cisco switch/router i have created 4 vlans, using the below interfaces
192.168.1.254 if the ip address of the switch
port 1 which is vlan1 is connected to my Netgear WDNR4500 Wirelss Router
The remain ports are connected to seperate network cards, on my VMWare Esxi host.
When i create VM's within each individual vlan communication is fine and i can ping vms on the different vlans,
My issue is i do not get any internet access from any device connected to the specified vlans, except for vlan1
If i ssh into my switch i am able to ping my isp's dns servers 194.168.4.100, but from all other vlans its not possible.
Not really sure what i have done wrong or what i need to get internet access for my vm's.
In my netgear router, which is 192.168.1.1 i have configured the following statis routes.
All vm's connected to the different vlan can ping 192.168.1.1, but it appears communication stops there, it cannot go beyond.
When i do a tracet from a vm connected to vlan 10, i get timeouts after it reaches 192.168.1.1
My laptop which is connected to 192.168.1 network is able to tracert beyong my router.
If anyone could help or provide some input, it would be appreciated.
Anymore information is required please let me know, i am a novice, hence why i am not sure how to resolve this issue.
Thank you all.
Solved! Go to Solution.
03-12-2013 10:31 AM
Hi Jitesh, that is correct behavior. The default gateway need to be the vlan interface Ip address.
If vlan 20 is 192.168.20.1 then any machine connecting in vlan20 gateway should be 192.168.20.1
-Tom
Please mark answered for helpful posts
03-11-2013 09:49 PM
Hello,
Make sure the clients in VLANs 10,20,30, and 50 are using 192.168.1.254 as their default gateway. Also be sure the switch has a default ip route that points to the router supplying the internet access (but it sounds like you have that bit working, since VLAN1 has internet access). Finally if you have traffic NATing in from the internet that needs to reach one of the VLANs, add static route(s) on the edge router to point back to the VLAN, e.g.
ip route 192.168.30.0 255.255.255.0 192.168.1.254
03-12-2013 09:39 AM
if i set my windows 2008 vm's to to have a default gateway of 192.168.1.254, but soon as i do that.
i am unable to ping any machines in the different vlans once gateway ip address is changed.
03-12-2013 10:31 AM
Hi Jitesh, that is correct behavior. The default gateway need to be the vlan interface Ip address.
If vlan 20 is 192.168.20.1 then any machine connecting in vlan20 gateway should be 192.168.20.1
-Tom
Please mark answered for helpful posts
03-12-2013 10:42 AM
Hi Tom
But i need to find a solution, to allow my vm's connected to vlan 192.168.20.0 network to have internet access.
Which is the real issue i am facing.
Inrter Vlan i can ping and communicate, but i dont seem to have any internet connctivity.
Port1 which is Vlan 1 ip 192.168.1.254, is connected to my home Netgear wdnr 4500 cable router.
Maybe i need to do something on Port1 to allow traffic from all other vlans to cross it out to the real world, but how to do this i do not know.
The router, is then connected to a cable modem, supplied by my ISP.
03-12-2013 05:43 PM
Hi Jitesh, Brayton is correct about the static route.
Please reference this post for clarification.
https://supportforums.cisco.com/thread/2123434
-Tom
Please mark answered for helpful posts
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