[ovs-discuss] Increase MTU of specific VLANs

Daniel Dehennin daniel.dehennin at baby-gnu.org
Wed Aug 24 14:07:31 UTC 2016


Daniel Dehennin <daniel.dehennin at baby-gnu.org> writes:

> Hello,
>
> I have 3 hypervisors with two OVS bridges:
>
> - phybr0: connected to physical infrastructure though bond0 trunk to give
>   access to physical VLANs
>
> - vibr0: for user virtual networks disconnected from physical
>   infrastructure, 1 network == 1 VLAN
>
> Each hypervisor has an lan0 interface on a dedicated VLAN:
>
>     ovs-vsctl add-port phybr0 lan0 lan=702 -- set interface lan0 type=internal

I plan a maintenance tomorrow to replace this lan0 internal interface
with a veth pair:

    # /etc/network/interfaces.d/10_lan.conf
    auto lan0
    iface lan0 inet static
            pre-up ip link add ${IFACE} type veth peer name ${IFACE}-port
            pre-up ip link set ${IFACE}-port up
            address @IP_nebulaX
            netmask 24
            post-down ip link delete ${IFACE}

    ovs-vsctl add-port phybr0 lan0 tag=702

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 342 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160824/3c1cea48/attachment-0002.sig>


More information about the discuss mailing list