Re: Tip: qemu-kvm and network-scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-04-26 20:20, Ed Greshko wrote:
On 2020-04-27 10:56, ToddAndMargo via users wrote:
Mine.  I have two network cards:  eno1 is internal with all my vm's and eno2 is external to the Internet and iptables

Why do you use a network card for your VM's?  Did you have issues with virtual HW?


both physical network cards are on the host machine.  the
vm's connect through qemu-kvm "Network bridge: br0" to
the host machines and then get routed to the internet
through en12, via iptables

$ cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
ONBOOT=yes
USERCTL=yes
DELAY=0
NM_CONTROLLED=no
BOOTPROTO=none
PREFIX=24
# IPV4_FAILURE_FATAL=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=no
IPV6_DEFROUTE=no
IPV6_FAILURE_FATAL=no
IPV6_PRIVACY=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME="System br0"
IPADDR=192.168.255.10
# NETMASK=255.255.255.0
NETWORK=192.168.255.0
DNS1=127.0.0.1
PROXY_METHOD=none
BROWSER_ONLY=no
AUTOCONNECT_PRIORITY=-999
# DEFROUTE=yes
DEFROUTE=no

$ cat ifcfg-eno1
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
# NAME=enp6s0
NAME=eno1
UUID=be0f8dfa-9939-4f9e-a20a-cadf593452c2
DEVICE=eno1
ONBOOT=yes
# IPADDR=192.168.255.10
# Note: NETMASK is now called "PREFIX"
# PREFIX=24
# GATEWAY=192.168.255.10
DNS1=127.0.0.1
# IPV6_PEERDNS=yes
# IPV6_PEERROUTES=yes
BRIDGE=br0

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux