answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Linux servers typically do not have a graphical user interface. Even if the server you are using does have one installed, there are many different graphical environments available for Linux, and different distros have different administration tools. Changing the IP address on Linux from the command line is both simple and nearly universal. All you need to enter is ifconfig eth0 192.168.123.234 You would, of course, substitute eth0 with the name of the network adapter, and 192.168.123.234 with the IP address that you wanted to use.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

ifconfig <interface> <ip address>

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you change your IP address in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you redirect an IP address in Linux?

swagg


Explain what an IP address in Linux?

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.


How do you set up the ip address of lan card in Linux?

ifconfig &lt;if device&gt; inet &lt;ip address&gt;


How do you request an IP address from a DHCP server in Linux?

1. dhclient -r This releases the current IP address lease 2. dhclient This requests a new IP address.


Can you keep your Gmail address if you change IP?

You can change your Gmail address after you change your IP. You however do not need to do that. It is because gmail is independent of IP address.


How do you change the IP address on HP 2420 printer?

Menu &gt; Configure Device &gt; I/O &gt; Embedded JetDirect Menu &gt; TCP/IP &gt; Manual Settings &gt; IP Address


How would a technician permanently change the IP address of an Ethernet card on a Red Hat Linux PC?

Command to change the IP address on Linux is ifconfig.Run ifconfig to find the interface name for the connected Ethernet card. If there is only on ethernet card present on your system then the interface name would be eth0. If there are more than one Ethernet cards present on your machine then they interface names will be ethn.Once you have figurred out the interface name then ifconfig command can be used to modify the IP address$ ifconfig eth0 upeg$ ifconfig eth0 192.168.1.100 upWould assign new IP address to eth0


How do you get the IP address in Linux?

Run /sbin/ifconfig or on the terminal jst type: ifconfig -a


Is there a program that automatically changes your IP address?

There is no program to change your ip address. Your ip address is given to you by your internet service provider.


How do you change your external IP address?

change it.


Does your IP Address chage when you change computers even though you havent changed where the computer is connected?

It depends on how your computer gets its ip address. If you have a static ip address. The answer is no, your ip address does not change. If you have a DHCP server in your network mostly likely you will get another ip address when you change your computer. There are some tricks but it's a too long story.


If you get a new computer does the ip address change?

Your IP address does not depend on your computer but upon your internet service provider. It dynamically changes on a regular basis. If you change your ISP, then your IP address would definitely change.