[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: determining subnet mask using ip but not using ifconfig in debian 9.0 (stretch)



Thanks Marc, so indeed it does (and i guess 'ip -4 addr' or 'ip -4 a'
would work fine for me).

(Aside from google, i did a search for 'mask' in the ip man page and
didn't see anything, but your command sure settles the issue.)

dan



On Wed, Feb 8, 2017 at 7:23 PM, Marc Auslander <marcslists@gmail.com> wrote:
> Dan Hitt <dan.hitt@gmail.com> writes:
>
>> What is the preferred way to determine the subnet mask of your box
>> using /bin/ip on debian 9.0 (stretch)?
>>
>> In the old days, this sort of information would come out of ifconfig,
>> but it looks like debian really wants to get away from ifconfig, and i
>> think use ip as a sort of replacement.
>>
>> So i would like to do the same thing, using ip or whatever the debian
>> people think is the best practice.
>>
>> I tried to search for this information using google, but not very skillfully.
>>
>> TIA for any info.
>>
>> dan
>
> On squeeze ip addr does it for me.
>


Reply to: