Project

General

Profile

Bug #7132

PPPoE IP Alias

Added by Gladiston Justini over 3 years ago. Updated 12 days ago.

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

100%

Estimated time:
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.

Associated revisions

Revision d96e6808 (diff)
Added by Viktor Gurov about 2 months ago

Virtual IPs interface type/mode check. Issue #7132

Revision ec49a8af (diff)
Added by Viktor Gurov 12 days ago

Allow to use IP Alias on PPP interfaces. Issue #7132

History

#1 Updated by Jim Pingle about 1 year ago

  • Category changed from Interfaces to Virtual IP Addresses

#2 Updated by Viktor Gurov about 2 months 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

#4 Updated by Jim Pingle about 2 months ago

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

#5 Updated by Renato Botelho about 1 month 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!

#6 Updated by Danilo Zrenjanin 20 days 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?

#7 Updated by Viktor Gurov 12 days 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}");

#9 Updated by Jim Pingle 12 days ago

  • Status changed from Feedback to Pull Request Review

#10 Updated by Renato Botelho 12 days ago

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

Also available in: Atom PDF