I have a router connected to a switch. I know the IP of the router and the port its connected to on the switch. The switch is not labelled but I have a suspicion I know which IP Address. I want to check if the router is connected to this switch on this port.
I need the router MAC Address. How do I find it? The switch is an HP and the cable runs from Fe0/0 on the router to the port on the switch.
The Sybex CCNA reviewer is a good book. Here are some tips for subnetting.
If you're given a /28, identify the masked bits (1) and unmasked bits (0). 2^(masked bits) will be your no. of subnets and (2^[unmasked bits]-2) will be your no. of hosts.
/28 -> 11111111.11111111.11111111.11110000
Masked bits = 1111 = 4
Unmasked bits = 0000 =4
No. of subnets = 2^4 = 16 if ip subnet 0 is not allowed but you have to remove the first and last subnet giving you a total of 14 subnets.
No. of hosts = (2^4)-2 = 14 because the network and broadcast address is not used.
To identify the network address, find the decimal eqivalent of the octet. For example, 11110000 gives you 240. Then subtract it from 256. This will be your block size thus your 1st address will be .0 then .16 then so on... Your broadcast address is 1 less than the next network address like .15 then .31 and so on...
Class C /26 -> 11111111.11111111.11111111.11000000
Masked bits = 11 = 2
Unmasked bits = 000000 = 6
No. of subnets = 2^2 = 4
No. of hosts = (2^6)-2 = 62
256 - 192 = 64
Network address = .0, .64, .128 and so on...
Broadcast address = .63, .127, .191 and so on...
This also applies to Class A and Class B but raising 2 to unmasked bits of more than 8 is quite difficult to calculate mentally. ?
I have also attached an excel file about subnetting.
I am sure the HP Switches also run CDP. So if you are signed on the Router then type in "show cdp neigh" or "show cdp neigh detail". It will give the information about the switch and switchport where this router is connected. You will also get the other useful information about that Switch including Switch Hardware, software, ip address, switch port, speed and duplex etc.
If I understand correctly you may be able to do the following :
1) if your PC is in the same subnet as the IP you suspect is the switch, then ping the IP and afterwards run the ARP -a command which will display the contents of the PCs ARP cache, find the MAC associated with the IP, then check to see if the vendor block is one owned by HP.
2) if your PC is NOT in the same subnet :
- ping the suspected switch IP to ensure that the MAC address is in the table (they time out after 5 minutes)
- sho mac-a dyn int fa0/0 (assuming IOS)
* this will give you the complete list of MACs on that port
- sho arp
* you should find the suspect IP and it's associated MAC, which should also be in the list displayed above, and again you can check thatthe vendor block is owned by HP
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...