Cerrado

OpenVSwitch - Fix network interface settings

Este proyecto recibió 2 ofertas de freelancers talentosos con una oferta promedio de €38 EUR.

Obtén cotizaciones gratis para un proyecto como este
Empleador trabajando
Presupuesto de Proyecto
€8 - €30 EUR
Ofertas Totales
2
Descripción del Proyecto

I have two Proxmox server at OVH (SouYouStart). I am trying to implement OpenVSwitch on both servers but OVH has a MAC-IP filter which is causing my headache. Please note that you can't connect directly to my server.

At the moment I am using this configuration which is working.

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet static

address [url removed, login to view]

netmask 255.255.255.0

gateway [url removed, login to view]

post-up /sbin/ip addr add [url removed, login to view] dev eth0 brd + label eth0:0

pre-down /sbin/ip addr del [url removed, login to view] dev eth0 brd + label eth0:0

iface eth0 inet6 static

address 2001:XXXX:2:da1::

netmask 64

post-up /sbin/ip -f inet6 route add 2001:XXXX:2:dff:ff:ff:ff:ff dev eth0

post-up /sbin/ip -f inet6 route add default via 2001:XXXX:2:dff:ff:ff:ff:ff

pre-down /sbin/ip -f inet6 route del 2001:XXXX:2:dff:ff:ff:ff:ff dev eth0

pre-down /sbin/ip -f inet6 route del default via 2001:XXXX:2:dff:ff:ff:ff:ff

# VLan bridge

auto vlan100

iface vlan100 inet manual

vlan-raw-device eth0

# VLan adapter

auto vmbr1

iface vmbr1 inet static

address [url removed, login to view]

netmask 255.255.255.0

bridge_ports vlan100

bridge_stp off

bridge_fd 0

This is my OpenVSwitch configuration but it is not working and I am loosing the connection to my server.

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet manual

post-up ip link set dev eth0 address 00:25:90:7b:CC:BB

ovs_bridge vmbr0

ovs_type OVSPort

auto vmbr0

allow-ovs vmbr0

iface vmbr0 inet static

address [url removed, login to view]

netmask 255.255.255.0

broadcast [url removed, login to view]

post-up /sbin/ip addr add [url removed, login to view] dev vmbr0 brd + label vmbr0:0

pre-down /sbin/ip addr del [url removed, login to view] dev vmbr0 brd + label vmbr0:0

post-up ovs-vsctl set bridge vmbr0 other-config:hwaddr=00:25:90:7b:CC:BB

post-up route add [url removed, login to view] dev vmbr0

post-up route add default gw [url removed, login to view]

pre-down route del [url removed, login to view] dev vmbr0

pre-down route del default gw [url removed, login to view]

ovs_type OVSBridge

ovs_ports eth0 lan0

allow-vmbr0 lan0

iface lan0 inet static

address [url removed, login to view]

netmask 255.255.255.0

ovs_type OVSIntPort

ovs_bridge vmbr0

ovs_options tag=20

Habilidades Requeridas

Buscando hacer algo de dinero?

  • Establece tu presupuesto y período de tiempo
  • Describe tu propuesta
  • Consigue pago por tu trabajo

Contrata Freelancers que también oferten en este proyecto

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online