Re: ip a a /32 or used netmask

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

 



On Monday 2012-04-02 23:05, richard lucassen wrote:
>
>Just a question:
>
>I have a NIC eth0 with address 10.0.0.1/24
>
>I want to add an ip address to that NIC. Both ways work:
>
>ip a a 10.0.0.2/32 dev eth0
>
>ip a a 10.0.0.2/24 dev eth0
>
>Is there anyhow some or other difference between the two? And is one of
>the two ways preferred?

The difference lies in the route that is implicitly added.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux