cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2130
Views
0
Helpful
30
Replies

This is my last attempt on routing on a STICK!

WIZARD1325
Level 1
Level 1

WHAT IS WRONG?????????????

 

PC1.jpgPC2.jpg

ROUTER

interface FastEthernet0/0

no ip address

duplex auto

speed auto

 

interface FastEthernet0/0.1

encapsulation dot1Q 10

ip address 192.168.10.1 255.255.255.0

!

interface FastEthernet0/0.2

encapsulation dot1Q 20

ip address 192.168.20.1 255.255.255.0

 

SWITCH

interface GigabitEthernet1/0/1

switchport access vlan 10

!

interface GigabitEthernet1/0/2

switchport access vlan 20

 

interface GigabitEthernet1/0/24

switchport trunk encapsulation dot1q

switchport mode trunk

 

 

setup.jpgnothing pings

anywhere

1 Accepted Solution

Accepted Solutions

So I finally got around to using my LIVE equipment. I can say 100%

 

Packet Tracer is Flawed I can't believe something as simple as routing on a stick does not work on Packet Tracer.

 

I was able to replicate all the same input as shown above and worked flawlessly with My Live equipment!

 

Holy crap man, I dont trust packet tracer anymore, i been struggling for weeks on this crap! I am using my Live stuff from now on.

 

Thanks for everybodys input I learn some new tricks from you guys using ARP and such

thanks again.

View solution in original post

30 Replies 30

Hi

The problem is:

interface FastEthernet0/0.1

encapsulation dot1Q 1 native  <---- it should be 10 and remove the "native" word. 

ip address 192.168.10.1 255.255.255.0

!

interface FastEthernet0/0.2

encapsulation dot1Q 2  <---- it should be 20

ip address 192.168.20.1 255.255.255.0

 

A suggestion is try to keep and standard for example if the encapsulation is 10 (encapsulation dot1q 10) the sub-interface should be f0/0.10 as well, it will be useful to identify the related configuration.

 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

standby,

 

and Nope that didn't fix anything still can't ping between computers

or router etc

 

Post output of following from switch - 

 

"sh int trunk"

"sh vlan brief" 

 

Jon

Have you verified the computers are connected to the proper ports, can the PCs ping to their gateways? For example the PC 192.168.10.10 can ping the gateway 192.168.10.1?




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

No it cant ping its own gateway

Hi

Alright, have you verified the proper cabling on the packet tracer, if the VLANs are created, it could be a bug, try with other switch or verify if the computers are associated to the specific VLAN. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Tried on 2 computers using packet tracer

 

Started from scratch same results

 

Using straight through cabling

 

 

Should there be a cross over cable for the switch to router?

Hi

No, straight cable can be used. You configuration should be:

 

ROUTER

 

interface fa0/0

description TO-SWITCH

no shutdown

 

interface fa0/0.10

description VLAN10

encapsulation dot1q 10

ip address 192.168.10.1 255.255.255.0

no shutdown

 

interface fa0/0.20

description VLAN20

encapsulation dot1q 20

ip address 192.168.20.1 255.255.255.0

no shutdown

 

 

SWITCH

 

vlan 10

name PC1

vlan 20

name PC2

 

interface g1/0/1

description PC1

no shutdown

switchport

switchport mode access

switchport access vlan 10

 

interface g1/0/2

description PC2

no shutdown

switchport

switchport mode access

switchport access vlan 20

 

interface g1/0/24

description TO-ROUTER

no shutdown

switchport

switchport mode trunk

 

 

PC 1

ip address 192.168.10.10

subnet mask 255.255.255.0

default gateway 192.168.10.1

 

PC 2

ip address 192.168.20.20

subnet mask 255.255.255.0

default gateway 192.168.20.1

 

 

:-)

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Clearly something is not set up right and at this point we do not know if it is an issue on the router or on the switch. Jon has suggested two good commands to use on the switch to investigate possible issues on the switch. I would suggest that the output of show interface status on the switch would be helpful. On the router would you post the output of these commands show ip protocol, show ip interface brief,  show ip route, and show arp.

 

HTH

 

Rick

HTH

Rick

Switch#sh int trunk

Port Mode Encapsulation Status Native vlan

Gig1/0/24 on 802.1q trunking 1

 

Port Vlans allowed on trunk

Gig1/0/24 1-1005

 

Port Vlans allowed and active in management domain

Gig1/0/24 1,10,20

 

Port Vlans in spanning tree forwarding state and not pruned

Gig1/0/24 1,10,20

 

Switch#sh vlan brief

 

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Gig1/0/3, Gig1/0/4, Gig1/0/5, Gig1/0/6

Gig1/0/7, Gig1/0/8, Gig1/0/9, Gig1/0/10

Gig1/0/11, Gig1/0/12, Gig1/0/13, Gig1/0/14

Gig1/0/15, Gig1/0/16, Gig1/0/17, Gig1/0/18

Gig1/0/19, Gig1/0/20, Gig1/0/21, Gig1/0/22

Gig1/0/23, Gig1/1/1, Gig1/1/2, Gig1/1/3

Gig1/1/4

10 cookies active Gig1/0/1

20 chips active Gig1/0/2

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

 

 

Gig1/0/1 connected 10 auto auto 10/100BaseTX

Gig1/0/2 connected 20 auto auto

Hi

Compare the configuration shared above or try with other devices. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

i just did one from scratch excatly how you put it

 

I still cannot ping anybody WTF MAN!!!!!

does anybody have team viewer

 

so they can see what im talking about?

Please post the output of the commands that I requested. It might also help if you post full running config of both router and switch.

 

HTH

 

Rick

HTH

Rick
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:

Review Cisco Networking products for a $25 gift card