ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Pls clarify exactly what you want to do (& why).
FYI, the range 192.168.x.x is reserved for private lan addresses ie should never be exposed to the internet.
See http://www.faqs.org/docs/linux_netwo...addresses.html
Pls clarify exactly what you want to do (& why).
FYI, the range 192.168.x.x is reserved for private lan addresses ie should never be exposed to the internet.
See http://www.faqs.org/docs/linux_netwo...addresses.html
In a private network, you might have DHCP (dynamic addresses assigned by a server) or static addresses (manually assigned).
If you have static, you might accidentally assign the same address to 2 different machines.
This will cause major issues.
On the internet, your address is assigned by your ISP.
Try reading this page and it's links. http://compnetworking.about.com/od/w...cipaddress.htm
Since someone else is using that IP address, you will need to change yours. If the network has a dhcp server, then your job is a lot easier. Besides the IP address, you need to change the gateway address and the nameserver address. Also, the IP address you choose needs to be in the same subnet as the other hosts in your lan. Using DHCP, all of these items will be set up automatically.
IP addresses must be unique, like telephone numbers. If multiple people had the same telephone numbers, how would you know which one you would connect to when you called? Same thing with IPs. IPs must be uniquely mapped to hosts. Failure to do this correctly can cause problems for ALL hosts that are exposed to the fault (not just the misconfigured hosts).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.