Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Which distro are you using? See if you have a /etc/sysconfig/network/ifcfg-eth0 file. You need to su to root to edit it. ( Note: I'm guessing that your interface is named eth0 )
Change the IP address listed after "IPADDR=".
from the ifcfg.template file:
# If using a static configuration you have to set an IP address and a netmask
# or prefix length. The following examples are equivalent:
# 1) IPADDR=192.168.1.1
# 2) IPADDR=192.168.1.1
# PREFIXLEN=24 # NETMASK will be ignored
# 3) IPADDR=192.168.1.1/24 # NETMASK and PREFIXLEN will be ignored
Can someone help me and tell me how to implement this on Ubuntu? I have been taking a look at /etc/sysctl.conf, /etc/init.d/networking and the different files in /etc/network but I haven't yet been able to figure out how to do this permanently.
so edit ifcfg-eth0 (post it if you still need help)
Thanks for the help. Even after the updatedb nothing was found: even tried a find . -name and left it for 2 hours to come back with no such file.
However, I found what I was looking for: as it turns out, Ubuntu systems use /etc/network/interfaces to maintain ip addresses and all, and so I edited that file manually and could get the system to change its ip address.