Thursday, October 27, 2011

CCNP TSHOOT - Ticket 5


Check in Client1 first whether it's getting IP address from DHCP server or not.


Client1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES DHCP   up                    up  
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
-------------
No IP address is getting in Client1. So, the problem will be in following devices.

- ASW1 (switch port access vlan )
- DSW1 (EIGRP ip routing)
- ASW1 (switchport trunk allowed vlan)
- R4 (Wrong EIGRP AS)
- DSW1 (ip helpder-address to DHCP server, R4)
--------------------------------------
Let's check in ASW1 first. To know which port is attach to ASW1, do as follow in ASW1


ASW1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
FastEthernet1/0            unassigned      YES unset  up                    up
-------------
Then, check detail config of FastEthernet1/0 using "sh run"


interface FastEthernet1/0
!
interface FastEthernet1/1
!
interface FastEthernet1/2
 switchport access vlan 10
---------
As seeing in above config of FastEthernet1/0, it is different with FastEthernet1/2 which is in vlan 10.
So, let's add access vlan 10 in FastEthernet1/0

ASW1(config)# int fa1/0
ASW1(config-if)#switchport access vlan 10

Wait for a few seconds and check in Client1 as follow whether it's getting IP address or not. 
If still not getting IP address, shut down the interface and enable again as follow.

Client1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES DHCP   up                    up  
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Client1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Client1(config)#int fa0/0
Client1(config-if)#shut
Client1(config-if)#no shut
Client1(config-if)#^Z
Client1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            10.2.1.3        YES DHCP   up                    up  
FastEthernet0/1            unassigned      YES NVRAM  administratively down down

So, the error is in ASW1, topology in error access vlan and can fix by adding "switchport access vlan 10"

6 comments:

  1. I downloaded the labs but in all the 10 tickets the Client1 has NOT been assigned the ip (10.2.1.3).

    Also I cant see any vlans configured. My output doesnt match the show ip eigrp neighbors output regarding VLANs.

    Can anyone help please.

    ReplyDelete
    Replies
    1. Go to ASW1 and DSW1 add these vlans

      Vlan database

      vlan 10
      vlan 555
      vlan 200

      exit

      Delete
  2. Took forever, but di finally add ASW1#vlan database
    once I added Vlan 10 to the vlan database I was able to follow the interfaces between client 1 and R4 and check that switchport access vlan 10 was added under each interface, once I added this to each port the client was able to obtain an IP from DHCP successfully *whew* .. was kind of thrown off that I didnt seem to be able to configure actual Vlans to the GNS3 router..

    ReplyDelete
  3. hi guys .i just downloaded the lab i have that problem that not get ip address for client 1.but i tried to add vlan 10 on asw1 but wouldnt take that command ?

    ReplyDelete
  4. Hi Halo
    This is the commands:
    ASW1#vlan database
    ASW1(vlan)#vlan 10 name Datos
    VLAN 10 modified:
    Name: Datos

    ReplyDelete
  5. make sure to type exit when using the old vlan database command or the vlan won't configure

    ReplyDelete