User level : Beginners
If you need, you could change the IP address of eth0 interface using the ifconfig command.
command : ifconfig eth0 10.0.0.1 netmask 255.255.255.0 up
eth0 is the device name
10.0.0.1 is the new address being assingnd
255.255.255.0 is the netmask(used to identify network address)
The “up” at the end of the command activates the interface. To make this permanent each time you boot up you’ll have to add this command in your /etc/rc.local file which is run at the end of every reboot.
Some of the other usefull commands :
- Interface Configuration(ifconfig).
- Changing your IP address.
- Activating and De-Activating Interface.
- Determining Current Routing Table.
- Changing Default Gateway.
Popularity: 10% [?]
Related posts:












Join our revenue sharing program and earn more from Adsense. Get free traffic, backlinks, SEO and new visitors for your blog.
One Response to “Changing your IP address”
You are a very smart person!