Bug #3287

PPPoE default route overrides multi WAN configuration

Added by Giacomo Sanchietti about 4 years ago. Updated almost 4 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-firewall-base
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

Given a server with two or more configured providers and a PPPoE red interface, when PPPoE is restarted the PPP daemon inserts a default gateway route.
The new default gateway breaks the multi WAN routing.

Steps to reproduce
  • Configure a red interface as PPPoE
  • Configure a second red interface
  • Configure two providers inside the multi WAN page
  • Restart the PPPoE process
Actual behavior
  • A new default gateway is added to the route table
Expected behavior
  • The route table should not be modified

Associated revisions

Revision 76010568
Added by Giacomo Sanchietti about 4 years ago

PPPoE: better handling of defroute option. Refs #3287

History

#1 Updated by Giacomo Sanchietti about 4 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.7
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti about 4 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti about 4 years ago

  • Subject changed from PPPoE default route override multi WAN configuration to PPPoE default route overrides multi WAN configuration

#4 Updated by Giacomo Sanchietti about 4 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti about 4 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • nethserver-firewall-base-2.8.0-1.7.g7601056.ns6.noarch.rpm
  • nethserver-firewall-base-ui-2.8.0-1.7.g7601056.ns6.noarch.rpm
Test case
  • Check the bug is not reproducible

#6 Updated by Filippo Carletti almost 4 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

I used nethserver-firewall-base-2.8.0-1.16.g9f1aa9e.ns6.noarch which contains the fix.

When I had only a PPPoE connection:

[root@nscom ~]# grep DEFROUTE= /etc/sysconfig/network-scripts/ifcfg-ppp0 
DEFROUTE='yes'

When I added a second ethernet wan provider:

[root@nscom ~]# grep DEFROUTE= /etc/sysconfig/network-scripts/ifcfg-ppp0 
DEFROUTE='no'

#7 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-firewall-base-ui-2.9.0-1.ns6.noarch.rpm
  • nethserver-firewall-base-2.9.0-1.ns6.noarch.rpm

Also available in: Atom PDF