Friday, January 7, 2011

Linux IP address problem

Question1: How to set ip address in a Linux machine if it's network card is configured...

Answer: First give command to see the network card and default ip address of system...

Login as a root user and then give ifconfig

Now you will get some information

etch0 .....................
.....................
......................

lo ..............
...............

Now give---------------

ifconfig eth0 ip-address netmask 255.255.255.0 up

(This will set the ip-address)

No comments:

Post a Comment