W dniu 2013-07-16 13:29, Mark Felder pisze: > On Tue, Jul 16, 2013, at 6:12, Łukasz Wąsikowski wrote: >> >> What is the current, non deprecated way, to configure IP addresses in >> rc.conf? Let's say for a dual stack, multi IP box I need to set: >> >> 10.0.0.66/28 and 10.0.0.67-78 as aliases and >> fdda:5cc1:23:4::1/48 and fdda:5cc1:23:4::2-f as aliases >> >> What is the best way to accomplish it? >> > > > ipv4_addrs_em0="10.0.0.66-78/28" > > ipv6 syntax depends on if you're using 8.x or 9.1-RELEASE, but you're > going to have to do all the aliases manually.
I'm using ipv4_addrs_em0 now (and ipv6_addrs_em0 with Kimmo Paasiala's patch), but Hiroki Sato wrote: hr> # IPv4 address range spec. Now deprecated. hr> ipv4_addr_em0="10.2.1.1-10" So I'm a little confused now :) If I'd use post r252015 system then would this be better way? ifconfig_em0_aliases="inet 10.0.0.66/28 inet 10.0.0.67-78 inet6 fdda:5cc1:23:4::1/48 inet6 fdda:5cc1:23:4::2-f" -- best regards, Lukasz Wasikowski _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"