[opensuse] Can I lock a DHCP ip adress?
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this? -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
Sure - are you the admin of the dhcp server? Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2007-10-14 at 14:34 -0700, joe wrote:
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
Sure - are you the admin of the dhcp server?
Joe
Errr, I am afraid not. He just receives his ip adress through dhcp. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
On Sun, 2007-10-14 at 14:34 -0700, joe wrote:
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this? Sure - are you the admin of the dhcp server?
Joe
Errr, I am afraid not. He just receives his ip adress through dhcp.
Ah - in that case, you're at the whims of the local network admins. In most situations I've seen, the address will remain with a machine as long as the lease is renewed regularly. If it's unplugged for the weekend though, all bets are off come Monday morning. Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2007-10-14 at 14:47 -0700, joe wrote:
Aniruddha wrote:
On Sun, 2007-10-14 at 14:34 -0700, joe wrote:
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this? Sure - are you the admin of the dhcp server?
Joe
Errr, I am afraid not. He just receives his ip adress through dhcp.
Ah - in that case, you're at the whims of the local network admins. In most situations I've seen, the address will remain with a machine as long as the lease is renewed regularly. If it's unplugged for the weekend though, all bets are off come Monday morning.
Joe
Ok at least now I know it's not my fault :D Thanks all for helping out! -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
Errr, I am afraid not. He just receives his ip adress through dhcp. Ah - in that case, you're at the whims of the local network admins. In most
and there may not be enough IP in the net for all the students+workers, so the necessity to use low lease time to solve your problem partly, you may be able to ask him to send a mail to you and take the IP from the mail (if it works, not sure) jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd wrote:
Aniruddha wrote:
Errr, I am afraid not. He just receives his ip adress through dhcp. Ah - in that case, you're at the whims of the local network admins. In most
and there may not be enough IP in the net for all the students+workers, so the necessity to use low lease time
With the widespread use of RFC1918 addresses, that's not likely to be an issue.
to solve your problem partly, you may be able to ask him to send a mail to you and take the IP from the mail (if it works, not sure)
Also with RFC1918 addresses, he won't be able to reach the computer anyway, unless he has a VPN into the network. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 14-Oct-07 21:42:59, Aniruddha wrote:
On Sun, 2007-10-14 at 14:34 -0700, joe wrote:
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
Sure - are you the admin of the dhcp server?
Joe
Errr, I am afraid not. He just receives his ip adress through dhcp.
There is one thing he could try, which may or may not work often enough to to be useful. Say he gets a particular IP address one time. Let him note that, and configure his own machine to have that IP address statically configured in his machine (this may involve setting up a static DNS and gateway too, so it might not be trivial). Then, if when he next connects, that particular IP address is free the remote server should simply recognise that he is using it, and not try to give it to anyone else. Since it's static on his mkachine, it would not change so long as he remained connected. (This is exactly what I do on my home LAN, by the way: The ADSL router gives out dynamic IPs by DHCP to any connected machine that asks for one, but does not interfere with any machines that have static IPs configured in them; and whenever I connect some other machine -- e.g. I'm trying out different Linux distros in virtual machines and off live CDs at the moment, and they all ask for DHCP in the first instance -- the router aloways gives them an IP different from the statitically configured ones. Of course, if one or more of the statically configured machines was switched off, then presumably the router could use one of their IP addresses, since it's not in use). Whether this suggestion is useful would depend on the demand for IP addresses on that campus. If an idle IP address gets snapped up quickly, then it would be no use at all! On the other hand, if his disconnections are brief, then there may be a good chance that this trick could work well enough. If it failed at any time, of course, then he'd just have to revert to DHCP for that connection. Best wishes, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <efh@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 14-Oct-07 Time: 23:51:47 ------------------------------ XFMail ------------------------------ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
(Ted Harding) wrote:
On 14-Oct-07 21:42:59, Aniruddha wrote:
On Sun, 2007-10-14 at 14:34 -0700, joe wrote:
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
Sure - are you the admin of the dhcp server?
Joe
Errr, I am afraid not. He just receives his ip adress through dhcp.
There is one thing he could try, which may or may not work often enough to to be useful.
Say he gets a particular IP address one time. Let him note that, and configure his own machine to have that IP address statically configured in his machine (this may involve setting up a static DNS and gateway too, so it might not be trivial).
Then, if when he next connects, that particular IP address is free the remote server should simply recognise that he is using it, and not try to give it to anyone else. Since it's static on his mkachine, it would not change so long as he remained connected.
(This is exactly what I do on my home LAN, by the way: The ADSL router gives out dynamic IPs by DHCP to any connected machine that asks for one, but does not interfere with any machines that have static IPs configured in them; and whenever I connect some other machine -- e.g. I'm trying out different Linux distros in virtual machines and off live CDs at the moment, and they all ask for DHCP in the first instance -- the router aloways gives them an IP different from the statitically configured ones. Of course, if one or more of the statically configured machines was switched off, then presumably the router could use one of their IP addresses, since it's not in use).
Whether this suggestion is useful would depend on the demand for IP addresses on that campus. If an idle IP address gets snapped up quickly, then it would be no use at all!
On the other hand, if his disconnections are brief, then there may be a good chance that this trick could work well enough.
If it failed at any time, of course, then he'd just have to revert to DHCP for that connection.
Some networks will refuse connections from a computer that doesn't have a MAC address that's currently assigned an IP. Also, network admins can turn into nasty trolls (not that they aren't already <g>) when they find someone using a static address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott wrote:
(Ted Harding) wrote:
On 14-Oct-07 21:42:59, Aniruddha wrote:
On Sun, 2007-10-14 at 14:34 -0700, joe wrote:
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
Sure - are you the admin of the dhcp server?
Joe
Errr, I am afraid not. He just receives his ip adress through dhcp.
There is one thing he could try, which may or may not work often enough to to be useful.
Say he gets a particular IP address one time. Let him note that, and configure his own machine to have that IP address statically configured in his machine (this may involve setting up a static DNS and gateway too, so it might not be trivial).
Then, if when he next connects, that particular IP address is free the remote server should simply recognise that he is using it, and not try to give it to anyone else. Since it's static on his mkachine, it would not change so long as he remained connected.
(This is exactly what I do on my home LAN, by the way: The ADSL router gives out dynamic IPs by DHCP to any connected machine that asks for one, but does not interfere with any machines that have static IPs configured in them; and whenever I connect some other machine -- e.g. I'm trying out different Linux distros in virtual machines and off live CDs at the moment, and they all ask for DHCP in the first instance -- the router aloways gives them an IP different from the statitically configured ones. Of course, if one or more of the statically configured machines was switched off, then presumably the router could use one of their IP addresses, since it's not in use).
Whether this suggestion is useful would depend on the demand for IP addresses on that campus. If an idle IP address gets snapped up quickly, then it would be no use at all!
On the other hand, if his disconnections are brief, then there may be a good chance that this trick could work well enough.
If it failed at any time, of course, then he'd just have to revert to DHCP for that connection.
Some networks will refuse connections from a computer that doesn't have a MAC address that's currently assigned an IP. Also, network admins can turn into nasty trolls (not that they aren't already <g>) when they find someone using a static address.
I must have gotten into this thread a little too late. Why, exactly, would you want a static ip in a dhcp environment? Sorry for the new question, but it's better than asking people if they prefer "top or bottom" (not in that way, of course) ;-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Meyer wrote:
I must have gotten into this thread a little too late. Why, exactly, would you want a static ip in a dhcp environment? Sorry for the new question, but it's better than asking people if they prefer "top or bottom" (not in that way, of course) ;-)
You'd want things like servers, printers and routers to have a consistent address. The two methods are static IP, where the device is specifically configured or "reserved" IP, where the DHCP server will always assign the same IP to the device. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott wrote:
You'd want things like servers, printers and routers to have a consistent address. The two methods are static IP, where the device is specifically configured or "reserved" IP, where the DHCP server will always assign the same IP to the device.
Now that I could definitely see, though the comment about the network admins living under the bridge (otherwise called the trolls ;-))confuses me. If you had those things set up in a network, wouldn't you want the admin to know and support that, rather than try to set up something that he or she doesn't know about? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Meyer wrote:
James Knott wrote:
You'd want things like servers, printers and routers to have a consistent address. The two methods are static IP, where the device is specifically configured or "reserved" IP, where the DHCP server will always assign the same IP to the device.
Now that I could definitely see, though the comment about the network admins living under the bridge (otherwise called the trolls ;-))confuses me. If you had those things set up in a network, wouldn't you want the admin to know and support that, rather than try to set up something that he or she doesn't know about?
On many networks, you'll find many things are prohibited. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott wrote:
John Meyer wrote:
James Knott wrote:
You'd want things like servers, printers and routers to have a consistent address. The two methods are static IP, where the device is specifically configured or "reserved" IP, where the DHCP server will always assign the same IP to the device.
Now that I could definitely see, though the comment about the network admins living under the bridge (otherwise called the trolls ;-))confuses me. If you had those things set up in a network, wouldn't you want the admin to know and support that, rather than try to set up something that he or she doesn't know about?
On many networks, you'll find many things are prohibited.
Yeah, some of them make sense, some of them make no sense, and some of them make you wonder if the company's instituted a two drink minimum ;-). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2007-10-14 at 17:22 -0600, John Meyer wrote:
I must have gotten into this thread a little too late. Why, exactly, would you want a static ip in a dhcp environment? Sorry for the new question, but it's better than asking people if they prefer "top or bottom" (not in that way, of course) ;-)
Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time. -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 15-Oct-07 08:27:01, Aniruddha wrote:
On Sun, 2007-10-14 at 17:22 -0600, John Meyer wrote:
I must have gotten into this thread a little too late. Why, exactly, would you want a static ip in a dhcp environment? Sorry for the new question, but it's better than asking people if they prefer "top or bottom" (not in that way, of course) ;-)
Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time. -- Regards,
Aniruddha
Ahh! Then get him to email you whenever he starts a new session (this could even be set up as a task for when his system starts up). You should be able to find out the IP address he is mailing from, from the headers in the email. (For example, your localhost is 192.168.2.167, and you are connected to wanadoo.nl as 85.144.207.123). Best wishes, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <efh@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 15-Oct-07 Time: 10:14:23 ------------------------------ XFMail ------------------------------ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
(Ted Harding) schreef:
On 15-Oct-07 08:27:01, Aniruddha wrote:
Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time. -- Regards,
Aniruddha
Ahh! Then get him to email you whenever he starts a new session (this could even be set up as a task for when his system starts up). You should be able to find out the IP address he is mailing from, from the headers in the email.
(For example, your localhost is 192.168.2.167, and you are connected to wanadoo.nl as 85.144.207.123).
There's a tool that does exactly that, sshipup. http://www.info-techs.com/download.shtml It also lets you put it somewhere on a website. Regards, -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2007-10-15 at 12:36 +0200, Jos van Kan wrote:
(For example, your localhost is 192.168.2.167, and you are connected to wanadoo.nl as 85.144.207.123).
There's a tool that does exactly that, sshipup.
http://www.info-techs.com/download.shtml
It also lets you put it somewhere on a website.
Regards, -- Jos van Kan registered Linux user #152704
How did you find out? (I am using evolution for mail) -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
On Mon, 2007-10-15 at 12:36 +0200, Jos van Kan wrote:
(For example, your localhost is 192.168.2.167, and you are connected to wanadoo.nl as 85.144.207.123).
There's a tool that does exactly that, sshipup.
http://www.info-techs.com/download.shtml
It also lets you put it somewhere on a website.
Regards, -- Jos van Kan registered Linux user #152704
How did you find out? (I am using evolution for mail)
Your life is an open book <grin> <snip> Received: from [192.168.2.167] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6209.orange.nl (SMTP Server) with ESMTP id 5E29F1C00085; Mon, 15 Oct 2007 14:14:28 +0200 (CEST) X-ME-UUID: 20071015121428385.5E29F1C00085@mwinf6209.orange.nl Subject: Re: [opensuse] Can I lock a DHCP ip adress? From: Aniruddha <mailing_list@orange.nl> To: Jos van Kan <vankan@kabelfoon.nl> Cc: opensuse@opensuse.org In-Reply-To: <471342AA.4090702@kabelfoon.nl> References: <XFMail.071015101428.efh@nessie.mcc.ac.uk> <471342AA.4090702@kabelfoon.nl> <snip> ...part of everything you send out.... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
On Mon, 2007-10-15 at 12:36 +0200, Jos van Kan wrote:
(For example, your localhost is 192.168.2.167, and you are connected to wanadoo.nl as 85.144.207.123).
There's a tool that does exactly that, sshipup.
http://www.info-techs.com/download.shtml
It also lets you put it somewhere on a website.
Regards, -- Jos van Kan registered Linux user #152704
How did you find out? (I am using evolution for mail)
When you examine the message headers, one of the lines will be something like this: Received: from [192.168.2.167] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6209.orange.nl (SMTP Server) with ESMTP id 5E29F1C00085; Mon, 15 Oct 2007 14:14:28 +0200 (CEST) In Thunderbird, there's an option to display "normal" or all headers. You have to use all to see this. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
(Ted Harding) wrote:
Ahh! Then get him to email you whenever he starts a new session (this could even be set up as a task for when his system starts up). You should be able to find out the IP address he is mailing from, from the headers in the email.
(For example, your localhost is 192.168.2.167, and you are connected to wanadoo.nl as 85.144.207.123).
Now that you know his address is 192.168.2.167, try reaching that computer. ;-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2007-10-15 at 07:28 -0400, James Knott wrote:
(Ted Harding) wrote:
Ahh! Then get him to email you whenever he starts a new session (this could even be set up as a task for when his system starts up). You should be able to find out the IP address he is mailing from, from the headers in the email.
(For example, your localhost is 192.168.2.167, and you are connected to wanadoo.nl as 85.144.207.123).
Now that you know his address is 192.168.2.167, try reaching that computer. ;-)
Ey leave me alone! :p -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 15 October 2007 10:27:01 Aniruddha wrote:
On Sun, 2007-10-14 at 17:22 -0600, John Meyer wrote:
I must have gotten into this thread a little too late. Why, exactly, would you want a static ip in a dhcp environment? Sorry for the new question, but it's better than asking people if they prefer "top or bottom" (not in that way, of course) ;-)
Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time. -- Regards,
Aniruddha
Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette
Ahhh, that is what dyndns is for. Basically, it's a service that allows you to reserve a DNS name. The service transaltes that name to an IP address. The service offers a program that your brother can install on his computer which will update the IP address that dyndns will translate to. In this way you can ssh to your brothers PC with a dyndns name, and always get the correct IP address... Hmmmm... Somehow my explanation got twisted. Google for Dynamic Dns, it's designed to solve your current problem... Jerry -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jerome R. Westrick wrote:
On Monday 15 October 2007 10:27:01 Aniruddha wrote:
On Sun, 2007-10-14 at 17:22 -0600, John Meyer wrote:
I must have gotten into this thread a little too late. Why, exactly, would you want a static ip in a dhcp environment? Sorry for the new question, but it's better than asking people if they prefer "top or bottom" (not in that way, of course) ;-) Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time. -- Regards,
Aniruddha
Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette
Ahhh, that is what dyndns is for.
Basically, it's a service that allows you to reserve a DNS name. The service transaltes that name to an IP address. The service offers a program that your brother can install on his computer which will update the IP address that dyndns will translate to.
In this way you can ssh to your brothers PC with a dyndns name, and always get the correct IP address...
Hmmmm... Somehow my explanation got twisted.
Google for Dynamic Dns, it's designed to solve your current problem...
Jerry
But only if the device is not resident on a NAT network. Then the static/ dynamic IP issue becomes a little moot. As the gateway router will have no idea where to forward the external request an attempt to establish an external ssh session will fail. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHEzscasN0sSnLmgIRAhXTAKDTNJ4voMvnwyxteKRPkxGPkDisAgCgtjCC dWg8bKrUvgfmYyjjSE/0FGg= =PiAC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time.
I just notice than if you are using ssh, you probably are in the same local network? there should be some sort of intranet messenging system? if so there must be a login/identification? use it jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd wrote:
Aniruddha wrote:
Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time.
I just notice than if you are using ssh, you probably are in the same local network? there should be some sort of intranet messenging system? if so there must be a login/identification? use it
SSH is often used for remote access from anywhere. Just this weekend, while at the Ontario Linux Fest, I used SSH from my N800, via WiFi at the site, to my home network. At work, I also use SSH to reach customer equipment via the internet. You can't assume you're on the same network. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
Lol! I agree 100% ;) The reason I would like a static ip is simple, I use ssh to troubleshoot his system. Therefor it would be handy if his ip didn't change all the time.
Oh, is that all you need? There are ways to make it's IP known to you when it changes. I'm not sure how well something like dyndns.org would work on lan like you describe, but you could still kick off a cron job to access some network resource which you have access to, or to send an email every time the IP changes. The only limit is your imagination - just like at zombo.com Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Meyer wrote:
James Knott wrote:
(Ted Harding) wrote:
On 14-Oct-07 21:42:59, Aniruddha wrote:
On Sun, 2007-10-14 at 14:34 -0700, joe wrote:
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
Sure - are you the admin of the dhcp server?
Joe
Errr, I am afraid not. He just receives his ip adress through dhcp.
There is one thing he could try, which may or may not work often enough to to be useful.
Say he gets a particular IP address one time. Let him note that, and configure his own machine to have that IP address statically configured in his machine (this may involve setting up a static DNS and gateway too, so it might not be trivial).
<snip>
If it failed at any time, of course, then he'd just have to revert to DHCP for that connection.
Some networks will refuse connections from a computer that doesn't have a MAC address that's currently assigned an IP. Also, network admins can turn into nasty trolls (not that they aren't already <g>) when they find someone using a static address.
I must have gotten into this thread a little too late. Why, exactly, would you want a static ip in a dhcp environment? Sorry for the new question, but it's better than asking people if they prefer "top or bottom" (not in that way, of course) ;-)
Static assignment of DHCP addresses is often used to identify which devices are allowed to connect to a network. In an academic institution it is not unknown for students (or staff for that matter) to use their machines for purposes that what not entirely appropriate to the normal business of the institution (Not just "Anyone want to hack the Pentagon today?" but the use of things like Doom which could have a serious impact on network performance :-) ). It is often considered rather important to have a good idea of who owned what so you you know who to blame when something went wrong:-) In the institution I used to work all devices were registered with an appropriate entry in our domain with an appropriate address in our class B address space. This registration was assigned to an individual (or department). Anyone who was a member of the institution who was found doing the above would quite likely face disciplinary action as they would be violation of the institutions regulations. (The institution could get quite nasty about this). As at various times we had individuals accidentally set up machines that among other things were assigned the external gateway address, and the addresses of routing kit, so I think you can understand the general viewpoint on this issue. With later generation switches one can lock down connections by MAC address, or monitor which access points were being used which machines and in theory "alien" machines could be quickly identified and isolated if required. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHEyV+asN0sSnLmgIRAlZlAJ4qg77Ne6ZjBy+7HEDSsYmhk5jPfACghWaS 9bSFo333V6vbssNzKDXZ1q8= =lAmA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-10-15 at 09:31 +0100, G T Smith wrote: ...
Static assignment of DHCP addresses is often used to identify which devices are allowed to connect to a network. In an academic institution it is not unknown for students (or staff for that matter) to use their machines for purposes that what not entirely appropriate to the normal business of the institution (Not just "Anyone want to hack the Pentagon today?" but the use of things like Doom which could have a serious impact on network performance :-) ).
Huh? Doom? Why would playing a game impact the network so much? I would understand that using a p2p program could affect a lot, but playing a game... dunno, it's ages since I have played things like that, so I might be mistaken. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHE/OYtTMYHG2NR9URAoHHAJ4juTmOxVJIYfK4TsvNVdNkytvZUQCfRSzJ YxUrMBWxifFvqRjt5Clo4/Y= =7Qn/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos E. R. wrote:
The Monday 2007-10-15 at 09:31 +0100, G T Smith wrote:
...
Static assignment of DHCP addresses is often used to identify which devices are allowed to connect to a network. In an academic institution it is not unknown for students (or staff for that matter) to use their machines for purposes that what not entirely appropriate to the normal business of the institution (Not just "Anyone want to hack the Pentagon today?" but the use of things like Doom which could have a serious impact on network performance :-) ).
Huh? Doom? Why would playing a game impact the network so much? I would understand that using a p2p program could affect a lot, but playing a game... dunno, it's ages since I have played things like that, so I might be mistaken.
-- Cheers, Carlos E. R.
Doom when it first appeared was a serious IPX hog. As one colleague put it his network was like a Christmas Turkey ... "Stuffed"... after his student community got hold of it.. The networking issue got fixed a bit later... p2p gaming can cause as much trouble as media sharing if enough people are playing.. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHFH7PasN0sSnLmgIRAvfsAKDNZI+XZUIsREPpIEa0X+bDIfNkFQCdFxVW mx09/aqH0fxK0462G1cYW/4= =v2ve -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-10-14 at 23:51 +0100, efh@nessie.mcc.ac.uk wrote:
Say he gets a particular IP address one time. Let him note that, and configure his own machine to have that IP address statically configured in his machine (this may involve setting up a static DNS and gateway too, so it might not be trivial).
Then, if when he next connects, that particular IP address is free the remote server should simply recognise that he is using it, and not try to give it to anyone else. Since it's static on his mkachine, it would not change so long as he remained connected.
(This is exactly what I do on my home LAN, by the way: The ADSL router gives out dynamic IPs by DHCP to any connected machine that asks for one, but does not interfere with any machines that have static IPs configured in them; and whenever I connect
This is wrong. The dhcp server may not know that one of the IPs it has for the giving some one has stolen already and is using it. Chances are the dhcp server may give it to a second machine and break havoc. And if the sysadmin is any good and spots you, he/she will pour his wrath on you. And in the case that the dhcp server does notice that the IP is already in use, as it knows it did not give it, the server will undoubtedly log a security alarm. Of course, you can run away with that on a home lan. To do it correctly, at home, say, is to take note of the range of IPs that will be assigned by the dhcp server (it is configurable) and what IPs can be given as fixed. When you need a fixed IP, you take it from the range of fixed IPs that the dhcp server will not meddle with. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHEq5RtTMYHG2NR9URAjF8AJ9vfs3xp5iNWAMOv1H3Pqkjyq54jwCfWLiW SkjIROYyviU6JumGx3LbLEw= =HteY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The dhcp server may not know that one of the IPs it has for the giving some one has stolen already and is using it. Chances are the dhcp server may give it to a second machine and break havoc. Actually, a dhcp server pings the address BEFORE giving it out to make sure it is not already in use. If someone had an address already in use set statically and plugged into the network, there will be confusion and one cease to work, and it will set off an arp warning. I should say
On 10/15/2007 08:03 AM, Carlos E. R. wrote: this is how the ISC dhcp server works, and I believe it conforms to the relative RFC. I would not be sure if it is an MS dhcp server.
To do it correctly, at home, say, is to take note of the range of IPs that will be assigned by the dhcp server (it is configurable) and what IPs can be given as fixed. When you need a fixed IP, you take it from the range of fixed IPs that the dhcp server will not meddle with.
That is of course best practice. Still it is possible to configure a set IP address with a DHCP server based on MAC address, useful mostly with servers, i.e print servers, file servers, etc. For the OP, it is impossible as a user. It is an admin function only. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Joe Morris (NTM) wrote:
On 10/15/2007 08:03 AM, Carlos E. R. wrote:
The dhcp server may not know that one of the IPs it has for the giving some one has stolen already and is using it. Chances are the dhcp server may give it to a second machine and break havoc.
Actually, a dhcp server pings the address BEFORE giving it out to make sure it is not already in use. If someone had an address already in use set statically and plugged into the network, there will be confusion and one cease to work, and it will set off an arp warning. I should say this is how the ISC dhcp server works, and I believe it conforms to the relative RFC. I would not be sure if it is an MS dhcp server.
You can't rely on the DHCP server pinging an address. I recall one time at work, many years ago, when the network admin was trying to find out who "borrowed" an address assigned to a router. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
It is possible, but it has to be done at the dhcp server, where an IP address can be assigned to a MAC address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----Original Message----- From: Aniruddha [mailto:mailing_list@orange.nl] Sent: Sunday, October 14, 2007 5:29 PM To: opensuse@opensuse.org Subject: [opensuse] Can I lock a DHCP ip adress?
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
It is possible, however not your end. What you are referring to is a called a static IP. I assume you would have to talk to the Administrator of the network at the college. You would most likely have to give reasons why you would need this. I doubt the admin will give in. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Michael S. Dunsavage wrote:
-----Original Message----- From: Aniruddha [mailto:mailing_list@orange.nl] Sent: Sunday, October 14, 2007 5:29 PM To: opensuse@opensuse.org Subject: [opensuse] Can I lock a DHCP ip adress?
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
It is possible, however not your end. What you are referring to is a called a static IP. I assume you would have to talk to the Administrator of the network at the college. You would most likely have to give reasons why you would need this. I doubt the admin will give in.
Static IP's are entirely separate from a dhcp server. A dhcp server can be configured to reserve a specific IP address for a given MAC address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 14 October 2007 23:48:10 James Knott wrote:
Static IP's are entirely separate from a dhcp server. A dhcp server can be configured to reserve a specific IP address for a given MAC address.
I'm not sure what you mean by "separate from", but don't confuse dynamic host configuration with randomly changing IP addresses A dhcp server is just a convenient way of storing host configuration in a central place and retrieving it on boot. You can set anything up through it, including a static IP address Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
On Sunday 14 October 2007 23:48:10 James Knott wrote:
Static IP's are entirely separate from a dhcp server. A dhcp server can be configured to reserve a specific IP address for a given MAC address.
I'm not sure what you mean by "separate from", but don't confuse dynamic host configuration with randomly changing IP addresses
A dhcp server is just a convenient way of storing host configuration in a central place and retrieving it on boot. You can set anything up through it, including a static IP address
Anders
A static address, where the computer is manually configured with an address does not require a dhcp server. This is different from when the dhcp server is configured to reserve a specific IP for a given MAC address. In this situation, a computer will always have the same IP, even though dhcp is used. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 15 October 2007 00:43:26 James Knott wrote:
A static address, where the computer is manually configured with an address does not require a dhcp server. This is different from when the dhcp server is configured to reserve a specific IP for a given MAC address. In this situation, a computer will always have the same IP, even though dhcp is used.
"static" means "unchanging", it doesn't mean "written in a text file somewhere on the local computer". A static IP can be handed out by a dhcp server. You're right of course that it doesn't *require* a dhcp server, but then no one said it did Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
On Monday 15 October 2007 00:43:26 James Knott wrote:
A static address, where the computer is manually configured with an address does not require a dhcp server. This is different from when the dhcp server is configured to reserve a specific IP for a given MAC address. In this situation, a computer will always have the same IP, even though dhcp is used.
"static" means "unchanging", it doesn't mean "written in a text file somewhere on the local computer".
A static IP can be handed out by a dhcp server. You're right of course that it doesn't *require* a dhcp server, but then no one said it did
Anders
While "static" means unchanging, in a computer network context a static address is one that's manually configured on the computer, as opposed to DHCP, which requires a server. That server can then be configured to always assign the same address or use the next available. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott wrote:
While "static" means unchanging, in a computer network context a static address is one that's manually configured on the computer, as opposed to DHCP, which requires a server. That server can then be configured to always assign the same address or use the next available.
We're splitting hairs, but I agree with Anders - a static address is simply one that does not change. Whether it is configured via DHCP or on the individual server does not matter. All of my local servers are configured over DHCP which is the easiest, whereas my remote servers are all configured individually as I have no DHCP in the remote location. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2007-10-14 at 23:28 +0200, Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
The whole point of DHCP is that the end user doesn't have to do any configuration. The other point of course is to not use up the precious number of IP addresses available to a network. The DHCP server sets a lease period upon every IP address that is delegated out. In the case of the large college with many students logging in with a limited set of IP addresses available, there is probably a shorter lease period. Depending on the lease period (most set it for 3 days) your brother may need to keep his computer connected with shorter disconnected periods in between. The other thing he may want to consider is to use a service like DynDNS. (www.dyndns.org) They maintain a server that communicates with a dyndns client installed on your machine (or small router) and collects that "current" IP address, whatever it may be. Then it links it to your host name address that you have set up. (You'll need to buy your own domain name.) It's a pretty cheap solution and works in many cases, but not all. Worth a try in any case. Then your brother won't be beholden to a static IP address.
-- Regards,
Aniruddha
Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette
-- ---Bryen--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Oct 14, 2007 at 11:28:31PM +0200, Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
I guess it should be possible to do a DHCPREQUEST for the desired address without DHCPDISCOVERing first. Of course, the server might deny that address. Besides, I do not know how to configure the client to achieve that behaviour. A. -- Ansgar Esztermann Researcher & Sysadmin http://www.mpibpc.mpg.de/groups/grubmueller/start/people/aeszter/index.shtml
Ansgar Esztermann wrote:
On Sun, Oct 14, 2007 at 11:28:31PM +0200, Aniruddha wrote:
My brother get his ip adres through DHCP from a large college lan, his ip changes with regular intervals. I wonder is it possible reserve one particular ip for his machine and if so how do I do this?
I guess it should be possible to do a DHCPREQUEST for the desired address without DHCPDISCOVERing first.
The ISC dhcp client will normally do a request for the most recently assigned address first, then a discover if that is nack'ed. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (18)
-
Anders Johansson
-
Aniruddha
-
Ansgar Esztermann
-
Bryen
-
Carlos E. R.
-
efh@nessie.mcc.ac.uk
-
G T Smith
-
James Knott
-
jdd
-
Jerome R. Westrick
-
joe
-
Joe Morris (NTM)
-
John Meyer
-
Jos van Kan
-
Michael S. Dunsavage
-
Per Jessen
-
Richard Creighton
-
Sloan