[cs615asa] Broadcast IP for ifcfg-data -i
Peter F
pfatyga at stevens.edu
Fri Mar 13 23:20:12 EDT 2015
$ ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 98:fe:94:46:f4:44
inet6 fe80::9afe:94ff:fe46:f444%en0 prefixlen 64 scopeid 0x4
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
inet6 2001:470:1f07:2c0:9afe:94ff:fe46:f444 prefixlen 64 autoconf
inet6 2001:470:1f07:2c0:1834:f67:2271:a5eb prefixlen 64 autoconf temporary
media: autoselect
status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
ether 0a:fe:94:46:f4:44
media: autoselect
status: inactive
$ ifconfig -a | ifcfg-data -i
fe80::1
127.0.0.1
::1
fe80::9afe:94ff:fe46:f444
192.168.1.2
2001:470:1f07:2c0:9afe:94ff:fe46:f444
2001:470:1f07:2c0:1834:f67:2271:a5eb
Should we be printing the broadcast ip (colored in red) when the user
calls ifcfg-data -i?
The example output from the HW assignment doesn't but I would assume
we should since -i should print all IP addresses.
Thanks,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20150313/6083390b/attachment.html>
More information about the cs615asa
mailing list