Results 1 to 7 of 7

Thread: Ping By Mac Address

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    42

    Question Ping By Mac Address

    I am looking to find some network printers that were deployed into my network. I have the Mac Adresses of the cards....is it possible to ping a mac Address?

  2. #2
    Advanced Member
    Join Date
    Dec 2001
    Location
    NY
    Posts
    688
    What kind of hardware do you have for your network? You could look at the arp table of the switch and find that MAC, and its associated IP, and ping it that way.

  3. #3
    Administrator YeOldeStonecat's Avatar
    Join Date
    Jan 2001
    Location
    Somewhere along the shoreline in New England
    Posts
    51,151
    It gets lengthy trying that approach..and making fake static arp entries...

    Easiest thing...look at your DHCP server for leases...find the MAC there.
    Or do to the print server..and print a config page...
    Once you have that IP address..you can log in using telnet or even Internet Explorer on most print servers..what I prefer to do..is assign them a static IP address outside of the normal DHCP pool.
    If it's been hard coded to some IP address outside of your networks DHCP range...take something like a laptop or workstation..temporarily give it a static IP in the range that your print server is in..then log in and change it. Or..there's usually a method of doing a hard reset at the print server itself..which will revert it back to "obtain auto"..then flip your workstation back to normal..and look at your DHCP service..find the IP it took..log in..and give it a static one.
    MORNING WOOD Lumber Company
    Guinness for Strength!!!

  4. #4
    Advanced Member
    Join Date
    Dec 2001
    Location
    NY
    Posts
    688
    I don't know, I just started working on a network that has some devices all over the place, logically speaking anyway.

    Telnet to switch, show arp, find the MAC associated with the device, and it has the IP right there. Takes les than a minute, and works well for me. Also works even if it is a static IP or any other sort of weird issue which might mean it doesn't show up on a server.

    Hopefully the printers are using static IPs, otherwise it could cause problems connecting to them. If you can physically go the the printer, or know which one they are on the network config pages will get you what you need to. Easiest way would be just go to the printer and print a config page from the print menu directly, no PC connection involved.

  5. #5
    distance32
    Guest
    I have a backup snap server that is not currently on the network but has a MAC address written on the back. I am trying to hack into the system but need an IP address to reach it. How would I figure out the IP without being on the network

  6. #6
    mbirton
    Guest
    Quote Originally Posted by jorefice View Post
    I am looking to find some network printers that were deployed into my network. I have the Mac Adresses of the cards....is it possible to ping a mac Address?
    arp -s fake.ip.addr real.mac.addr

    e.g.:
    arp -s 192.168.2.2 00-0c-0d-ef-02-03
    ping 192.168.2.2


  7. #7
    Junior Member
    Join Date
    Mar 2009
    Posts
    2
    arp -s fake.ip.addr real.mac.addr

    e.g.:
    arp -s 192.168.2.2 00-0c-0d-ef-02-03
    ping 192.168.2.2
    actually this won't work unless the printer's nic is configured with the ip address of 192.168.2.2. the packet will get there but it will be discarded when it gets to the network layer of the network stack.

    example on my network:

    from my windows machine:

    arp -s 192.168.1.55 00-0C-6E-1C-A4-8C
    this sets a static mapping of mac to ip address, thus preventing the windows machine from broadcasting for the mac address when it wants to ping the 192.168.1.55 ip address. the real ip address of the 00-0C-6E-1C-A4-8C nic is 192.168.1.202. so when i ping 192.168.1.55 the packet does go there (ping echo-request); however there is no response (ping echo-reply). the following is output from the tcpdump command on the other machine on my network (it is linux):

    sudo tcpdump host 192.168.1.8 and not port 22 and not port 80
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
    20:35:45.341337 IP 192.168.1.8 > 192.168.1.55: ICMP echo request, id 512, seq 768, length 40
    this illustrates that the packet does get there, but there is no return because the nic doesn't have that ip address.

    if you really want to know the ip address of the printer then get a cross-over cable and connect your pc and your printer. install a program like wireshark and just just listen for packets. eventually you'll probably see some traffic from the printer that will identify it's ip address. then you can configure your pc to be on the same network and connect via http or telnet or whatever the printer supports. or you can do what another poster suggested and reset the printer and look through the logs of your dhcp server on your network (whether that be your home "router" or something else).

Similar Threads

  1. How do I change MAC address on wireless card?
    By SlickWilly440 in forum Wireless Networks & Routers
    Replies: 6
    Last Post: 07-19-08, 11:48 AM
  2. Question about MAC address Masking
    By Insideyourhead in forum General Broadband Forum
    Replies: 4
    Last Post: 01-09-06, 03:36 AM
  3. which one of these is my MAC address ?
    By Mark in forum General Discussion Board
    Replies: 15
    Last Post: 08-06-05, 12:19 PM
  4. new mac address
    By syst3m0v3rl0ad in forum Networking Forum
    Replies: 10
    Last Post: 05-27-05, 02:18 PM
  5. ping computer name
    By NightShyamalan in forum Networking Forum
    Replies: 3
    Last Post: 04-25-05, 06:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •