No it would not. To have it survive a reboot, put the details in /etc/network/interfaces There is sufficient examples in the default voyage version of this file that covers just about every eventuality that you will encounter.
Hth, On Mon, Jun 20, 2011 at 3:34 PM, Jeff Ramin <[email protected]> wrote: > > Would the resulting configuration survive a reboot? > > Thanks Gustin. > > > On 06/20/2011 04:30 PM, Gustin Johnson wrote: >> >> ip addr add 1.2.3.4/30 dev eth0 >> ip route add default via 1.2.3.1 >> >> Obviously change the details to reflect your actual environment. >> >> Things get a little more tricky when you are dealing with multiple WAN >> (Internet) links, but not a lot. >> >> On Mon, Jun 20, 2011 at 12:42 PM, Jeff Ramin<[email protected]> >> wrote: >>> >>> Hi folks. >>> >>> From the command line, what's the preferred/suggested procedure for >>> configuring >>> a static IP and default route? >>> >>> Thanks. >>> >>> -- >>> Jeff Ramin >>> Software Engineer >>> Singlewire Software >>> 2601 W Beltline Hwy #510 >>> Madison, WI 53713 >>> >>> Phone Direct - 608.661.1172 >>> www.singlewire.com >>> >>> >>> _______________________________________________ >>> Voyage-linux mailing list >>> [email protected] >>> http://list.voyage.hk/mailman/listinfo/voyage-linux >>> > > > -- > Jeff Ramin > Software Engineer > Singlewire Software > 2601 W Beltline Hwy #510 > Madison, WI 53713 > > Phone Direct - 608.661.1172 > www.singlewire.com > > _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
