9
Jan/09
0

Linux: Set IP address through shell

To change IP address immediately:

ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up or ifonfig eth0 192.168.1.10/24
route add default gw 192.168.1.1
echo nameserver 192.168.1.1 > /etc/resolv.conf

Related posts:

  1. OpenSuSE: ping: unknown host, and connect: network is unreachable
  2. Linux: vsftpd and symbolic links
  3. Debian: NIC bonding (teaming) 32/64 bit OS
  4. Linux: A simple and quick way of sharing a folder with Windows systems using Samba

Filed under: Linux
Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.