ifconfig accepting hostname as ipv4 address

Jonathan McKeown j.mckeown at ru.ac.za
Fri Jun 8 07:21:00 UTC 2012


On Thursday 07 June 2012 17:00:04 Alexander V. Chernikov wrote:
> Hello list!
>
> Since the early days ifconfig(8) has the following functionality:

[hostname in place of literal address]

> Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you
> can't set valid CIDR address using this notation.

I'm not sure that's true. Have you tried it? Because it seems to work here.

Jonathan


More information about the freebsd-hackers mailing list