Bug #7132
closedPPPoE IP Alias
100%
Description
If you create a new IP Alias on a PPPoE interface, alias address is never added to pppoe0 interface.
Related issues
Updated by Jim Pingle over 5 years ago
- Category changed from Interfaces to Virtual IP Addresses
Updated by Viktor Gurov over 4 years ago
- Affected Version changed from 2.3.2 to 2.4.5-p1
PPPoE requires a destination address:
# ifconfig pppoe0 inet 10.89.89.89/32 alias ifconfig: ioctl (SIOCAIFADDR): Destination address required
and doesn't support CARP:
# ifconfig pppoe0 inet 10.89.89.89/32 alias vhid 10 ifconfig: SIOCGVH: Operation not supported
not supported by choparp (ProxyARP):
# choparp pppoe0 auto 10.89.89.89/32 pppoe0: not found
Updated by Viktor Gurov over 4 years ago
Extra input validation:
https://github.com/pfsense/pfsense/pull/4419
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
- Target version set to 2.5.0
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Danilo Zrenjanin about 4 years ago
Tested on :
2.5.0-DEVELOPMENT (amd64) built on Mon Sep 07 19:04:05 EDT 2020 FreeBSD 12.2-PRERELEASE
It prevents selecting the PPPoE interface for ProxyARP and IP Alias VIP types, still I was able to choose the CARP type.
One more check is missing?
Updated by Viktor Gurov about 4 years ago
It's possible to use IP Alias on PPPoE interface by setting isp gw ip
https://forum.netgate.com/topic/147135/virtual-ip-addresses-fail-to-assign-to-ppoe-interface/4:
The "fix" was to add ppoe-isp-gw-ip after the alias parameter, so:
mwexec("/sbin/ifconfig " . escapeshellarg($realif) ." {$af} ". escapeshellarg($vip['subnet']) ."/" . escapeshellarg($vip['subnet_bits']) . " alias ppoe-isp-gw-ip {$vhid}");
Updated by Viktor Gurov about 4 years ago
Updated by Jim Pingle about 4 years ago
- Status changed from Feedback to Pull Request Review
Updated by Renato Botelho about 4 years ago
- Status changed from Pull Request Review to Feedback
PR has been merged. Thanks!
Updated by Anonymous about 4 years ago
- Status changed from Feedback to Resolved
Updated by Viktor Gurov over 2 years ago
- Related to Bug #11629: PPPoE WAN IP address different than expected when set static by ISP added