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.
Where I work, we're starting to investigate using Linux as a desktop platform (at the moment we're testing using Ubuntu), instead of Windows. However, a lot of our users have laptops, and we're having a strange problem with DCHP.
We have our lan split into different subnets; so for example, our finance department might have have IP addresses in the x.x.160.x range, while our IT department might have addresses in the x.x.64.x range, etc..
If a laptop is connected to the network when it boots up, it'll pick up an appropriate address via DHCP just fine. If you pull out the network cable, the machine detects that it's disconnected (verified by the Network Monitor panel applet). However, if we then take that laptop and reconnect it to the network from a connection in a different subnet, while the machine detects that it's reconnected, it doesn't automatically renegotiate a new address via DHCP, and attempts to use the old one.
If we do a manual release/renew using 'sudo ifdown eth0' followed by a 'sudo ifup eth0', then we get a valid new address fine; but the machine won't do this automatically.
I've had a look around via Google, but haven't found anything useful. Is there any way to set this up?
should grab an address automatically from your subnet's DHCP server. Thats a one step process. Otherwise you could put that into a shell script if you wanted to clickety-click.
Is there any way to get Linux to automate this though? I mean, for example under Windows, if a network connection has been disconnected, and then reconnected, Windows will go and contact the DHCP server to request a new address automatically - the user doesn't have to do anything, and after a few seconds their computer is up and working again, regardless of what subnet they're now connected to.