* vlan based macvlan issue
@ 2009-07-06 13:09 Sudheer
[not found] ` <1129ae910907060609g61322dcas8df914eeb2148a6f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Sudheer @ 2009-07-06 13:09 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Hi,
I have created a macvlan container using one vlan interface . After that
I couldn't ping form the macvlan container to the host machine which is
included the same vlan network. Below the details.
lxc-macvlan config file :
lxc.utsname = alpha
lxc.network.type = macvlan
lxc.network.flags = up
lxc.network.link = eth1.100
lxc.network.hwaddr = 4a:49:43:49:79:bd
lxc.network.ipv4 = <xx.xx.100.xx>
After creating the container able to see the macvlan interface but couldn't
ping from the container to host machines. Is anything missing in my above
config file or anything need to be add for vlan based macvlan?
regards,
Sudheer.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: vlan based macvlan issue
[not found] ` <1129ae910907060609g61322dcas8df914eeb2148a6f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-07-15 8:13 ` Eric W. Biederman
0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2009-07-15 8:13 UTC (permalink / raw)
To: Sudheer; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Sudheer <sudheer-ETsMpvZGyKJdeDdKuUvyIgC/G2K4zDHf@public.gmane.org> writes:
> Hi,
>
> I have created a macvlan container using one vlan interface . After that
> I couldn't ping form the macvlan container to the host machine which is
> included the same vlan network. Below the details.
>
> lxc-macvlan config file :
>
> lxc.utsname = alpha
> lxc.network.type = macvlan
> lxc.network.flags = up
> lxc.network.link = eth1.100
> lxc.network.hwaddr = 4a:49:43:49:79:bd
> lxc.network.ipv4 = <xx.xx.100.xx>
> After creating the container able to see the macvlan interface but couldn't
> ping from the container to host machines. Is anything missing in my above
> config file or anything need to be add for vlan based macvlan?
That is one of the dubious features of macvlan devices.
There are some good technical reasons for it as fixing it makes
the macvlan code noticeably more complicated and expensive.
My suggestion would be to not use the primary ethernet interface
and use macvlans for everything. macvlan to macvlan communication
should work properly and you should loose anything always going
through a macvlan.
Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-15 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06 13:09 vlan based macvlan issue Sudheer
[not found] ` <1129ae910907060609g61322dcas8df914eeb2148a6f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-15 8:13 ` Eric W. Biederman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.