Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50765 - baselayout-1.9.1: patch for creating tunnels (GRE/IPIP) from conf.d/net settings
Summary: baselayout-1.9.1: patch for creating tunnels (GRE/IPIP) from conf.d/net settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2004-05-11 09:47 UTC by George Barbarosie
Modified: 2004-11-08 11:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch against baselayout-1.9.1 for gre/ipip tunnels (baselayout-tunnels.diff,2.42 KB, patch)
2004-05-11 09:48 UTC, George Barbarosie
Details | Diff
patch against baselayout-1.8.8+iproute2 (baselayout-iproute2-tunnels.diff,2.10 KB, patch)
2004-05-11 10:30 UTC, George Barbarosie
Details | Diff
patch against baselayout-1.9.1 for gre/ipip tunnels; (baselayout-tunnels.diff,2.43 KB, patch)
2004-05-12 01:54 UTC, George Barbarosie
Details | Diff
patch against baselayout-1.8.8+iproute2 revised (baselayout-iproute2-tunnels.diff,2.11 KB, patch)
2004-05-12 02:14 UTC, George Barbarosie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description George Barbarosie 2004-05-11 09:47:13 UTC
This patch allows easy configuration of GRE or IPIP tunnel interfaces using the /etc/conf.d/net configuration. An example is provided in the patched conf.d/net file.

The patch uses /sbin/iptunnel for configuring the tunnels; for when gentoo moves to using iproute2 instead of net-tools, I'll try to provide an alternative patch against baselayout in cooperation to patch provided in bug#47659
Comment 1 George Barbarosie 2004-05-11 09:48:32 UTC
Created attachment 31190 [details, diff]
Patch against baselayout-1.9.1 for gre/ipip tunnels
Comment 2 George Barbarosie 2004-05-11 10:30:27 UTC
Created attachment 31200 [details, diff]
patch against baselayout-1.8.8+iproute2

this patch must be applied after the patch in bug#47659; untested;
Comment 3 George Barbarosie 2004-05-12 01:54:40 UTC
Created attachment 31245 [details, diff]
patch against baselayout-1.9.1 for gre/ipip tunnels;

1) Fixed error in config sample
2) While adapting for iproute2, I switched from tunnel_IFACE to iptunnel_IFACE;
To avoid confusion, now I'm switching this patc to iptunnel_IFACE too;
Comment 4 George Barbarosie 2004-05-12 02:14:14 UTC
Created attachment 31246 [details, diff]
patch against baselayout-1.8.8+iproute2 revised

The same fix for configuration example; also an error in script generated by
the confusion of switching from tunnel_IFACE to iptunnel_IFACE
Comment 5 Roy Marples (RETIRED) gentoo-dev 2004-11-05 09:46:28 UTC
We have an iptunnel module in CVS now that includes your request :)

It will be in baselayout-1.11.6
Comment 6 George Barbarosie 2004-11-05 10:01:50 UTC
as far as I can tell, this bug has been rendered moot by the mere changes in baselayout re preup_iface(); even without a module for iptunnel, one can init the tunnel using those; should I change the the resultion to FIXED? or should I wait until next revision of baselayout hits portage?
Comment 7 Roy Marples (RETIRED) gentoo-dev 2004-11-05 17:25:48 UTC
I would wait until the next revision and report any problems with it.

Sure, one can make a tunnel using preup - infact you can do pretty much everything with preup.

But shouldn't we make things easy? Besides, whose to know if ifconfig or iproute2 is installed? Why should they care? Hopefully the next baselayout will make things easy and program independant :)

As there are a few other bugs regarding tunnels as such, I will mark this bug FIXED when the next baselayout is released. Then if there any other problems, new bugs can be opened.
Comment 8 Roy Marples (RETIRED) gentoo-dev 2004-11-08 11:01:46 UTC
Fixed in baselayout-1.11.6