How to set a static IP Address in Linux

Zoey Brockmeier
Zoey Brockmeier
68.8 هزار بار بازدید - 14 سال پیش - Here is a quick tutorial
Here is a quick tutorial video on how to set up a static IP address in Linux.  I assume that you have not changed any of your IP address settings in your modem/router, but if you have you'll get the information you need from ifconfig.  I know there are a couple other ways to do this, but this seems the simplest to me.

I do zoom in on the video, so you won't need to worry if you can't, or don't, want to watch this in high definition.

A few errors I made in the video
1.  I declared eth1 as the adapter to give a static address.  If you only have one NIC in your machine, it will be eth0.
2.  The command I gave to restart networking should have been $ sudo /etc/init.d/networking restart.
14 سال پیش در تاریخ 1389/05/13 منتشر شده است.
68,851 بـار بازدید شده
... بیشتر