Jump to content
Guest

CISCO: Cum sa afli ce server utilizeaza un IP

Recommended Posts

Pentru ca in setup-urile basic, se mai incurca IP-uri, unde configuratia este non-DHCP, statica si subnetting-ul este realizat in modul clasic, cu gateway-ul .1 ridicat pe vlan.

In primul rand, tre sa aflam ce MAC utilizeaza IP-ul, iar pentru asta, rulam in modul exec:

show ip arp 192.168.0.90

Vom primi un output asemanator cu:

rst.test.gw#show ip arp 192.168.0.90
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.0.90 14 00xx.0xxx.xxx0 ARPA Vlan50

Care ne spune ca IP-ul 192.168.0.90 este folosit de echipamentul cu MAC-ul 00xx.0xxx.xxx0, care la randul lui primeste mode-access in vlan50.

Apoi, mai ramane sa vedem doar ce port fizic este folosit in switch, de echipamentul 00xx.0xxx.xxx0, iar asta o vom realiza cu ajutorul comenzii

show mac address-table dynamic address 00xx.0xxx.xxx0

Afisand output-ul:

rst.test.gw#show mac address-table dynamic address 00xx.0xxx.xxx0
Unicast Entries
vlan mac address type protocols port
-------+---------------+--------+---------------------+--------------------
50 00xx.0xxx.xxx0 dynamic ip,ipx,assigned,other GigabitEthernet1/8

Aici vedem faptul ca interfata G1/8 este conectata catre echipamentul 00xx.0xxx.xxx0, avand acces in vlan50.

Acum, avem doua variante:

1) ne ducem fizic la switch sa vedem unde merge firu', sau daca nu putem face asta...

2) ne uitam in descrierea interfetei, ce nume am dat echipamentului

Pentru a continua tutorialul, alegem var. 2, iar pentru asta verificam config-ul interfetei:

show run int g1/8

Care ne va da un output similar cu:


rst.test.gw#show run int gi1/8
Building configuration...

Current configuration : 160 bytes
!
interface GigabitEthernet1/8
description RSTSERVER-NR12
switchport access vlan 50
switchport mode access
switchport nonegotiate
logging event link-status
end

Asadar, am aflat ca IP-ul 192.168.0.90 este folosit de catre echipamentul cu MAC-ul 00xx.0xxx.xxx0, care este conectat in portul GigabitEthernet1/8 si pe care l-am etichetat ca fiind RSTSERVER-NR12. Deci IP-ul 192.168.0.90 este folosit de serverul RSTSERVER-NR12.

Basic NOC activity ends here. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...