My routing looks like this:
PC: eth0=192.168.0.25 usb0=192.168.0.200
Router: 192.168.0.1
Neo: usb0=192.168.0.202
Routes:
Neo: default gw 192.168.0.200 / route to 192.168.0.1 via 192.168.0.200 /
nameserver 192.168.0.1
PC: default gw 192.168.0.1 / route to 192.168.0.1 via eth0 / route to
192.168.0.202 via usb0
Router: route to 192.168.0.202 via 192.168.0.25
Works fine that way.
On 12/23/07, Nicolas Linkert [EMAIL PROTECTED] wrote:
On Sat, 22 Dec 2007 21:15:50 -0500, Nick Guenther [EMAIL PROTECTED]
said:
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?
Almost: Debian.
Best regards,
Nicolas
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community