nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Howto change ip address in Linux

This is a discussion on Howto change ip address in Linux within the Networking, Firewalls and Security forums, part of the Mastering Servers category; Ok this one of those tricky question and answer is use ifconfig command: Display current IP address Code: ifconfig eth0 ...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-27-2007, 05:25 PM
Member
User
 
Join Date: Feb 2005
Posts: 66
chiku
Lightbulb Howto change ip address in Linux

Ok this one of those tricky question and answer is use ifconfig command:

Display current IP address
Code:
ifconfig eth0
ifconfig -a
Set new IP to 192.168.1.10
Code:
ifconfig eth0 192.168.1.10
Set new IP to 192.168.1.10 with netmask
Code:
ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up
See A detailed and step by step howto :
Howto Red hat enterprise Linux 5 configure the network card | Frequently Asked Questions
__________________
There's no place like 127.0.0.1
Reply With Quote
  #2 (permalink)  
Old 04-29-2007, 04:51 PM
Senior Member
User
 
Join Date: Dec 2006
Location: /B!n@ry
My distro: openSuSE 10.2
Posts: 127
B!n@ry
Send a message via MSN to B!n@ry
Default

I wish the Mod. move this thread to the tutorials section.
Thanks chiku nice work
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Howto start usermin remotely to change password satimis Mail Servers 6 12-01-2007 09:01 PM
OpenBSD configure change DNS name server IP address - DNS Client Resolution rockdalinux Getting started tutorials 0 06-15-2007 10:14 PM
Static ip address in Ubuntu Linux howto raj Networking, Firewalls and Security 0 01-18-2007 03:18 AM
Linux how do I change IP address with ifconfig command chiku Linux software 1 12-07-2006 08:47 PM
Linux howto allow or deny access by IP address goku Linux software 1 07-10-2006 07:44 PM


All times are GMT +5.5. The time now is 04:13 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35