Re: Build a network bridge with Fedora

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

 



On Thu, 2017-09-21 at 23:54 -0700, Samuel Sieb wrote:
> On 09/21/2017 11:30 PM, Cristian Sava wrote:
> > To be more precise, I expect something really simple like:
> >    nmcli tobridge ifcfg-eth0
> > nothing more, instead of the two complicated lines, because all
> > configuration is already in ifcfg-eth0 and the bridge will be build
> > from that.
> 
> How is there enough information in there to create a bridge since
> the 
> only information in that file is to configure an ethernet interface.

Directly from my F27 (thanks Fedora team!) workstation that hosts
virtual boxes:

[cristi@s222 network-scripts]$ cat ifcfg-enp0s25
TYPE=Ethernet
#PROXY_METHOD=none
#BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
#IPV4_FAILURE_FATAL=yes
#IPV6INIT=yes
#IPV6_AUTOCONF=yes
#IPV6_DEFROUTE=yes
#IPV6_FAILURE_FATAL=no
#IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp0s25
UUID=a78eed75-14d9-3cec-8ae0-0b914751495a
ONBOOT=yes
#AUTOCONNECT_PRIORITY=-999
DEVICE=enp0s25
#IPADDR=193.a.b.222
#PREFIX=27
#GATEWAY=193.a.b.193
#DNS1=193.a.b.52
#DNS2=193.a.b.254
#DOMAIN="domain1.ro"
#IPV6_PRIVACY=no
BRIDGE=bridge0

[cristi@s222 network-scripts]$ cat ifcfg-bridge0
DEVICE=bridge0
TYPE=Bridge
IPADDR=193.a.b.222
NETMASK=255.255.255.224
GATEWAY=193.a.b.193
DNS1=193.a.b.52
DNS2=193.a.b.254
ONBOOT=yes
BOOTPROTO=none

I think it's clear enough that you have all you need to go from ifcfg-
enp0s25 to ifcfg-enp0s25 & ifcfg-bridge0 and also do a reverse thing.

> 
> > It should also be an option at install time to choose bridge
> > instead
> > normal ethernet.
> 
> What use would a bridge be for installing?  I can understand maybe a 
> vlan config but not a bridge.
> 
NO. You have a server or workstation with virtual boxes with IPs to
connect to. So you have to switch to a bridge your normal interface of
the host.

> > As of now we have no option to do that in the graphical network
> > configuration tool!
> 
> Install nm-connection-editor.
Yes, you have to know and install it.

> > So, I know how to do that but it's not easy for average user and
> > that's
> > a problem to be solved.
> 
> Why would an average user have any use at all for this?
Because you want to integrate (and connect to) his virtual box.

> I don't even understand from your original question what it is
> you're 
> trying to do.
> 
You have a physical box and you want a web server and a mail server on
it. So you will put one in a virtual box.
You have a workstation and you need wine in a different box and
accessed from around stations.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@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