Solved

Linux bridging UMTS <-> eth0

Posted on 2009-07-02
2
751 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
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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. …
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now