cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2068
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

30 Replies 30

Router#show run

Building configuration...

 

Current configuration : 727 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Router

!

!

!

!

!

!

!

!

ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

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

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

 

 

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

 

Switch#show run

Building configuration...

 

Current configuration : 1550 bytes

!

version 16.3.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Switch

!

!

!

!

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface GigabitEthernet1/0/1

switchport access vlan 10

switchport mode access

switchport nonegotiate

!

interface GigabitEthernet1/0/2

switchport access vlan 20

switchport mode access

switchport nonegotiate

!

interface GigabitEthernet1/0/3

!

interface GigabitEthernet1/0/4

!

interface GigabitEthernet1/0/5

!

interface GigabitEthernet1/0/6

!

interface GigabitEthernet1/0/7

!

interface GigabitEthernet1/0/8

!

interface GigabitEthernet1/0/9

!

interface GigabitEthernet1/0/10

!

interface GigabitEthernet1/0/11

!

interface GigabitEthernet1/0/12

!

interface GigabitEthernet1/0/13

!

interface GigabitEthernet1/0/14

!

interface GigabitEthernet1/0/15

!

interface GigabitEthernet1/0/16

!

interface GigabitEthernet1/0/17

!

interface GigabitEthernet1/0/18

!

interface GigabitEthernet1/0/19

!

interface GigabitEthernet1/0/20

!

interface GigabitEthernet1/0/21

!

interface GigabitEthernet1/0/22

!

interface GigabitEthernet1/0/23

!

interface GigabitEthernet1/0/24

switchport trunk encapsulation dot1q

switchport mode trunk

!

interface GigabitEthernet1/1/1

!

interface GigabitEthernet1/1/2

!

interface GigabitEthernet1/1/3

!

interface GigabitEthernet1/1/4

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

 

 

Router#show ip int brief

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES unset up up

FastEthernet0/0.1 192.168.10.1 YES manual up up

FastEthernet0/0.2 192.168.20.1 YES manual up up

FastEthernet0/1 unassigned YES unset administratively down down

Vlan1 unassigned YES unset administratively down down

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

Router#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

 

Gateway of last resort is not set

 

C 192.168.10.0/24 is directly connected, FastEthernet0/0.1

C 192.168.20.0/24 is directly connected, FastEthernet0/0.2

 

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

nothing happens with protocol command or ARP

 

 

 

Can you please share the following outputs:

 

show ip int brief   (router and switch)

and

show interface status (it can run on the switch only)




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

Thank you for the outputs and for the configs. The router interfaces are up and up which is good to know. The routing entries do not show any problem. I am surprised that there is no arp output which makes me wonder if there is some issue with the connection to the switch. Is the cable connecting router and switch a straight through or a cross over? Would you post the output of show cdp neighbor from the router and from the switch?

 

HTH

 

Rick

HTH

Rick

Switch#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Device ID Local Intrfce Holdtme Capability Platform Port ID

Router Gig 1/0/24 179 R C2800 Fas 0/0

Router Gig 1/0/24 179 R C2800 Fas 0/0.1

Router Gig 1/0/24 179 R C2800 Fas 0/0.2

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

 

Router#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Device ID Local Intrfce Holdtme Capability Platform Port ID

 

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

 

looks like nothing is showing on the router end

This is very interesting. The switch does see the router as neighbor but the router does not see switch as neighbor. It suggests that there might be some issue producing one way communication. I am puzzled at what this issue would be.

 

HTH

 

Rick

HTH

Rick

Ok, so all my crusing and confusing and getting pissy isnt in vein. Im just learning this stuff and im like this is basics 101 and im struggling like hell on it.

 

So its not just me going crazy! This makes me feel is IT the right field for me. 

Hi

Your configuration is good, it indicates a bug on the PT. Try creating other file with different device models.

:-)




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

So I tried Traceroute on the router

 

and tracert for the PC  and they all had timeouts.

 

routers not showing the switch on CDP neighbors command. But the router shows up on CDP neighbor command on the switch.

 

hmmmm.......I also tried to find a debug ARP command, but the router doesnt seem to have that function to even do it. 

 

Thats as advance as i get with trouble shooting at my knowledge

=0(

 

stupid question for you guys but not for me but....ummmm

 

would it have anything to do with that the Switch has fast ethernet ports and the router has gigaethernet ports or vise versa? Common sense tells me no. But just had to ask.

I have a Cisco switch 3750 and router 2811 (real world equipment I can test this lab on but I dont have 2 PCS to Vlan with. I have to i guess buy a $100 beater labtop on letgo or something.

Hi

The computers are not required, you could use the Interface vlan, for example

 

Switch

 

vlan 10

vlan 20

 

interface vlan 10

no shutdown

192.168.10.10 255.255.255.0

 

interface vlan 20

no shutdown

192.168.20.20 255.255.255.0

 

int g1/0/24

switchport trunk encapsulation dot1q

switchport mode trunk

no shutdown

 

If there is no router the VLANs will not able to communicate until you set up the router and create the router-on-a-stick scheme.

 

:-)




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

Thats all been done it still doesnt work!

 

I used live equipment and everything seem to work just fine

 

it was a Packet Tracer bug!

Hi

Yes, it was pointing to a bug. 

Have a good day

:-)




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

Glad you got it worked out. Sorry for the frustration along the way - but that is frequently the way that it is with networking. Certainly one of the lessons from this is to be cautious when using emulators.

 

HTH

 

Rick

HTH

Rick

Hello

 

Rtr

conf t
Ip routing

switch
conf t

no ip routing

 

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
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: