Project

General

Profile

« Previous | Next » 

Revision 350471d5

Added by Seth Mos over 13 years ago

Always configure a link local address when configuring a carp with a IPv6 address.

View differences:

etc/inc/interfaces.inc
2025 2025
	if(is_ipaddrv6($vip['subnet'])) {
2026 2026
		$broadcast_address = gen_subnet_max($vip['subnet'], $vip['subnet_bits']);
2027 2027
		mwexec("/sbin/ifconfig {$vipif} inet6 {$vip['subnet']} prefixlen {$vip['subnet_bits']} vhid {$vip['vhid']} advskew {$vip['advskew']} {$advbase} {$password}");
2028
		/* make sure to add a link local address too
2029
		mwexec("/sbin/ifconfig {$vipif} inet6 fe80::5:{$vip['vhid']} vhid {$vip['vhid']} advskew {$vip['advskew']} {$advbase} {$password}");
2028 2030
	}
2029 2031

  
2030 2032
	interfaces_bring_up($vipif);

Also available in: Unified diff