Bug 146459
Summary: | ppp with channel bonding wrong interface assigned to clients | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Horne <john.horne> |
Component: | ppp | Assignee: | Thomas Woerner <twoerner> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | mattdm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-07-11 10:00:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Horne
2005-01-28 15:19:24 UTC
As far as I can see, line 229 of pppd/sys-linux.c should include IFF_SLAVE. That is: #define FLAGS_MASK (IFF_UP | IFF_BROADCAST | \ IFF_POINTOPOINT | IFF_LOOPBACK | IFF_NOARP | IFF_SLAVE) This then causes pppd to skip 'slave' interfaces and use the master interface. After testing this, pppd correctly used the bond0 interface and the client had network connectivity. A quick test with an FC2 server whilst no-one was using it, showed: ======================================================= Jan 28 16:06:32 barney pppd[8248]: proxy arp: scanning 7 interfaces for IP 141.163.106.1 Jan 28 16:06:32 barney pppd[8248]: proxy arp: examining interface lo Jan 28 16:06:32 barney pppd[8248]: proxy arp: examining interface eth0 Jan 28 16:06:32 barney pppd[8248]: proxy arp: examining interface eth1 Jan 28 16:06:32 barney pppd[8248]: proxy arp: examining interface eth2 Jan 28 16:06:32 barney pppd[8248]: proxy arp: interface addr 141.163.107.250 mask ffff Jan 28 16:06:32 barney pppd[8248]: found interface to be used eth2 Jan 28 16:06:32 barney pppd[8248]: proxy arp: examining interface eth3 Jan 28 16:06:32 barney pppd[8248]: proxy arp: examining interface bond0 Jan 28 16:06:32 barney pppd[8248]: proxy arp: interface addr 141.163.107.250 mask ffff Jan 28 16:06:32 barney pppd[8248]: found interface to be used bond0 Jan 28 16:06:32 barney pppd[8248]: proxy arp: examining interface ppp0 Jan 28 16:06:32 barney pppd[8248]: found interface bond0 for proxy arp ==================================================== As can be seen the bond0 interface is not looked at until after the eth ones. As such the bond0 is selected and the cleints are happy. Could it be that the ordering (?) of the interfaces has changed in the kernel somewhere/somehow between FC2 and FC3? FC2 server has rpms kernel-2.6.10-1.9_FC2 and ppp-2.4.2-3.FC2.1 John. I have upgraded one of our VPN/PPTP servers from FC3 to FC5. This problem seems to have gone away now. I can see that the relevant part of the pppd code is still the same, but the order of interfaces returned by the kernel may well have changed. The ppp daemon is reporting that it is using the bonded interface (bond0) for the clients. Close this bugzilla report if you wish to. John. Fedora Core 3 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC5 updates or in the FC6 test release, reopen and change the version to match. Thank you! |