Re: example for use of iproute2 in /etc/sysconfig/network/ifroute



Theo v. Werkhoven wrote:
The carbonbased lifeform Michael Ströder inspired alt.os.linux.suse with:
Theo v. Werkhoven wrote:
The carbonbased lifeform Michael Ströder inspired alt.os.linux.suse with:
Does anybody have an example how to do special routing (source-based) with openSUSE Linux and package iproute2?

I'd like to add some rules with command "ip add..." when a specific DSL interface dsl0 is up but I'd like to avoid messing up openSUSE's scripting under /etc/sysconfig/network too much.
Search tldp.org
Maybe I used the wrong key words there...

I already read about how policy routing is enabled on command-line. I'm rather looking for recommendations how to do it in openSUSE 10.3 without having to mess up the standard scripts shipped with openSUSE in /etc/sysconfig/network too much. Hence my posting to alt.os.linux.suse...

routes(5)

Oh yeah, you're really cool. I already knew how to setup a trivial routing table with SuSE Linux since '96.

Did you actually read my original posting? My aim is to set up *source-based* routing (still in citation above). I see nothing in the man-page you mentioned which allows the *source* for a routing table entry to be defined therein. Additionally you cannot specify additional routing tables (as defined in /etc/iproute2/rt_tables).

Ciao, Michael.
.



Relevant Pages

  • [opensuse] Pmtools seems not to function
    ... My system is opensuse 11.1 mainly KDE 4.3.1. ... Response was, command not found. ... pmtools in Konsole did ...
    (SuSE)
  • [opensuse] Re: su password lost
    ... way to fix this is to boot into single user mode and then just use the passwd ... command to change it to something you will remember in the future. ... you just type in " single" after selecting the boot kernel. ... seems the openSUSE 10.2 defaults to a 'secure' terminal, so even then it asks you ...
    (SuSE)
  • Re: [opensuse] Maybe OT: Upgrade problem
    ... function (for the convenience of getting the To: ... Use your mailer's "new message" command. ... through here and don't see a lot of "accepted standards", ... I normally run opensuse but one of my boxes runs ...
    (SuSE)
  • [opensuse] Can SLED10SP1 be Installed from a USB Thumbdrive like openSUSE 10.3?
    ... I'm trying to install ... I've tried to use the same method with a SLED10SP1 DVD. ... Since I was using the SLED10SP1 DVD, instead of the command above, I ran: ... Is this file supposed to work with openSUSE only? ...
    (SuSE)
  • Re: [opensuse] Pmtools seems not to function
    ... My system is opensuse 11.1 mainly KDE 4.3.1. ... pmtools in Konsole did give the same info: command not found. ...
    (SuSE)