mac network info

Here’s where things don’t look so good. The network utility tells me my IP address is 192.168.100. Fine, I don’t need that. But when I try to ping:

Ping has started ...
PING www.apple.com.akadns.net (17.112.152.32): 56 data bytes
64 bytes from 17.112.152.32: icmp_seq=0 ttl=47 time=179.253 MS
64 bytes from 17.112.152.32: icmp_seq=1 ttl=47 time=179.016 MS
64 bytes from 17.112.152.32: icmp_seq=2 ttl=47 time=178.869 MS
64 bytes from 17.112.152.32: icmp_seq=3 ttl=47 time=180.83 MS
64 bytes from 17.112.152.32: icmp_seq=4 ttl=47 time=178.881 MS
64 bytes from 17.112.152.32: icmp_seq=5 ttl=47 time=178.82 MS
64 bytes from 17.112.152.32: icmp_seq=6 ttl=47 time=178.789 MS
64 bytes from 17.112.152.32: icmp_seq=7 ttl=47 time=178.681 MS
64 bytes from 17.112.152.32: icmp_seq=8 ttl=47 time=178.936 MS
64 bytes from 17.112.152.32: icmp_seq=9 ttl=47 time=178.589 MS
--- www.apple.com.akadns.net ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 178.589/179.066/180.83 MS

But:

Ping has started ...
PING 192.168.2.102 (192.168.2.102): 56 data bytes
--- 192.168.2.102 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

So my Mac cannot see my PC, but my PC can see my Mac, so I don’t think it’s hardware related, but, like I said, I’m no network expert, I could be very wrong!

17 Responses to “mac network info”


  1. 1 dda  your flag — Korea (South) (definitely maybe)

    could you open in your Mac the Terminal app and run ifconfig -a and poste the results?

  2. 2 shaky  your flag — Hong Kong (definitely maybe)

    Hmm,

    ipconfig -a
    usage: ipconfig
    where is one of waitall, getifaddr, ifcount, getoption, getpacket, set
    $ man ipconfig
    No manual entry for ipconfig

  3. 3 Tom - Daai Tou Laam  your flag — Hong Kong (definitely maybe)

    hee hee… ipconfig is the dos command.

    “ifconfig -a” is what you’re looking for.

    You might also try
    “netstat -rn” which should give you the routing table for the machine.

  4. 4 dda  your flag — Japan (definitely maybe)

    right, ifconfig, typing too fast, thinking too little… :-(

  5. 5 ml  your flag — Hong Kong (definitely maybe)

    Is the MAC on the same subnet as the PC? Same Default Gateway etc?

  6. 6 shaky  your flag — Hong Kong (definitely maybe)

    Er, how do I tell that?

  7. 7 ml  your flag — Hong Kong (definitely maybe)

    The PC is 192.168.2.102 right?

    And above you wrote this:

    “my IP address is 192.168.100. Fine, ”

    So I’m not sure if you meant that the MAC’s IP is 192.168.2.100 or 192.168.100.something ???

  8. 8 shaky  your flag — Hong Kong (definitely maybe)

    PC is 192.168.2.102, Mac is 192.168.2.100

  9. 9 ml  your flag — Hong Kong (definitely maybe)

    Just wondering, are you manually setting all this info? It may possibly be better if the router (if it can) just act as a DHCP server?

  10. 10 shaky  your flag — Hong Kong (definitely maybe)

    I’m not manually setting anything. I believe the router is acting as the DCHP server.

  11. 11 ml  your flag — Hong Kong (definitely maybe)

    I’m not familiar with macs, but there should be a trace route kind of utility

    just type “tr” and see what options there are. It could be “traceroute” or “trcroute”

    once you locate it, see if you can trace a route to the PC.

  12. 12 Tom - Daai Tou Laam  your flag — Hong Kong (definitely maybe)

    It’ll be “traceroute”.

    And if you do “ifconfig -a” it will tell you the subnet.
    192.168.2.100 255.255.255.0 la dee da
    the 255.255.255.0 is the subnet mask. If it is 255.255.255.0 on one of the machines and 255.0.0.0 on the other, that probably is your source of problems.

    To spot the default gateway
    netstat -rn and look for default in the answer.

    We’ll get shaky up to snuff to do network programming in no time.

  13. 13 shaky  your flag — Hong Kong (definitely maybe)

    mac ifconfig -a gives:

    lo0: flags=8049 mtu 16384
    inet6 ::1 prefixlen 128
    inet6 fe80::1 prefixlen 64 scopeid 0×1
    inet 127.0.0.1 netmask 0xff000000
    gif0: flags=8010 mtu 1280
    stf0: flags=0> mtu 1280
    en0: flags=8863 mtu 1500
    inet6 fe80::20d:93ff:fe2c:a794 prefixlen 64 scopeid 0×4
    inet 192.168.2.100 netmask 0xffffff00 broadcast 192.168.2.255
    ether 00:0d:93:2c:a7:94
    media: autoselect (100baseTX ) status: active
    supported media: none autoselect 10baseT/UTP 10baseT/UTP 10baseT/UTP 100baseTX 100baseTX 100baseTX 1000baseTX 1000baseTX 1000baseTX 1000baseTX
    fw0: flags=8822 mtu 4078
    lladdr 00:0d:93:ff:fe:2c:a7:94
    media: autoselect status: inactive
    supported media: autoselect

  14. 14 shaky  your flag — Hong Kong (definitely maybe)

    netstat -rn gives:

    Internet:
    Destination Gateway Flags Refs Use Netif Expire
    default 192.168.2.1 UGSc 6 4 en0
    127 127.0.0.1 UCS 0 0 lo0
    127.0.0.1 127.0.0.1 UH 11 12904 lo0
    169.254 link#4 UCS 0 0 en0
    192.168.2 link#4 UCS 3 0 en0
    192.168.2.1 0:e:2e:9:b9:dc UHLW 6 6 en0 1142
    192.168.2.100 127.0.0.1 UHS 3 125 lo0
    192.168.2.102 0:e0:18:ec:38:aa UHLW 2 11 en0 1060
    192.168.2.255 ff:ff:ff:ff:ff:ff UHLWb 0 3 en0

  15. 15 shaky  your flag — Hong Kong (definitely maybe)

    255.255.255.0 = 0xffffff00, so the PC and Mac have the same subnet mask.

  16. 16 shaky  your flag — Hong Kong (definitely maybe)

    I switched on the firewall in XP so I could check the log. I see:

    2004-06-29 13:10:03 DROP UDP 192.168.2.100 192.168.2.102 138 138 217 - - - - - - -
    2004-06-29 13:10:03 DROP UDP 192.168.2.102 192.168.2.255 137 137 78 - - - - - - -
    2004-06-29 13:10:07 DROP UDP 192.168.2.100 192.168.2.102 138 138 217 - - - - - - -
    2004-06-29 13:10:07 DROP UDP 192.168.2.102 192.168.2.255 137 137 78 - - - - - - -
    2004-06-29 13:10:12 DROP UDP 192.168.2.100 192.168.2.102 138 138 217 - - - - - - -
    2004-06-29 13:10:12 DROP UDP 192.168.2.102 192.168.2.255 137 137 78 - - - - - - -
    2004-06-29 13:10:13 DROP UDP 192.168.2.102 192.168.2.255 137 137 78 - - - - - - -
    2004-06-29 13:10:16 DROP UDP 192.168.2.100 192.168.2.102 137 137 90 - - - - - - -
    2004-06-29 13:10:17 DROP UDP 192.168.2.100 192.168.2.102 137 137 90 - - - - - - -
    2004-06-29 13:10:17 DROP UDP 192.168.2.100 192.168.2.102 137 137 90 - - - - - - -

    So, dropped packets from 192.168.2.100 … i.e. the Mac.

  17. 17 zerium  your flag — United States (definitely maybe)

    I’m having the same problems you are having so i feel your pain… really really weird but it sucks bigtime because the mactop (laptop) i have I am supposed to use to test a site… ugh… it used to work fine!

Leave a Reply







Referrer Karma has eaten 30 referrer spams on this site in the last 3 days.