Question DHCP Client not assigning the Auto IP

jobin40

Junior Member
Feb 1, 2019
5
0
6
Hi,

I am trying to connect to a Router which is not having the DHCP server . Since the DHCP server is not running in the Router, the DHCP client will not be able get the IP address . As I know, if there is no DHCP server in the network the DHCP client should assign an Auto IP in the series 169.254 according to the Zeroconf logic. But this is not working. The DHCP client is getting timed out and connection is getting reset. I am using the DHCP client version 5.2.10.
Does the Google DHCP client support the Zeroconf?
If DHCP client supports, how to enable the Auto IP ?
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,103
126
169.254.x.x is not routable on the internet, it's private.

What do you mean using DHCP client 5.2.10? Windows? Linux? How do you tell it's version?

And what do you mean Google DHCP client? Never heard of it. Google only provides DNS service, it does not provide DHCP service.

And how come the router doesn't support DHCP? Can't you turn it on? What brand/model?

If DHCP server is not running and you need to access the internet, just set a static IP & DNS IP & gateway IP on your machine.
 
Last edited:

jobin40

Junior Member
Feb 1, 2019
5
0
6
Hi,

I don't need a internet connection. I just want a local private network.

I am using the Dhcp Client Code by Roy Marples and I am working in Linux.

I am using the Apple router, the Airport Express .I have changed the router settings manually to disable the DHCP server. When I connect the iPhone to the router I am getting an ip address in the rage of 169.254.xx.xx . But when I connect my android mobile or any other devices the IP is not there and the connection is getting reset.
 

jobin40

Junior Member
Feb 1, 2019
5
0
6
Above mentioned behaviour was the one I am seeing with the Android and iPhone.

Please correct me if there is any wrong info in my post
 

jobin40

Junior Member
Feb 1, 2019
5
0
6
This? https://roy.marples.name/

I'm not interested in your personal project.

And it's against forum's policy discussing anything regarding hacking.

Its not hacking. I am working on a project and I need to do some testing on the WiFi. One of the test requirement is to configure the Router in the bridge mode and connect the device to the Router. The device should be able to connect to the WiFi of router and the device should have an IP address run the test.

So there I was getting these issues while connecting to a Router configured in Bridge mode.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,531
416
126
Change the network configuration in the dhcpcd.conf file.

  • sudo nano /etc/dhcpcd.conf.
  • Type in the following lines on the top of the file: interface eth0 static ip_address=192.168.1.XX/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.1.
  • sudo reboot.
What is 192.168.1.1 above should be the IP of the Apple Bridge.
All iPs have to be of the same subnet.

In general Static IP in Linux
www.ostechnix.com/configure-static-ip-address-linux-unix/


:cool: