Project

General

Profile

Actions

Bug #7132

closed

PPPoE IP Alias

Added by Gladiston Justini almost 5 years ago. Updated about 1 year 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.

Actions #1

Updated by Jim Pingle about 2 years ago

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

Updated by Viktor Gurov about 1 year 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 #4

Updated by Jim Pingle about 1 year ago

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

Updated by Renato Botelho about 1 year 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 about 1 year 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 about 1 year 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 about 1 year ago

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

Updated by Renato Botelho about 1 year ago

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

Actions #11

Updated by Steve Beaver about 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF