=== jamescarr_ is now known as jamescarr [02:27] what is the correct way to make ip rules and routes persistent in ubuntu? [02:28] b4tm4n: I think the "approved" way is to add the commands to /etc/network/interfaces with 'up' or 'post-up', etc.. [02:29] so if i had "ip route add default via 192.168.71.1 table 1" i could that exact line to /etc/network/interfaces? [02:30] i mean, the syntax is the same between the commands written to /etc/network/interfaces and those issued at a command line? [02:31] b4tm4n: I believe they just get handed to to sh -c "..." [02:32] sarnold, so it's the same [02:32] b4tm4n: yeah [02:32] sarnold, what is the benefit to doing this as opposed to just leaving them in a sh script that is called from rc.local? [02:33] b4tm4n: you can also put in commands to undo them here, so 'ifup eth0' will run them, 'ifdown eth0' will tear them down, etc [02:36] sarnold, so is that the benefit of adding them to /etc/network/interfaces as opposed to rc.local? [02:36] b4tm4n: yeah [02:37] b4tm4n: if rc.local makes more sense to you, it'd probably be fine, though I'm not 100% positive that it waits for the networking interfaes to be brought up before it runs [02:38] sarnold, what about putting all of my config in a script in /etc/network/if-up.d/