02-15-2018 01:27 AM - edited 03-08-2019 01:51 PM
PC1-192.168.10.2
PC2- 192.168.10.3
under Vlan 10
PC3-192.168.20.3
PC4. 192.168.20.4
under Vlan 20
Router default gateway
192.168.10.1. for vlan 10
192.168.20.1 for vlan 20
I can ping 1 and 2 and 2 and 4 in the same Vlan but I cant ping across from vlan 1 to vlan 2 see attachments how i have it set up
I did input the default gateway info under ipconfig on each pc
What am i doing wrong?
thanks in advance
Solved! Go to Solution.
02-15-2018 12:48 PM
Hello,
for the sake of clarity, I recreated the lab (see attachment). Rename the .jpg to .pkt and open in Packet Tracer Version 7.1.1.
02-15-2018 01:36 AM
Hi,
I can see that you have connected L2 switch to system and L2 switches are connected to router. So your system default gateway must be your router interface IP.
If you configured already default gateway as router interface IP then please share router routing or check for any ACL configuration.
Why we need router interface IP as default gateway on your system?
Because your switch is L2 and could not perform inter vlan routing.
Regards,
Deepak Kumar
02-15-2018 01:38 AM
02-15-2018 01:47 AM - edited 02-15-2018 01:50 AM
whow whoowww whooowwwww fancy talking.....im just a noob here.
im just reading and following what the book tells me to do.
it said L2 switches cant do it so therefore i use a router to do it.
i inputed the numbers above made the vlans and such
but still cant ping from 1 vlan to another
I dont know what a stick design means or is I am just on chapter 2 here.
or sub interface what? only sub i know is sub netting lol.
02-15-2018 02:13 AM
02-15-2018 09:35 AM
I am drawing a blank. Says nothing about trunking here in the book
its an excercise about connecting 3 ways
1. physical router
2. subinterfaces
3. switched virtual interfaces
right now im working on lab 1.
i did everything right but there is a section in the paragraph that talks about
vlan 10 has a subnet of 192.168.10.0
i dont remember putting in any subnets just ip address on the router and computers. could this be the missing link?
02-15-2018 09:51 AM
02-15-2018 10:08 AM
02-15-2018 10:09 AM
02-15-2018 10:03 AM
ok so I am also noticing that I cant ping the router ether
hmmmmm.......but i can ping the computer in the vlan.....hmmmmm
02-15-2018 10:54 AM - edited 02-15-2018 10:54 AM
You are not using a trunk, you are using a separate physical interface for each vlan on the router.
So using vlan 10 as example, allocate ports for PCs and the port connecting to router into vlan 10 and assign IPs to PCs and an IP to router interface from vlan 10 subnet.
The default gateway for the PCs in vlan 10 will be the IP assigned to the router interface.
Jon
02-15-2018 11:55 AM - edited 02-15-2018 11:57 AM
i did that and it didnt work
1. I cant ping the router
2. I cant ping Vlan 10 to Vlan 20
3. none can ping router
I. I can ping inside vlan 10 and between vlan 20
02-15-2018 11:59 AM - edited 02-15-2018 12:01 PM
Sorry you were obviously still typing.
Post switch and router configs plus -
“show vlan brief”
from the switch.
Jon
02-16-2018 12:43 PM
ok so i figured it out. The wire from the router to the switch
needed to be trunked. I have been trunk the host to the switch LOL.
man why dont books just say that urghhhh 3 days to figure that crap out
02-16-2018 12:44 PM
thanks for everybodys help..
now gotta practice this to memory
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