Re: Bridge
- From: Justin Brown <justin brown fandingo org>
- To: mailinglist tdeo fr
- Cc: networkmanager-list gnome org
- Subject: Re: Bridge
- Date: Fri, 2 Aug 2013 11:53:48 -0500
Florent,
If I understand you correctly, this should be easy. You will need to
substitute id, uuid, and mac-address fields as necessary.
/etc/NetworkManager/system-connections/eth0.ini
[connection]
id=eth0
uuid=7974cee9-c454-4d0f-93b1-37f93de2ae92
type=802-3-ethernet
master=71abc14f-fd97-4d62-9a2b-6d07e8a2801c
slave-type=bridge
[802-3-ethernet]
mac-address=00:1e:4f:fc:3e:02
[ipv4]
method=ignore
[ipv6]
method=ignore
==================
/etc/NetworkManager/system-connections/br0.ini
[connection]
id=br0
uuid=71abc14f-fd97-4d62-9a2b-6d07e8a2801c
type=bridge
autoconnect=true
[bridge]
interface-name=br0
[ipv4]
method=manual
dns=192.168.25.100;192.168.25.101
addresses1=192.168.25.10;192.168.25.1;
===================
/etc/NetworkManager/NetworkManager.conf
[main]
plugins=keyfile
chmod 600 those ini files and reboot.
sysctl -w net.ipv4.ip_forward=1
Attach your guests to br0, and they will be able to communicate
directly with your laptop's network.
On Fri, Aug 2, 2013 at 11:34 AM, Florent THOMAS <mailinglist tdeo fr> wrote:
On 02/08/2013 18:04, Justin Brown wrote:
Florent,
I think that I can point you in the right direction if you can answer
a few questions.
Thanks, I had to precise that this conf is only for testing. All my answers
will concern the architecture for my tests. Once I will have validate
everything, a pfsense router will be used.
1) Are the data and VOIP networks tagged with VLANs?
Not for the moment and they won't be tagged. They are delivered directly
behind the cisco router on 2 differents ports
2) Does your laptop need IP addresses for the data and/or VOIP
networks, or does the laptop use a wireless network?
The laptop need (I think) at least one IP on data to get in the network and
communicate.
3) If the laptop needs IP addresses, are they DHCP or static?
Everything is static
In the end, I can have a virtual network that is NAT for the Guest on the
device accessing datas, there is no problem for my tests. Yet, for the VoIP,
my guest must use a specific IP and access to a specific one in order to
register to a trunk sip.
Thanks for all
On Fri, Aug 2, 2013 at 10:58 AM, Florent THOMAS <mailinglist tdeo fr> wrote:
Thanks for your answer.
This kind of conf is giving me crayz. I think I will try another way.
Anyway, My problem is the following.
IP_Datas ------------|
|
IPVoIP ---------------|
|
SWITCH
In the switch I plug my only ethernet device of my laptop.
Inside the laptop I have a VM with 2 ethernet cards. I would like to know
how to configure the virtual network for accessing both network physically
form the VM guest.
Regards
On 02/08/2013 17:20, Justin Brown wrote:
Florent,
It depends by what you mean for virtual networking. If you want a
Linux bridge attached to an ethernet interface (or VLAN) with KVM
guests attaching vnets, yes, that is currently possible with
NetworkManager. On the other hand, NetworkManager cannot control Open
vSwitch or other advanced features.
The documentation for NM is sorely lacking, but I have found the
Fedora Networking guide, https://fedoraproject.org/wiki/Networking, to
be useful. And if you get deep into NM keyfile configurations,
https://projects.gnome.org/NetworkManager/developers/api/09/ref-settings.html
lists all possible configuration keys.
Regards,
Justin
On Fri, Aug 2, 2013 at 9:23 AM, Florent THOMAS <mailinglist tdeo fr> wrote:
Hy folks
Is networkmanager capable for managing bridges for virtual networking?
Thanks
Regards,
Florent THOMAS
_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]