On Sat, 22 Dec 2007 21:15:50 -0500, "Nick Guenther" <[EMAIL PROTECTED]> wrote: > On Dec 22, 2007 12:38 PM, Nicolas Linkert <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am geting confused with the network settings: >> >> - my PC has IP 192.168.0.2 >> - my router has IP 192.168.0.1 >> - my printer has IP 192.168.0.10 >> >> Now I am, supposed to set usb0 to 192.168.0.202. Does that work with my >> current configuration? Or do I need to have >> >> 192.168.0.100 PC >> 192.168.0.101 router >> 192.168.0.102 printer >> 192.168.0.200 usb0 >> 192.168.0.202 phone > > You're probably getting confused because you don't realize that your > PC will have *two* IPs. The network card with .2 is different then the > network interface that the neo presents. The PC will have two > addresses: .2 (ethernet) and .200 (usb0) and the neo has .202 (it > already has it, in the default configuration). > You will also have to make sure the PC is bridging packets from usb0 > to the other interfaces. The details of how to do this depend on your > OS.. it sounds like you have Ubuntu?
so standard disclaimer here: I am not an expert on this. ...but, it seems like setting up the proper subnet masks will be more difficult if the 'normal' network (his existing) and the usb network (ethernet gadget) for the neo are on the same 192.168.0.0/24 network. I know it can be subdivided beyond that by using different address masks. but is this really handled natively with the standard iptables rules that one finds via google, etc? After changing usb and device IPs from their default for a while, I ran into a conflict with an internal address range at work (when I connect over VPN) and so moved my entire network to 10.x.x.x, which (thankfully) never seems to get used for this stuff. Am I totally wrong on this? Regrds, Josh _______________________________________________ OpenMoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

