Answer the question
In order to leave comments, you need to log in
How to create a bridge for KVM without binding to eth*, but with Internet access?
I have a small task. I need to create a bridge br1 with Internet access and without being tied to a physical interface. What I did:
My interface is br1
DEVICE=br1
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NM_CONTROLLED=no
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j SNAT --to-source 192.168.122.1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question