Configure a network interface with ifconfig
3 de janeiro de 2011 in Etiquetas: Bash/Shell, Rapidinhas
May eventually need to configure a network interface in a very quick but not permanently.To do so can use the ifconfig command as follows:
ifconfig eth0 192.168.10.200 netmask 255.255.255.0
If you do not know what is the interface or if you want to check if the configuration iscorrect, they can simply run ifconfig.
After configuring the IP is to configure the gateway (gateway). In this case we will do isadd a route to route network packets to the gateway:
route add default gw 192.168.10.254
Etiquetas
- Aplicativos (3)
- Bash/Shell (9)
- Berbicachos (3)
- CM (15)
- Debian (17)
- FreeBSD (1)
- Gnome (3)
- Informação (10)
- Jogos (1)
- Kde (3)
- Kubuntu (13)
- LinuxMint (3)
- Multimédia (2)
- MySQL (1)
- openSuse (4)
- Opinião (1)
- PHP (1)
- Rapidinhas (8)
- Tutoriais (3)
- Ubuntu (13)
- Virtualizacao (1)
Seguidores
Interestings Blogs
Popular Posts
-
Corel Aftershot ( CA) is a tool equivalent to Adobe's Lightroom . Both are targeted at photographers ( or those with mania, ...
-
If you use XAMPP , can happen to you the problem of MySQL does not start . This usually happens when we copy the XAMPP folde...
-
The youtube-dl is a small command-line utility that can download videos from youtube.com too easily. In terms of archives, from the Debian M...
-
As you know already available version 3.6 of LibreOffice as announced in pplware . You can read more information about new fe...
-
I got the following error messages when trying to update my operating system Linux Mint 13 Maya : "Reading package lists .....
-
It is unfortunate that the Playstation 3 does have the ability to read DivX with external subtitles, or captions to a text file. It's a ...
-
When it is in principle all councils are few ... So here are some. of who has passed the "as passas do Algarve" to take this to fu...
-
For those who feel the lack of a tool for simple image editing, as it was (I say was, because not used: P) the Windows Paint, the KolourPain...
-
The Deluge is, for me, the best utility for downloading torrents. It stands out from other equivalents to be quite simple and intuitive to u...
-
On some Linux distributions engine that comes by default may not be your favorite . In my case I'm currently using Linux M...
