[Voyage-linux] configuring static IP address

Gustin Johnson (spam-protected)
Tue Jun 21 05:30:35 HKT 2011


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 <jeff.ramin at singlewire.com> 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
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>




More information about the Voyage-linux mailing list