FreeBSD ipv6 rc.conf settings issue

Steve Bertrand steve at ibctech.ca
Thu Jan 7 16:20:14 UTC 2010


Matthew Seaman wrote:
> Steve Bertrand wrote:
> 
>> Hmmm. This config does not work:
>>
>> ifconfig_re0="inet 208.70.104.210 netmask 255.255.255.192"
>> ifconfig_re0_alias0="inet 208.70.104.211 netmask 255.255.255.255"
>> ifconfig_re0_alias1="inet6 2607:f118::b6 prefixlen 64"
>> ifconfig_re0_alias2="inet6 2607:f118::b7 prefixlen 64"
> 
> Yep.  Try it like this:
> 
> ifconfig_re0="inet 208.70.104.210 netmask 255.255.255.192"
> ifconfig_re0_alias0="inet 208.70.104.211 netmask 255.255.255.255"
> ipv6_ifconfig_re0="2607:f118::b6 prefixlen 64"
> ipv6_ifconfig_re0_alias0="2607:f118::b7 prefixlen 64"
> 
> or, even better, like this:
> 
> ipv4_addrs_re0="208.70.104.210/26 208.70.104.211/26"
> ipv6_addrs_re0="2607:f118::b6/64 2607:f118::b7/64"
> 
> You can make the 2nd address in each case a /32 or /128 if you want,
> but the requirement for having 2nd and subsequent addresses from a
> netblock have a different netmask than the initial address on that NIC
> has gone away.

I thought I read that some time ago...

This particular box is my MTA that I use for all of my personal email,
so I'll get on the console, input the new settings reboot and let you
know how it wor...


More information about the freebsd-questions mailing list