options=6407<RXCSUM,TXCSUM,VLAN_MTU,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
ether 48:65:ee:1d:22:35
inet6 fe80::1c24:5e0a:2ea8:12e9%en1 prefixlen 64 secured scopeid 0x7
inet 169.254.0.1 netmask 0xffff0000 broadcast 169.254.255.255
nd6 options=201<PERFORMNUD,DAD>
media: autoselect (1000baseT <full-duplex>)
status: active
SettingtheHostInterfacetoStatic IP
Usethistosetyourinterfacetobeassigneda staticIPv4address. ThisisusefulforcontrollingtheIP
addressthatthe sensorwillbe sendingdatato.
Setyourinterfacetostatic
Command
sudo ipconfig set [interface_name] MANUAL [ip_address] [subnet_mask]
Example withinterfacename en1 andIPv4 address192.0.2.1 andsubnetmask 255.255.255.0.
Mac-Computer:~ username$ sudo ipconfig set en1 MANUAL 192.0.2.1 255.255.255.0
Note: The/24 isshorthand for SubnetMask= 255.255.255.0
Response blank,howeveryoucanverifythechangehasbeenmadewiththeifconfig command.
Theinet linewill showthe staticIPv4address. e.g. 192.0.2.1.
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=6407<RXCSUM,TXCSUM,VLAN_MTU,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
ether 48:65:ee:1d:22:35
inet6 fe80::1c24:5e0a:2ea8:12e9%en1 prefixlen 64 secured scopeid 0x7
inet 192.0.2.1 netmask 0xffffff00 broadcast 192.0.2.255
nd6 options=201<PERFORMNUD,DAD>
media: autoselect (1000baseT <full-duplex>)
status: active
FindingaSensorwithmDNSService Discovery
ThesensorannouncesitspresenceonthenetworkusingMulticastDomainNameService(mDNS)with
aservicetypenamed_roger._tcp. Youcanuseservicediscoverytoolssuchasdns-sd(Windows/ma-
cOS) tofind allsensors connectedtothe network.
1. Findall sensorsand theirassociated servicetexton anetwork.
Command
dns-sd -Z [service type]
71