MAMEWorld >> The Loony Bin
View all threads Index   Threaded Mode Threaded  

Pages: 1

Pi
Allergic to life
Reged: 09/20/03
Posts: 6449
Loc: Room 101
Send PM


EnableDelayedDHCP
#334341 - 11/06/14 10:37 PM Attachment: [a Arsenixc] Konachan 140575 barefoot bed computer night original red.jpg 982 KB (0 downloads)


First, I don't know what DHCP is except it's needed for assigning IPs, but I don't know how, or why, or even if I need it.

I've always noticed that everytime I reboot my router, my internal IP changes. Sometimes it's 192.168.1.128, sometimes 129 and sometimes 130. It changes apparently randomly between those values.

On the other hand, my blu-ray player is also connected to the router, and as far as I know it always takes 131, although I rarely watch its config unless it stops working (but more often than not, it's an issue with Serviio).

Today I had a problem connecting with some parts of the interwebs internets and after fixing it I was just lazily moving through the router configuration, and saw that I had DHCP enabled, and it was configured to assign IPs in the range of 128 to 160. It also says that the leased time is 72 hours, and hell if I really understand what that means other than EnableDelayedDHCPRefreshHappiness == linearalgebra(72).

Is that somehow connected to my computer having a different IP each time the router reboots? Should I disable DHCP or leave it enabled? Is there a way to make my computer always get 192.168.1.128?

Thanks in advance for any insight. Take a beer, help yourself some crackers. Use my wife.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment



Wound up, can't sleep, can't do anything right, little honey / Oh, since I set my eyes on you. / I tell you the truth.
I can't get it right / Get it right / Since I met you...



Sune
Connected
Reged: 09/21/03
Posts: 5648
Loc: Lagoa Santa, Brasil
Send PM


Re: EnableDelayedDHCP new [Re: Pi]
#334374 - 11/07/14 06:08 AM


> Is that somehow connected to my computer having a different IP each time the router
> reboots? Should I disable DHCP or leave it enabled? Is there a way to make my
> computer always get 192.168.1.128?

I'm no expert but I'm pretty sure that it doesn't make any difference what IP adress your devices have on your local network. I mean, with regards to using the Internet.
With DHCP enabled, your router assigns all local IP addresses so it should know what to do with them...right? Unless it flipped out and assigned the same IP address to more than one device.

When I have trouble accessing sites it's usually (according to the Windows network troubleshooter) because of my ISPs DNS server. But the shitty router that they gave me does not allow me to specify a different DNS server. I can't use my old Netgear router because I have wireless 3G internet now (the only other option out here is satellite internet but that's too expensive). So I went to their store with this "HUAWEI" thing and asked them to give me something more modern. All the guy knew to talk about was "planos". Nobody in the store seemed to know anything about routers or DNS servers. I'm stuck with this thing. It doesn't even have Gigabit LAN.
I read somewhere that "HUAWEI" is barred from import to the US. Maybe it's not because they were caught spying, maybe it's because their routers suck so much.

Try using Google DNS or some other free DNS service if your router lets you.

S



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: EnableDelayedDHCP new [Re: Pi]
#334376 - 11/07/14 06:24 AM


For most people on normal household networks, you need to have DHCP enabled. Every device needs an IP address and someone (the router) needs to assign them.

My Asus router uses some sort of hashing algorithm based on (I assume) the mac address of the device to assign IP addresses. It's cool because every time a device connects, it gets assigned the same IP address without me needing to do anything.

Older routers generally dole out IP addresses based on the order that machines connect to it after a restart. This can cause issues when two devices on the network think they have the same IP address because one of them didn't realize that its IP address has been changed.

The solution with older routers is to assign a fixed IP to each device within the router settings. What is the make and model of your router? I can try to find some instructions on the web for you.



GroovyMAME support forum on BYOAC



Master O
Yes, Even Parodius Music
Reged: 11/20/06
Posts: 1332
Send PM


Re: EnableDelayedDHCP new [Re: Pi]
#334380 - 11/07/14 06:42 AM


> First, I don't know what DHCP is except it's needed for assigning IPs, but I don't
> know how, or why, or even if I need it.
>
> I've always noticed that everytime I reboot my router, my internal IP changes.
> Sometimes it's 192.168.1.128, sometimes 129 and sometimes 130. It changes apparently
> randomly between those values.
>
> On the other hand, my blu-ray player is also connected to the router, and as far as I
> know it always takes 131, although I rarely watch its config unless it stops working
> (but more often than not, it's an issue with Serviio).
>
> Today I had a problem connecting with some parts of the interwebs internets and after
> fixing it I was just lazily moving through the router configuration, and saw that I
> had DHCP enabled, and it was configured to assign IPs in the range of 128 to 160. It
> also says that the leased time is 72 hours, and hell if I really understand what that
> means other than EnableDelayedDHCPRefreshHappiness == linearalgebra(72).
>
> Is that somehow connected to my computer having a different IP each time the router
> reboots? Should I disable DHCP or leave it enabled? Is there a way to make my
> computer always get 192.168.1.128?
>
> Thanks in advance for any insight. Take a beer, help yourself some crackers. Use my
> wife.

DHCP stands for "Dynamic Host Configuration Protocol." This service just gives any device connected to your router its own IP address from an IP address range already set on the router. This address range is changeable if desired.

Lease Time is exactly what it sounds like.

Every 3 days, or 72 hours, your router gives your internet-connected devices a new IP from the IP range that was set, which in your case, was 192.168.1.128 - 192.168.1.160.

Before doing the steps below for giving yourself a static IP address, go to the Start Menu, type cmd in the search programs and menus field, and press enter.

Once the commandline appears, type ipconfig and write down the default gateway number that appears.

To give yourself a statically assigned IP address (in Windows 7), you must:

1) Go to Control Panel and select View Network Status and Tasks.

2) Once there, on the left hand side of the window, select Change Adapter Settings

3) Select "Local Area Connection," or, if using wireless, "Wireless Network Connection," and right-click on the icon.

4) In the drop-down menu that follows, select "Properties."

5) In the networking tab, select Internet Protocol v4 and press Properties.

6) Where it says, "Use the following IP address," select the button and type the following:

IP Address: 192.168.1.128
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1

However, because that .128 address is in your DHCP range, you run the risk of an IP address collision (meaning two devices on your network with the same IP address). As a result, it's recommended to give yourself an IP outside of that range. For example: 192.168.1.127

Also, instead of doing the above, you can also tell the router to automatically assign specific IP addresses to certain devices. This is known as a "DHCP Address Reservation." It's also a much better idea to do this than manually assign IPs to each and every device on your network.

Most home routers have a page that allows you to do DHCP Address Reservations. If you do that, your IP addresss will not change for the devices that you do this to.



"Note to Noobs:

We are glad to help you but simply posting that something does not work is not going to lead to you getting help. The more information you can supply defining your problem, the less likely it will be that you will get smart-alec replies.

C.D.~"



Pi
Allergic to life
Reged: 09/20/03
Posts: 6449
Loc: Room 101
Send PM


Re: EnableDelayedDHCP new [Re: Master O]
#334397 - 11/07/14 02:14 PM


> However, because that .128 address is in your DHCP range, you run the risk of an IP
> address collision (meaning two devices on your network with the same IP address). As
> a result, it's recommended to give yourself an IP outside of that range. For example:
> 192.168.1.127

What if I assign the .128 IP to my computer, and then change the DHCP rante go .129-.160 for the rest? I guess that'd be the ideal for me, and wouldn't cause any trouble. I have several programs and port forwards already configured.

That's what I'm gonna try.

Thanks for the insight and also to Sune and Krick. I think I know how to solve this issue which, while not severe, has had me puzzled for some years.

Wife is next to the crackers



Wound up, can't sleep, can't do anything right, little honey / Oh, since I set my eyes on you. / I tell you the truth.
I can't get it right / Get it right / Since I met you...


Pages: 1

MAMEWorld >> The Loony Bin
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  GatKong 
0 registered and 271 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2664