Re: [patch 2/6] [Network namespace] Network device sharing by view

2 messages, 2 authors, 2006-06-30 · open the first message on its own page

Re: [patch 2/6] [Network namespace] Network device sharing by view

From: Eric W. Biederman <hidden>
Date: 2006-06-30 18:23:54

jamal [off-list ref] writes:
quoted
quoted
quoted
Then the pragmatic question becomes how to correlate what you see from
`ip addr list' to guests.
on the host ip addr and the one seen on the guest side are the same.
Except one is seen (on the host) on guest0-eth0 and another is seen 
on eth0 (on guest).
Then what to do if the host system has 10.0.0.1 as a private address on eth3,
and then interfaces guest1-tun0 and guest2-tun0 both get address 10.0.0.1
when each guest has added 10.0.0.1 to their tun0 device?
Yes, that would be a conflict that needs to be resolved. If you look at
ip addresses as also belonging to namespaces, then it should work, no?
i am assuming a tag at the ifa table level.
Yes.  The conception is that everything belongs to the namespace,
so it looks like you have multiple instances of the network stack.

Which means through existing interfaces it would be a real problem
if a network device showed up in more than one network stack as
that would confuse things.

Basically the reading and configuration through existing interfaces
is expected to be in the namespace as well which is where the difficulty
shows up.

When you get serious about splitting up roots powers this becomes a real
advantage.  Because you might want to have one person responsible for
what would normally be eth0 and another person responsible for eth1.

Anyway Jamal can you see the problem the aliases present to the implementation?

Eric

Re: [patch 2/6] [Network namespace] Network device sharing by view

From: jamal <hidden>
Date: 2006-06-30 21:52:09

On Fri, 2006-30-06 at 12:22 -0600, Eric W. Biederman wrote:
Anyway Jamal can you see the problem the aliases present to the implementation?
I think more than anything i may have a different view of things and no
code ;-> And you are trying to restore order in the discussion - so my
wild ideas dont help. If you guys have a meeting somewhere like this
coming OLS I will come over and disrupt your meeting ;-> I actually have
attempted to implement things like virtual routers but you guys seem way
ahead of anywhere i was.


cheers,
jamal

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help