[ovs-discuss] Assign static ip to OVS bridge

John Chludzinski john.chludzinski at vivaldi.net
Thu Jun 16 16:00:26 UTC 2016


The ifcfg file works like a champ. No problem and, of course, it 
provides a persistent IP assignment on reboot.

Thank guys.


On 2016-06-16 11:42, james hopper wrote:
> Hey Guru,
> If i understood correctly, you want to use your OVS Box to have a
> static ip address and to communicate with it. If so, go ahead and
> create an ifcfg file  /etc/sysconfig/network-scripts/ifcfg-$bridgeName
> 
> 
> Then configure it as.
> DEVICE=$bridgeName
> HWADADR=<$bridgeName address as shown in _ifconfig $bridgeName_>
> TYPE=OVSBridge
> ONBOOT=yes
> BOOTPROTO=static
> IPADDR=x.x.x.x
> netmask=y.y.y.y
> 
> Moreover, you can use LOCAL in your actions to send traffic to
> OVS-Box.
> 
> SENT: Thursday, June 16, 2016 at 7:55 AM
> FROM: "Guru Shetty" <guru at ovn.org>
> TO: "John Chludzinski" <john.chludzinski at vivaldi.net>
> CC: discuss <discuss at openvswitch.org>
> SUBJECT: Re: [ovs-discuss] Assign static ip to OVS bridge
> 
> On 16 June 2016 at 06:04, John Chludzinski
> <john.chludzinski at vivaldi.net> wrote:
> 
>> I have a small box running RHEL 7.1 hosting the OVS 2.5
>> bridge/switch with ALL of its interfaces in the bridge. And I have
>> several boxes, again running RHEL 7.1, plugged into the bridge-box's
>> interfaces.
>> 
>> I also need to be able to communicate with the bridge-box --- but
>> all of its interfaces are in the OVS switch.
>> 
>> If the OVS switch/bridge had an IP address I could use that. That's
>> what we've done using Linux bridges. But, unfortunately, Linux
>> bridges don't meet all our requirements.
> 
> Have you read this yet?
> https://github.com/openvswitch/ovs/blob/master/rhel/README.RHEL
> 
>> ---John
>> 
>> On 2016-06-16 08:16, John Chludzinski wrote:
>> 
>>> How can I assign a static ip-address to an OVS bridge?
>>> 
>>> ---John
>>> _______________________________________________
>>> discuss mailing list
>>> discuss at openvswitch.org
>>> http://openvswitch.org/mailman/listinfo/discuss
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>  _______________________________________________ discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss



More information about the discuss mailing list