All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] broadcast over gre tunnel?
@ 2003-07-22 23:19 Martin Klewitz
  2003-07-22 23:36 ` Damion de Soto
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Martin Klewitz @ 2003-07-22 23:19 UTC (permalink / raw)
  To: lartc

Hello,

I connected the network 192.168.1.0 with 192.168.2.0 over the internet
trough a GRE-Tunnel.
I don't know if I set up all things right: The client-pcs in both networks
have a subnet mask of 255.255.255.0 and 192.168.2.x's default gateway is the
server wich has started the tunnel.
The 192.168.1.x's default gateway is 192.168.1.250 wich routes traffic
destinated to 192.168.2.0/24 to 192.168.1.36 (the server wich has started
the tunnel in the other network).

I think the routing is ok. For example I can ping 192.168.1.86 from
192.168.2.21 and the other way round, too.
But I want to enable all lan features - the window boxes should find the
window boxes in the other network in their "network neighborhood".
What do I have to do, to implement this "feature"?
Is this even possible?

Thanks in advance!

With best regards

Martin Klewitz

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] broadcast over gre tunnel?
  2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
@ 2003-07-22 23:36 ` Damion de Soto
  2003-07-23  8:59 ` Martin Klewitz [gamigo AG]
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Damion de Soto @ 2003-07-22 23:36 UTC (permalink / raw)
  To: lartc

Martin Klewitz wrote:
> 
> I think the routing is ok. For example I can ping 192.168.1.86 from
> 192.168.2.21 and the other way round, too.
> But I want to enable all lan features - the window boxes should find the
> window boxes in the other network in their "network neighborhood".
> What do I have to do, to implement this "feature"?
> Is this even possible?
> 
You're half-way there - you just need to change your subnets, and use bridging.

You need to bridge your lan interfaces to the gre interface on both ends,
and then you also need both networks the same.
Then all PCs at both ends should think they're on the same network,
and broadcast packets will go everywhere.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     damion@snapgear.com
SnapGear ---                           ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] broadcast over gre tunnel?
  2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
  2003-07-22 23:36 ` Damion de Soto
@ 2003-07-23  8:59 ` Martin Klewitz [gamigo AG]
  2003-07-23  9:38 ` Martin Klewitz
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Klewitz [gamigo AG] @ 2003-07-23  8:59 UTC (permalink / raw)
  To: lartc

Hello,

> You need to bridge your lan interfaces to the gre interface on both ends,
> and then you also need both networks the same.
> Then all PCs at both ends should think they're on the same network,
> and broadcast packets will go everywhere.

Could you tell me how I can bridge the networks?
I don't want to (I actually can't) reboot the gateway on 192.168.1.0,
because a 2Mbit is routed trough this box and there are connections alive
that can't be interrupted (without that it costs some money :( )
So a recompile of the kernel isn't possible :(


Thanks in advance!

With best regards

Martin Klewitz

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] broadcast over gre tunnel?
  2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
  2003-07-22 23:36 ` Damion de Soto
  2003-07-23  8:59 ` Martin Klewitz [gamigo AG]
@ 2003-07-23  9:38 ` Martin Klewitz
  2003-07-23 23:39 ` Damion de Soto
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Klewitz @ 2003-07-23  9:38 UTC (permalink / raw)
  To: lartc

> So a recompile of the kernel isn't possible :(
I forgot to say, the kernel wich I can't recompile is 2.4.20-4GB (SuSE).
The kernel on the second networks router could be recompiled if necessary -
it is 2.4.21 I compiled myself.

Mit freundlichen Grüßen / With best regards

Martin Klewitz

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] broadcast over gre tunnel?
  2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
                   ` (2 preceding siblings ...)
  2003-07-23  9:38 ` Martin Klewitz
@ 2003-07-23 23:39 ` Damion de Soto
  2003-07-24 14:32 ` Martin Klewitz
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Damion de Soto @ 2003-07-23 23:39 UTC (permalink / raw)
  To: lartc

Martin Klewitz [gamigo AG] wrote:
> 
> Could you tell me how I can bridge the networks?
There's some bridge howtos, and stuff in the kernel doco:
http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETBRIDGE
linux/Documentation/networking/bridge.txt

> So a recompile of the kernel isn't possible :(
If it supports modules, you can just build and insert the bridge.o module.
Otherwise, well... you won't be able to build a bridge.

good luck.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     damion@snapgear.com
SnapGear ---                           ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] broadcast over gre tunnel?
  2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
                   ` (3 preceding siblings ...)
  2003-07-23 23:39 ` Damion de Soto
@ 2003-07-24 14:32 ` Martin Klewitz
  2003-07-24 14:49 ` Nickola Kolev
  2003-07-25  1:24 ` Damion de Soto
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Klewitz @ 2003-07-24 14:32 UTC (permalink / raw)
  To: lartc

Hello Damion,

> There's some bridge howtos, and stuff in the kernel doco:
> http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETBRIDGE
> linux/Documentation/networking/bridge.txt
The problem is, that bridge-utils don't work with a gre tunnel:
router:~ # brctl addbr br0
router:~ # brctl addif br0 eth1
router:~ # brctl addif br0 gre0
br_add_interface: Invalid argument

Is there any possibility to make bridge-utils work with a gre-tunnel?
Or are there any other bridging-methods?

Thanks in advance!

With best regards

Martin Klewitz
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] broadcast over gre tunnel?
  2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
                   ` (4 preceding siblings ...)
  2003-07-24 14:32 ` Martin Klewitz
@ 2003-07-24 14:49 ` Nickola Kolev
  2003-07-25  1:24 ` Damion de Soto
  6 siblings, 0 replies; 8+ messages in thread
From: Nickola Kolev @ 2003-07-24 14:49 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]


Hello,

Use vtund - vtun.sourceforge.net, it's quite more flexible than gre tunnels, 
and works fine with bridge-utils, too. You can use it to transport not only
IP, but other layer 3 protocols as well, it has compression and encryption.


On Thu, 24 Jul 2003 16:32:57 +0200
"Martin Klewitz" <martin@gamigo.de> wrote:

 : Hello Damion,
 : 
 : > There's some bridge howtos, and stuff in the kernel doco:
 : > http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETBRIDGE
 : > linux/Documentation/networking/bridge.txt
 : The problem is, that bridge-utils don't work with a gre tunnel:
 : router:~ # brctl addbr br0
 : router:~ # brctl addif br0 eth1
 : router:~ # brctl addif br0 gre0
 : br_add_interface: Invalid argument
 : 
 : Is there any possibility to make bridge-utils work with a gre-tunnel?
 : Or are there any other bridging-methods?


-- 
________________________________________________________________________

So long, and thanks for all the fish!

Nickola

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [LARTC] broadcast over gre tunnel?
  2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
                   ` (5 preceding siblings ...)
  2003-07-24 14:49 ` Nickola Kolev
@ 2003-07-25  1:24 ` Damion de Soto
  6 siblings, 0 replies; 8+ messages in thread
From: Damion de Soto @ 2003-07-25  1:24 UTC (permalink / raw)
  To: lartc

Martin Klewitz wrote:

> router:~ # brctl addif br0 gre0
> br_add_interface: Invalid argument
> 
> Is there any possibility to make bridge-utils work with a gre-tunnel?
> Or are there any other bridging-methods?

Oops, I forgot.  We patched the bridge module to allow it to use gre tunnels for IP 
eth bridging.  If you want to try this path, let me know and i'll get you the 
patches, otherwise you may want to try the vtund approach, which may be easier.



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     damion@snapgear.com
SnapGear ---                           ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-07-25  1:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22 23:19 [LARTC] broadcast over gre tunnel? Martin Klewitz
2003-07-22 23:36 ` Damion de Soto
2003-07-23  8:59 ` Martin Klewitz [gamigo AG]
2003-07-23  9:38 ` Martin Klewitz
2003-07-23 23:39 ` Damion de Soto
2003-07-24 14:32 ` Martin Klewitz
2003-07-24 14:49 ` Nickola Kolev
2003-07-25  1:24 ` Damion de Soto

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.