02-18-2018 05:57 PM - edited 03-08-2019 01:54 PM
WHAT IS WRONG?????????????
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
nothing pings
anywhere
Solved! Go to Solution.
02-19-2018 12:03 PM
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
02-19-2018 12:00 PM
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
02-19-2018 12:06 PM
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)
02-19-2018 12:08 PM
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
02-19-2018 03:06 PM
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
02-19-2018 03:15 PM
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
02-20-2018 10:28 AM
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.
02-20-2018 11:02 AM
Hi
Your configuration is good, it indicates a bug on the PT. Try creating other file with different device models.
:-)
02-21-2018 01:46 AM - edited 02-21-2018 01:50 AM
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.
02-21-2018 01:54 AM
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.
02-21-2018 05:44 AM - edited 02-21-2018 06:08 AM
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.
:-)
03-01-2018 03:34 AM
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!
03-01-2018 04:14 AM
Hi
Yes, it was pointing to a bug.
Have a good day
:-)
03-01-2018 08:06 AM
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
02-21-2018 06:45 AM
Hello
Rtr
conf t
Ip routing
switch
conf t
no ip routing
res
Paul
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: