All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] bridging ipv6
@ 2004-04-25 23:45 filipe abrantes
  2004-04-26 15:57 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: filipe abrantes @ 2004-04-25 23:45 UTC (permalink / raw)
  To: bridge

hello all:

im trying to set up a bridge for ipv6, but i cant manage to get it 
working, does someone have experience with this?

i used the common :

brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth2

then to set up the ip's i tried

ifconfig eth0 inet6 add ::/0
ifconfig eth2 inet6 add ::/0
ifconfig br0 inet6 add 2020::2/128

and also tried(the above didnt work for me):

removing all addresses from all bridged interfaces (even the link local 
ones).


Another question:

Is there any way i can set up a bridge and then block all level 2 
forwarding between the bridged interfaces?

I know it seems odd, but the idea was to have only one interface to 
handle the other two - its good for ipv6 multicasting,  that way you 
dont need to bind sockets to all interfaces.


thanks a lot

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

* Re: [Bridge] bridging ipv6
  2004-04-25 23:45 [Bridge] bridging ipv6 filipe abrantes
@ 2004-04-26 15:57 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2004-04-26 15:57 UTC (permalink / raw)
  To: filipe abrantes; +Cc: bridge

On Mon, 26 Apr 2004 00:45:51 +0100
filipe abrantes <filipe_abrantes@netcabo.pt> wrote:

> hello all:
> 
> im trying to set up a bridge for ipv6, but i cant manage to get it 
> working, does someone have experience with this?

Kernel version, and other info please.

> i used the common :
> 
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth2
> 
> then to set up the ip's i tried
> 
> ifconfig eth0 inet6 add ::/0

There is no point in using ipv6, here it is just enabling the
interfaces.
	ifconfig eth0 up
or	ifconfig eth0 0.0.0.0
does the same thing.

> ifconfig eth2 inet6 add ::/0
> ifconfig br0 inet6 add 2020::2/128
> 
> and also tried(the above didnt work for me):
> 
> removing all addresses from all bridged interfaces (even the link local 
> ones).
 
What is the state of eth0, eth2, and br0?
Does the bridge work for packets going through?
Can you ping anything?
What about doing a tcpdump on br0?


> Another question:
> 
> Is there any way i can set up a bridge and then block all level 2 
> forwarding between the bridged interfaces?

That is called bonding, use it instead of bridging.

> I know it seems odd, but the idea was to have only one interface to 
> handle the other two - its good for ipv6 multicasting,  that way you 
> dont need to bind sockets to all interfaces.
> 
> 
> thanks a lot
> 

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

end of thread, other threads:[~2004-04-26 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-25 23:45 [Bridge] bridging ipv6 filipe abrantes
2004-04-26 15:57 ` 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.