Hi,
I have a NSLU2 that I would like to turn into a 3G Ethernet modem similar to how the Cradlepoint CBA250 (http://www.evdoinfo.com/content/view/2601/64/ & http://www.cradlepoint.com/products/cba … d-adapter) works. I have been able to connect to the 3G network fine but I need to ability to pass the public IP address to whatever is connected to the Ethernet interface of the NSLU2. Basically i want to turn a 3G USB modem into a 3G Ethernet modem and use a regular router to connect to the internet through the 3G network. I don't want to do NAT twice. I tried bridging but when connecting to the modem a ppp connection is created and you cant bridge between ppp and Ethernet. Here is a graphical depiction of what I am trying to do:
KEY:
{name} - Internal device interfaces
[name] - Network node
-- - Wired/wireless connection
|| - Switch internal to router
[PC1]--||
[PC2]--||--[{Router LAN/WiFi}--router--{Router WAN Port}]--[{eth0 of NSLU2}-NSLU2--{ppp0 to 3g USB modem}]--[internet]
[PC3]--|| ^ ^ ^
| | |
| | |
NATed IP Addresses Gets the Public IP Address the ppp0 interface would get on the NSLU2 |
|
3G Modem Connection to ISP
The NSLU2 would pass the Public IP address received from the 3G ISP on to the WAN port of the router (Just like a modem would) and the router would be the firewall/NAT/DMZ etc. I just want to pass the public IP address through the NSLU2 on to the router. I know this sounds strange and off-the-wall but having something like this would create a very useful device for all kinds of situations.
Backup modem when cable/DSL is down
Mobile office Application
Outdoor events where internet is not available
High speed connectivity in areas where only dial up is available but 3G is avaliable (Farms and back wood areas)
Cable/DSL Replacement
Giving devices that have Ethernet but no USB port the ability to have 3G connectivity and a Public IP address (No NAT)
I can't believe that this is that strange, I would think that with all the Linux WAN devices out there that someone somewhere needed to pass the public IP address on to another device, am I wrong? Older ADSL modems did something similar to this and called it half-bridge, ZIPB, DHCP Spoofing, IP Address Pass through. I want to copy the functionality that the cradlepoint CBA250 using an NSLU2 so that I have an open source implementation because cradlepoint uses some goofy proprietary OS and I can't add stuff to.
Anyone got any Idea's. I am stumped and could use some advice. I am willing to write code to get it to work, i just don't know where to start.