Hi, I have a cellular modem that configures a ppp interface for IP communication. I would like to bridge the ppp and Ethernet interface together. brctl does not allow for bridging between ppp and ethernet interface. I expect this mainly due to the fact that I am trying to bridge 2 different layer 2 protocols, PPP and Ethernet. I have seen mention that many ADSL routers support "half bridge mode" or "ZIPB" (Zero IP Bridge), this is also called IP-Passthrough. Basically I need a device that works like a modem such that the Public IP address that the modem receives from the ISP is passed trough and assigned to a node (router or SINGLE host). One of the devices I want to connect doesn't play well with NAT nor does it have the ability to support PPPoE/USB Modems. I am also trying to make a secondary modem as a failover connection that uses a 3G modem. A company by the name of cradlepoint sells a device that does this called the CBA250. I have a Linksys NSLU2 that would be PERFECT for this, I just don't know how to do it. If possible I would also like to be able to firewall a little too. http://www.evdoinfo.com/content/view/2601/64/ I want to do this to, just with Linux. What code should I look at to do this or is there a way to configure the system to do what I want. In a perfect world ppp and ethernet would bridge and play nice but its not. Any advice would be greatly appreciated. I am more than willing to write code to get this to work but I'm pretty new to this and have no idea where to even start. Thanks Andrew
check out Openvpn. It uses bridging and the tap interface to bridge into user space, which can then go through ppp. You may have to compile some stuff for your box. wade On Wed, May 6, 2009 at 12:32 PM, Andrew Watts <systemstalker at gmail.com>wrote:> Hi, > > I have a cellular modem that configures a ppp interface for IP > communication. I would like to bridge the ppp and Ethernet interface > together. brctl does not allow for bridging between ppp and ethernet > interface. I expect this mainly due to the fact that I am trying to > bridge 2 different layer 2 protocols, PPP and Ethernet. I have seen > mention that many ADSL routers support "half bridge mode" or "ZIPB" > (Zero IP Bridge), this is also called IP-Passthrough. Basically I > need a device that works like a modem such that the Public IP address > that the modem receives from the ISP is passed trough and assigned to > a node (router or SINGLE host). One of the devices I want to connect > doesn't play well with NAT nor does it have the ability to support > PPPoE/USB Modems. I am also trying to make a secondary modem as a > failover connection that uses a 3G modem. A company by the name of > cradlepoint sells a device that does this called the CBA250. I have a > Linksys NSLU2 that would be PERFECT for this, I just don't know how to > do it. If possible I would also like to be able to firewall a little > too. > > http://www.evdoinfo.com/content/view/2601/64/ > > I want to do this to, just with Linux. What code should I look at to > do this or is there a way to configure the system to do what I want. > In a perfect world ppp and ethernet would bridge and play nice but its > not. Any advice would be greatly appreciated. I am more than willing > to write code to get this to work but I'm pretty new to this and have > no idea where to even start. > > Thanks > > Andrew > _______________________________________________ > Bridge mailing list > Bridge at lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/bridge >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090507/f1750a77/attachment-0001.htm
You haven't said whether the linux machine will be serving as the ppp client or server, but in any case what you need to forward IP packets between two different underlying protocols is routing, not bridging. I'm reasonably confident that the Linux kernel can do this without needing to give IP addresses to the ppp endpoints if you set the routing tables appropriately. On Wed, May 6, 2009 at 12:32 PM, Andrew Watts <systemstalker at gmail.com>wrote:> Hi, > > I have a cellular modem that configures a ppp interface for IP > communication. I would like to bridge the ppp and Ethernet interface > together. brctl does not allow for bridging between ppp and ethernet > interface. I expect this mainly due to the fact that I am trying to > bridge 2 different layer 2 protocols, PPP and Ethernet. I have seen > mention that many ADSL routers support "half bridge mode" or "ZIPB" > (Zero IP Bridge), this is also called IP-Passthrough. Basically I > need a device that works like a modem such that the Public IP address > that the modem receives from the ISP is passed trough and assigned to > a node (router or SINGLE host). One of the devices I want to connect > doesn't play well with NAT nor does it have the ability to support > PPPoE/USB Modems. I am also trying to make a secondary modem as a > failover connection that uses a 3G modem. A company by the name of > cradlepoint sells a device that does this called the CBA250. I have a > Linksys NSLU2 that would be PERFECT for this, I just don't know how to > do it. If possible I would also like to be able to firewall a little > too. > > http://www.evdoinfo.com/content/view/2601/64/ > > I want to do this to, just with Linux. What code should I look at to > do this or is there a way to configure the system to do what I want. > In a perfect world ppp and ethernet would bridge and play nice but its > not. Any advice would be greatly appreciated. I am more than willing > to write code to get this to work but I'm pretty new to this and have > no idea where to even start. > > Thanks > > Andrew > _______________________________________________ > Bridge mailing list > Bridge at lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/bridge >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090508/d035b374/attachment.htm