C.J. Adams-Collier KF7BMP wrote:
Do keep in mind that /etc/network/interfaces is debian-centric and only works on debian-derived systems. I am a debian guy, and this is what I use, but I know there are Other Ways of doing things.
This is what makes the original question "not so easy to answer", I'm afraid. There is no such thing as standard Linux, and thus there is no way to write an example configuration that will work on all Linux systems.
Not only are the network config files different for every distribution and most every version number, but also there have been several ways to do the tunneling over time, and there is difference between systems regarding what is supported now. Even for things like "ip rule" you may need to install an optional "advanced routing" package, whose name of course differs between distributions.
It is hard to admit, but Linux is lacking in this area. The proponents of this "diversity" usually call it advantageous and not a problem for them, but it really is a hindrance when trying to write simple cookbooks for getting something done.
On my SUSE system I have written a /etc/init.d script that brings up the tunneling, I think I have posted it on the list before, but it also won't work on other distributions.
Rob