Network questions

Thomas Gstädtner thomas at gstaedtner.net
Wed Dec 26 23:10:42 CET 2007


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 <linkert at fastmail.fm> wrote:
>
>
> On Sat, 22 Dec 2007 21:15:50 -0500, "Nick Guenther" <kousue at gmail.com>
> said:
> > On Dec 22, 2007 12:38 PM, Nicolas Linkert <linkert at fastmail.fm> 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 at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20071226/e200b4ba/attachment.htm 


More information about the community mailing list