Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-28-2012, 11:23 AM   #1
LQ Newbie
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
bridge interfaces on separate computers by using tunnel (?)

The problem further down.

First the setup:

Location A (fiber, ~100Mbit down, ~50Mbit up):
Some kind of gateway box from service provider (I can not change any settings on it) give me three regular TP-cable outlets: ip-phone, internet and ip-tv.

Computer A (x86-32, Linux kernel 3.2.7) with two interfaces:
eth0 - directly connected to internet outlet
eth1 - not yet configured (down), connected to ip-tv outlet on "gateway box"

Location B (ADSL, 8Mbit down, 800kbit up):
Netgear router NAT'ing several computers on local network (I have full admin rights on the router)

Computer B (x86-32) on the local network have two interfaces (when/if I insert a second network card)
eth0 - connected to local network (192.168.0.X)
eth1 - connected to tv-box

The tv-box can not be configured in any way.
We can presume computer B will run a recent Linux kernel, I can put whatever on a stick.

Now to the problem:

The tv-box MUST (appear to) be connected to the ip-tv outlet on location A. I want to connect it on location B, but making it appear to be connected directly with a (long) wire to the outlet on location A. I'm guessing some sort of tunnel over internet is needed.

I've tried to connect the tv-box to other outlets and on an internal network (192.168.x.x) on location A (and B) but it refuses this.
It does however work to route the iptv cable through computer A if I bridge the interfaces ( ip-tv outlet <=> eth0 <=> bridge <=> eth1 <=> tv-box ). So what I think I need is to make eth1 on computer A appear to be bridged with eth1 on computer B, sending all traffic on the interfaces through some tunnel:

ip-tv outlet <=> computer A <=> internet <=> netgear router <=> computer B <=> tv-box

The first basic questions: Can it be done? Any severe issues?
The second question: How to do it? (I'm not very skilled when it comes to networking)

I'm interested in a technical solution to the given problem. If I just wanted to get the tv-box to work on location B to watch TV I can simply pay the service provider for a subscription to location B and they'd be thrilled to provide it, and a second tv-box for "free". Also, I will be interested in the technical solution even if the service provider turns out to say "you are not allowed to do that".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
separate services on different network interfaces wrban Linux - Networking 2 04-13-2009 04:02 PM
Bridge or virtual tunnel invader44 Slackware 1 04-04-2009 03:03 AM
Bridge Or Virtual Tunnel? invader44 Linux - Newbie 1 03-26-2009 08:02 PM
Bridge vpnc tunnel to local network. BloodBlight Linux - Networking 2 07-25-2008 03:50 PM
IPSec tunnel over multiple interfaces tylerl Linux - Networking 0 07-21-2005 05:07 PM

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration