The issue I am facing:
No internet on the computer running PiHole. And no filtering.
Details about my system:
I had Asus router(192.168.29.1/24). And now I have TP-Link (192.168.0.1.24).
Internet works for other devices as they don't have a connection to pihole.
However, the machine running pihole still points to old DNS.
So, it doesn't have internet. and obviously because of it no filtering.
I found couple of pages about needing to update entry in /etc/dhcpd.conf file.
However, it might be for raspbian. As I don't see that file on my ubuntu 20.04.
There's /etc/dhcp directory but there's no dhcpd.conf there.
There is however, /etc/dhcp/dhclient.conf. However, every line is commented out there.
So, not sure how to update DNS for it.
And since there's no internet, I can't even reconfigure it using pihole -r.
Could you please let me know which/where to update entries to re-configure pihole to new router?
Thanks,
If it's not connected, how did it acquire its 192.168.0.130 dynamic IP address?
Judging by that address, it was able to get a DHCP lease from your current TP-Link router at 192.168.0.1, while it still holds a static definition (forever) for 192.168.29.195.
I'm also curious about that virbr0 interface. What's its purpose, and how is it configured? Assuming it's a bridge, would it include en01?
How do I fix/remove static definition for old ip(192.168.29.195)?
I know the computer got new ip. I think I did mention it initially.
However there’s no internet and filtering doesn’t work.
Since a VM is somehow involved, you'd have to find out which IP addresses you really need. Sort your IP address issues and get rid of any extra addresses that aren't required by you.
Thank you for responding.
VM is not important. I created couple of VMs to experiment with few things.
We can get rid of those. I can always re-create vms if I need to.
I do need help with : removing the IP addresses.
I don't know how to. I looked up online but got confusing instructions.
We can get rid of all but 192.168.0.130 (new one). And even that we can get rid of if we need to (if it's easier to clean up everything). Router will just issue new one next time.
I even tried to remove the network profile from GUI (Ubuntu 20.04.1 LTS). But can't seem to clean the ips.
Could you please tell me how to get rid of the ips (old network config)?