DebianThis forum is for the discussion of Debian Linux.
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.
I am trying to run a webserver on a newly installed debian machine, in between my machine and the Internet I have a router. The router has/does dhcp, and also can take incoming requests on certain ports and forward them specified IP addresses on the local network. All sounds good and seems to be fairly standard stuff. The router can only forward stuff to ip addresses (and not named machines), so I need to give the debian machine a static ip address.
I've found a way to do that, but once I change the ip address and make it static, the debian machine is no longer connected to the router (or the internet at all).
ok, so you have to give the debian box an ip address in the same series as the router. for example, 192.168.0.1 and 192.168.0.2
notice the zero in bold? 192.168 was set aside for private networks by the head honchos of tcp/ip. you can change the third number for multiple networks, but for simplicity's sake just pretend that home networks are 192.168.0.something.
the router should have two cards... one to connect to the internet and one to connect to you, right?
you need to find out what ip address on the you side is... I would guess 192.168.0.1, therefore you should set the debian box to 22.214.171.124 (not only 2, just something bigger than 1)
hope this helps. there are a lot of good articles on networking, google them! also search LQ (did you see the search button?) because this has been discussed before...