Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux bridging UMTS <-> eth0

Posted on 2009-07-02
2
Medium Priority
?
782 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

926 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