Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Linux bridging UMTS <-> eth0

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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

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. …
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…
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…

715 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