I followed this page here to setup bridged networking
https://docs.fedoraproject.org/en-US/Fedora/23/html/Networking_Guide/sec-Create_a_Network_Bridge.html
Its on a fedora 25 server with one Intel NIC.
Once I follow that I lose all internet capability. DNF Upgrade or install returns cannot resolve host. Cannot ping 8.8.8.8.
remove those two files and reboot and voila everything works again.
I have also disabled firewalld for the time being just until i get this working.
Any suggestions or something I have blatantly missed.
It dawned on me to add a Gateway to my file and now i can ping google but dnf still not resolving host
I remembered how I did it before but I do no fell it is ideal or that I have learned anything but anyways instead of a static mapping in in ifcg file of br0 i set it up for DHCP and then in PFsense set a static mapping for that lease.
If anyone knows how to set this up through the ifcg file please let me know so I can learn what I am doing wrong when creating a bridge.
Dnf not resolving... so if you ping google, how do you do that, by the IP or by google.com?
A DNS request either resolves or it doesn't.
Is it possible that dnf is set to a specific server that is not available?
Have you updated your mirrors?
well now that you mention it i was typing 8.8.8.8 when it would ping. But if i typed in an address it wouldnt.
Yeah that means you're not resolving. Check your DNS settings, do they point to a DNS server?
is this under /etc/resolv.conf?
My server is command line only cause I am trying to force myself to learn command line. I had all of this working under Fedora 25 Workstation with Gnome and then decided to wipe and start cmd only. Enjoying it but got more to learn.
So you're not running DHCP right? Are you running BIND? How did you set up your connector, and what are you running in the container?
No containers or vms yet. I am back on dhcp for now but i basically followed that tutorial above to a T and then under the ifcg-br0 file I added a gateway and at that point i could ping 8.8.8.8 but couldn't get dnf to resolve to install packages. Thats about the time i realized what i had done before and set back to dhcp and added a static mapping under pfsense.
But I am assuming what you are telling me is that i could set this back up the way I had it and then where do i need to manually set my DNS servers?
Yes that is what would seem the most logical solution to me.
so i just need to set dns servers in /etc/resolv.conf?
Also is it ok to use NetworkManager because i saw in some places where i should disable that and use just network.service..Any thoughts?
no, /etc/resolve.conf is set at boot or connection reset by your environment.
it would work, but not be persistent.
So you either set it through nm, or through a DNS=x.x.x.x line in ifcfg
That's why I inquired about how your set it up.
ok i will try that. Thanks for the help.
I did set Gateway in the ifcg file but i guess that didnt help the issue.
So when doing bridging should I leave Network Manager enabled or disable it?
if you want to manually specify a dns server then you can delete /etc/resolv.conf and just remake the file.
systemd.resolvd links /etc/resolv.conf to a different file but it does not break anything to make the file yourself. Its linked for when you when you use .network files or DHCP clients for getting dns addresses. hint hint this is my setup. is a old habit that dies hard
the /etc/resolv.conf formatting is easy to manage and the formatting is simple
nameserver 8.8.8.8 #Primary DNS Server
nameserver 8.8.4.4 #Secondary DNS Server