Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17770

Issues with creating a subinterface with a macvlan

$
0
0

Hey guys,

I'm currently trying to create a subinterface with a macvlan to assist with a fail over in a gitlab cluster.

My problem is that I can get the interface to come up, but I'm having issues with it accepting or getting traffic. I can ping the IP on the host the IP is present on, but thats it, nothing from the outside can hit the IP.

I'm also seeing some strange behaviour on tcpdump, sometimes ICMP packets will make it through, sometimes ARP replys make it out.

I'm currently building up the interface like so,

ip link add link ${floating_ip_device} address ${floating_mac_vlan} ${floating_ip_subdevice} type macvlan mode bridge ip addr add ${floating_ip_spec} broadcast 10.247.255.255 dev ${floating_ip_subdevice} ip link set ${floating_ip_subdevice} up 

sorry about the variables, but they should be self explanatory..

Any thoughts or ideas?

Ubuntu 14.04 LTS btw

submitted by MattsFace
[link][4 comments]

Viewing all articles
Browse latest Browse all 17770

Trending Articles