[cs615asa] [CS615] getting subnet masks from ifconfig

Xiakun Lu xlu9 at stevens.edu
Wed Mar 11 16:46:04 EDT 2015


> On the linux-lab, I’m finding that ifconfig uses something similar to “Mask: 255.0.0.0” to represent the netmask. Is it alright to return this in the list of IP addresses when invoking the -i option? Or should we specifically exclude IP addresses precluded by the word “Mask:” ? 

According to the example professor had given us, I think the mask 255.0.0.0 should not be returned. Because the IPv6 mask is not returned in the example.

Best Regards,

Xiakun Lu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20150311/70038a52/attachment.html>


More information about the cs615asa mailing list