set the IP address with the ifconfig command
use the syntax: ifconfig interface address netmask up
view your network interfaces with the command ifconfig then for example
to set address to 172.12.0.1 on the interface eth0 use:
ifconfig eth0 172.12.0.1 netmask 255.255.0.0 up
make sure you have root permissions to do this, either be logged in as root
or preceed the command with "sudo".
you don't have to specify the subnet mask if you don't want to, but it is generally recommended to do so.
ifconfig <if device> inet <ip address>
Assuming you're not using DHCP (in which case it would be set automatically), you would use:ifconfig eth0 10.10.0.1substituting the correct interface card and IP address, of course.
swagg
An IP address is the same thing whether you use Linux, Windows, OS X, Haiku, ReactOS, DOS, UnixWare, etc. An IP address is a "unique" identifier for a host on a network.
1. dhclient -r This releases the current IP address lease 2. dhclient This requests a new IP address.
Run /sbin/ifconfig or on the terminal jst type: ifconfig -a
system-config-network Set the ip address to ur system as internetconnection provide. set the gefault gateway is ip of ur router. service network restart chkconfig network on Good-luck -Vivek(9579216049)
type on a Linux terminal: ifconfig Note: it is ipconfig in Windows.
If your router assigns IP addresses via DHCP, it is better to configure the router to pre-assign IP addresses to certain hostnames.If you do not have a DHCP server running in your router, you can specify an IP address for a network interface with the ifconfig command. For example:ifconfig eth0 192.168.20.10
"IP configuration" determines how your computers IP address is assigned. A "static address" is what would be set if you want to manually assign your computer an IP. A "dynamic IP address" would use DHCP or some other form of this to automatically assign your device an IP without an user intervention and usually should be set unless you need to make you IP set to something very specific.
Answer In the Windows command prompt, type "ipconfig". That will list basic information, including your IP address, of all your network interfaces. Be warned this will only return you your local IP address. That means if you're on a LAN, then you'll get the IP address of that network and not your WAN IP address. *************************** Note: It is "ifconfig" on a Linux operating system.
ping [hostname] or ping [IP address]For example:ping wiki.answers.comorping 127.0.0.1