VirtManager - Bridge Connection
Virt Manager | إنشاء وضبط Bridge Connection بنفس MAC الشريحة الحقيقية
Virt Manager | إنشاء وضبط Bridge Connection بنفس MAC الشريحة الحقيقية⚓︎
شرح كيفية إنشاء Bridge Connection بنفس الـ MAC Address الخاص بالشريحة - كارت الشبكة - الحقيقية، للحصول على نفس الـ IP المُحدد من الـ DHCP، واستخدامه بشكل فعال مع الأجهزة الافتراضية على Virt Manager - KVM / QEMU.
#more
Get the device name and MAC address⚓︎
ip addr
Install and Run nmtui
⚓︎
sudo dnf install NetworkManager-tui
sudo apt install network-manager
sudo pacman -Sy networkmanager
nmtui
Edit br0.nmconnection
⚓︎
sudo nano /etc/NetworkManager/system-connections/br0.nmconnection
add the following
NOTE:
Set your MAC address
[bridge]
stp=false
mac-address=FF:FF:FF:FF:FF:FF
to be as shown below
[connection]
id=br0
uuid=caf8d11-8f7b-5401-7ef1-87d1b5076624
type=bridge
interface-name=br0
[bridge]
stp=false
mac-address=FF:FF:FF:FF:FF:FF
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
[proxy]
Create a new connection in Virt Manager with below values⚓︎
<network>
<name>br0</name>
<forward mode="bridge"/>
<bridge name="br0" />
</network>