{"id":460,"date":"2011-01-28T16:52:31","date_gmt":"2011-01-28T23:52:31","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=460"},"modified":"2011-01-28T16:52:31","modified_gmt":"2011-01-28T23:52:31","slug":"macos-display-network-interface-configuration-command-line","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=460","title":{"rendered":"MacOS display network interface configuration (command line)"},"content":{"rendered":"<p>To display the network interface information for a particular network interface in Snow Leopard (not sure about other versions) use the following:<\/p>\n<p>ipconfig getpacket <em>interface<\/em><\/p>\n<p>For example,<br \/>\n# ipconfig getpacket en0<br \/>\nop = BOOTREPLY<br \/>\nhtype = 1<br \/>\nflags = 0<br \/>\nhlen = 6<br \/>\nhops = 0<br \/>\nxid = 446704316<br \/>\nsecs = 0<br \/>\nciaddr = 172.18.32.24<br \/>\nyiaddr = 172.18.32.24<br \/>\nsiaddr = 0.0.0.0<br \/>\ngiaddr = 0.0.0.0<br \/>\nchaddr = 0:1e:c2:f:1b:45<br \/>\nsname = dhcp.domain.com<br \/>\nfile =<br \/>\noptions:<br \/>\nOptions count is 8<br \/>\ndhcp_message_type (uint8): ACK 0x5<br \/>\nserver_identifier (ip): 172.18.10.45<br \/>\nlease_time (uint32): 0x15180<br \/>\nsubnet_mask (ip): 255.255.0.0<br \/>\nrouter (ip_mult): {172.18.10.1}<br \/>\ndomain_name_server (ip_mult): {172.18.10.65, 172.18.10.66}<br \/>\ndomain_name (string): domain.local<br \/>\nend (none): <\/p>\n<p>This gives you much more information than a standard ifconfig command.  The command above will display all the current options for the interface.  You can narrow this down with the getoption parameter.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To display the network interface information for a particular network interface in Snow Leopard (not sure about other versions) use the following: ipconfig getpacket interface For example, # ipconfig getpacket en0 op = BOOTREPLY htype = 1 flags = 0 hlen = 6 hops = 0 xid = 446704316 secs = 0 ciaddr = 172.18.32.24 [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[99,144],"class_list":["post-460","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-macos","tag-network"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=460"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":461,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions\/461"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}