Project

General

Profile

Actions

Bug #7132

closed

PPPoE IP Alias

Added by Gladiston Justini over 7 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Category:
Virtual IP Addresses
Target version:
Start date:
01/18/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

If you create a new IP Alias on a PPPoE interface, alias address is never added to pppoe0 interface.


Related issues

Related to Bug #11629: PPPoE WAN IP address different than expected when set static by ISPResolvedViktor Gurov03/05/2021

Actions
Actions #1

Updated by Jim Pingle over 4 years ago

  • Category changed from Interfaces to Virtual IP Addresses
Actions #2

Updated by Viktor Gurov over 3 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

Actions #3

Updated by Viktor Gurov over 3 years ago

Actions #4

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0
Actions #5

Updated by Renato Botelho over 3 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!

Actions #6

Updated by Danilo Zrenjanin over 3 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?

Actions #7

Updated by Viktor Gurov over 3 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}");

Actions #9

Updated by Jim Pingle over 3 years ago

  • Status changed from Feedback to Pull Request Review
Actions #10

Updated by Renato Botelho over 3 years ago

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

Actions #11

Updated by Anonymous over 3 years ago

  • Status changed from Feedback to Resolved
Actions #12

Updated by Viktor Gurov almost 2 years ago

  • Related to Bug #11629: PPPoE WAN IP address different than expected when set static by ISP added
Actions

Also available in: Atom PDF