bridge, tunnel II

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to do some kind of bridge using a tunnel in our intranet, that
means, I would like to connect the subnet 191.1.0.0/16 which is physically
separated in two pieces with a tunnel in our intranet (144.200.72.0/24).
The problem is that I can't configure the hosts of 191.1.0.0/16 to use two
different subnets for each side of the tunnel and to use the tunnel machine
as the default gateway. The hosts must be on the same subnet.

ip tunnel add mytunnel mode ipip remote 144.200.72.28 ttl 64
ip link set mytunnel up
ip addr add 191.1.0.0/16 dev mytunnel

eth1 is configured to 191.1.0.0/16 and running in promisc mode.

How can I tell eth1 to forward all pakets to mytunnel with the original dst
address? 

My idea is to configure the tunnel and to use some bridge between device eth0
and tunl0 (Is this possible anyway?). In the kernal their is some support for a
bridge but I can't find the brcfg software (kernal 2.2.14) on the internet.
Does anybody have the files? It looks like people are currently working on the
bridge software!?
Since I use two old 486 for the tunnel, maybe I would be able to write a
simple application  listening on eth1 and sending it to mytunnel and vice versa.
Has anybody a C prototype for that.

Thank you 

Dani

--
**********************************************************





Daniel Haensse

Klinik fuer Neonatologie

UniversitaetsSpital Zuerich

Frauenklinikstr. 10

8091 Zuerich

Switzerland

Tel: ++41 / 1 / 255 5342

Fax: ++41 / 1 / 255 4442

email: daniel.haensse@fhk.usz.ch
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux