Why isn't my basic vlan example working (cbt nuggets) can't tracert

gbdavidxgbdavidx Member Posts: 840
Why isn't my basic vlan example working (cbt nuggets) can't tracert and when I do it goes straight to itself from the pc
.50, (10.1.20.50)

PC>tracert 10.1.20.50


Tracing route to 10.1.20.50 over a maximum of 30 hops:


1 6 ms 4 ms 2 ms 10.1.20.50


Trace complete.



Switch(config-if)#do show runBuilding configuration...


Current configuration : 1271 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 20
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 20
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end

Router:
Router(config-if)#do show runBuilding configuration...


Current configuration : 496 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
 ip address 10.1.10.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 10.1.20.1 255.255.255.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end

Comments

  • TechGuru80TechGuru80 Member Posts: 1,539 ■■■■■■□□□□
    So you are trying to tracert on a PC to get that pc's ip?
  • TechGuru80TechGuru80 Member Posts: 1,539 ■■■■■■□□□□
  • gbdavidxgbdavidx Member Posts: 840
    i was trying to tracert to the other pc so that i could tell if it is working or not
  • xnxxnx Member Posts: 464 ■■■□□□□□□□
    You've not configured your router since this looks like a router on a stick example
    Getting There ...

    Lab Equipment: Using Cisco CSRs and 4 Switches currently
  • MAC_AddyMAC_Addy Member Posts: 1,740 ■■■■□□□□□□
    Like xnx, it looks like you need to configure ROAS for your configuration.
    2017 Certification Goals:
    CCNP R/S
  • late_collisionlate_collision Member Posts: 146
    What were the results you were expecting? It looks like it is working from this perspective (proxy-arp).

    For you guys suggesting that ROAS is not configured, what should be configured differently?
  • DCDDCD Member Posts: 475 ■■■■□□□□□□
    What TechGuru80 said, From the information you provide it works like it supposed to do. Also instead of saying PC say PC2 or PC3 and if you could upload the PT file that would help as well.
  • gbdavidxgbdavidx Member Posts: 840
    https://www.dropbox.com/s/kuak4ljjnfrdkgi/basic%20router%20on%20a%20stick.pkt

    this it, but according to CBT Nuggets this is the very basic that i'm trying to replicate, i should be able to do tracert from pc2 to pc3 and it should go through the router, but it is not...
  • networker050184networker050184 Mod Posts: 11,962 Mod
    Tracing to 10.1.20.50 from 10.1.20.50 has no reason to traverse a router. It's the same device.
    An expert is a man who has made all the mistakes which can be made.
  • gbdavidxgbdavidx Member Posts: 840
    I am trying to tracert pc 2 to pc3... 10.1.20.50 is not the same as 10.1.10.50, they are not the same device
  • networker050184networker050184 Mod Posts: 11,962 Mod
    So is the trace and ipconfig output you pasted above not from the same device? Can you do a traceroute and ipconfig from the same device and post the output? What you have should be enough to get you working. Who knows what works in Packet Tracer though. I've seen way too many people wasting time scratching their heads on something that would work on real IOS.
    An expert is a man who has made all the mistakes which can be made.
  • JeanMJeanM Member Posts: 1,117
    OP - In the above example you show 10.1.20.50 as the ip where you tracert to the same ip?

    Also, your config is missing stuff - Configuring InterVLAN Routing and ISL/802.1Q Trunking on a Catalyst 2900XL/3500XL/2950 Switch Using an External Router - Cisco

    No trunk port, no encapsulation...
    2015 goals - ccna voice / vmware vcp.
  • networker050184networker050184 Mod Posts: 11,962 Mod
    You don't need a trunk. You can have multiple interfaces two a switch in different VLANs.
    An expert is a man who has made all the mistakes which can be made.
  • TechGuru80TechGuru80 Member Posts: 1,539 ■■■■■■□□□□
    That is also a layer 3 switch which can accomplish the same thing as ROAS but I am not sure on the limitations of packet tracer or gns3.
  • gbdavidxgbdavidx Member Posts: 840
    according to CBT nuggets on his 1st example, no trunk ports or encapsulation was configured, i understand this is needed for subinterfaces only
Sign In or Register to comment.