All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] Some Questions
@ 2005-10-21  1:45 Ted Kaczmarek
  2005-10-24 16:42 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Ted Kaczmarek @ 2005-10-21  1:45 UTC (permalink / raw)
  To: bridge

I am battling an issue with use of bridging with xen.
For some yet undetermined reason supposedly relating to stp, they assign
a mac address of fe:ff:ff:ff:ff:ff  to the bridge.

Was hoping someone here may be able to elaborate on that.


If I enslave a bridge to an ethernet, and than restart that network
interface, should the bridge operation behave the same after the ip
interface is restarted?


Is their any arp functionality in the bridge itself?
Am thinking like arp snooping, or anything else for that matter.

In general I have been seeing a lot of odd behavior with the xen bridge
in their unstable code base. Am hoping for some insight.


Regards,
Ted


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bridge] Some Questions
  2005-10-21  1:45 [Bridge] Some Questions Ted Kaczmarek
@ 2005-10-24 16:42 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2005-10-24 16:42 UTC (permalink / raw)
  To: Ted Kaczmarek; +Cc: bridge

On Thu, 20 Oct 2005 21:45:08 -0400
Ted Kaczmarek <tedkaz@optonline.net> wrote:

> I am battling an issue with use of bridging with xen.
> For some yet undetermined reason supposedly relating to stp, they assign
> a mac address of fe:ff:ff:ff:ff:ff  to the bridge.
> 
> Was hoping someone here may be able to elaborate on that.

Well it is a legal address (albeit odd). The LSB of the first byte
must be 0 (otherwise it is broadcast/multicast) and the MSB should be
one (assigned by software). They should really use the kernel function
random_ether_addr because the address may leak to the outside world when
used in other protocols.

But it's Xen's problem.

> 
> If I enslave a bridge to an ethernet, and than restart that network
> interface, should the bridge operation behave the same after the ip
> interface is restarted?

Yes, but you have to wait for the bridge to go into the forwarding
state, it is receive only during the learning period.

> Is their any arp functionality in the bridge itself?

ARP is for resolving IP to Ethernet; and the bridge doesn't know
what IP is?

> Am thinking like arp snooping, or anything else for that matter.
The forwarding table maybe what you are thinking of. It maps ethernet
address to device. It keeps track of which interfaces packets arrived
on and sends out the same path. If it doesn't know where to send a packet
it has to do flooding on all interfaces.


> In general I have been seeing a lot of odd behavior with the xen bridge
> in their unstable code base. Am hoping for some insight.

Xen is using bridging in non-standard ways. IMHO they need to either use
it exactly as intended or better yet invent their own virtual ethernet device.


> Regards,
> Ted
> 


-- 
Stephen Hemminger <shemminger@osdl.org>
OSDL http://developer.osdl.org/~shemminger

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-24 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21  1:45 [Bridge] Some Questions Ted Kaczmarek
2005-10-24 16:42 ` Stephen Hemminger

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.