Basically, I am trying out ipfire as a VM.
Im running it with KVM on Fedora.
Now I added a red network, NAT and two host-only networks for green and orange (I want to connect them to some other VMs later on). I configured the the red, green and organge network with some ip-ranges.
When I check my the NICs and their ips (ip -a) I can see all nics have an ip. When I try to ping the ip of the red NIC from the host machine, I do recieve feedback. But when I log in to ipfire and try to ping google or something, it does not work: So I guess ipfire has no internet connection.
Now: Im a beginner. I missed something obvious didn’t I? Would be happy with all tips and hints!
Thanks for help, I really appreciate it! Thanks for the command the link! Will test that now…
OK when I run the setup command in the VM again and set dhcp for the red network, ping is working. But it was my intention to set the red network statically. Looking at the link you send, I guess that is also what you meant.
So based on your link and on this one I created the following nat-network with virsh that should work on the bridge virbr0 (i hope I got that right), it looks like this:
You’re missing the gateway info and also looking at the network configuration, you have range 72.1 - 72.254 but ipfire gets 72.100 If you want static, it should be outside that range. I have not worked with virsh so others in the know might chime in.
I took a screenshot of a test network. My host network is 10.*, ipfire red got 10.0.0.14, gw is 10.0.0.1 and there is green and blue networks. route -n shows the gateway for red (see the G in Flags)