Solved

Linux bridging UMTS <-> eth0

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

943 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

7 Experts available now in Live!

Get 1:1 Help Now