Solved

Linux bridging UMTS <-> eth0

Posted on 2009-07-02
2
770 Views
Last Modified: 2013-12-06
Hi

I am setting up a bridg for use wit a UMTS USB modem (ubuntu 9.04)

I want the following solution:
roaming gprs modem | <=USB0=> | ppp0 ubuntu server br0 | eth0

I have testet with this solution (/etc/network/interfaces) without any luck.

auto lo
iface lo inet loopback

# Configure br0 using ifupdown with dhcp and add eth0 to the bridge
auto br0
iface br0 inet dhcp
      bridge_ports eth0

# udev calls ifupdown for usb0 when it is created and destroyed.  See /etc/udev/rules.d/85-ifupdown.rules
# Tell ifupdown not to assign an IP address and add it to the bridge.
auto usb0
iface usb0 inet manual
      up ifconfig $IFACE 0.0.0.0 up
      post-up brctl addif br0 usb0

> brctl show shows ony the one endpoint (eth0)

Have anyone a pointer or a solution to this?

RGDS
0
Comment
Question by:N2Weha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:OliverRahner
ID: 24764088
Try the following, for diagnosis:

- bring up your UMTS-connection
- note the IP address of usb0
- enter the following commands:
  ifconfig br0 #.#.#.# #.#.#.# (ip adress and subnet mask of usb0)
  ifconfig usb0 0.0.0.0
- add usb0 manually to the bridge
  brctl addif br0 usb0
0
 

Accepted Solution

by:
N2Weha earned 0 total points
ID: 25002390
Sorry about this very late answer. Summer holidays.

The solution using  USB0 is not viable since USB0 is on a PPP connection.

I found a solution using a firewall and DHCP.

Best regards
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question