inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201<PERFORMNUD,DAD>
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=400<CHANNEL_IO>
ether 38:f9:d3:d6:33:8a
inet6 fe80::1c30:1246:93a2:9f68%en0 prefixlen 64 secured scopeid 0x7
inet 192.0.2.7 netmask 0xffffff00 broadcast 192.0.2.255
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=400<CHANNEL_IO>
ether 48:65:ee:1d:22:35
inet6 fe80::c27:1917:47ed:bcfe%en1 prefixlen 64 secured scopeid 0x12
inet 169.254.0.1 netmask 0xffff0000 broadcast 169.254.255.255
nd6 options=201<PERFORMNUD,DAD>
media: autoselect (1000baseT <full-duplex>)
status: active
Inthis example,your sensoris pluggedintointerfaceen1
Your host IPv4 address will be on the line that starts with inet: In this case it is 169.
254.0.1
Note: IfyourinterfaceIPv4addressisoftheform169.254.x.x,itisconnectedvialink-local
to the sensor. This means that Windows self-assigned an IP address in the absence of a
DHCPserver.
SettingtheHostInterfacetoDHCP
Usethis tosetyour interfaceto automaticallyobtain anIP addressvia DHCP.This isuseful for archi-
tecturesthat needtobemore plugand play.
SetyourinterfacetoDHCP
Command
sudo ipconfig set [interface_name] DHCP
Example withinterfacename en1
Mac-Computer:~ username$ sudo ipconfig set en1 DHCP
Response blank,howeveryoucanverifythechangehasbeenmadewiththeifconfig command.
The inet line will be blank if nothing is plugged in or shows the DHCP or link-local self-
assignedIPv4 address. E.g. 169.254.0.1
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
70