[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive May 2004 ]

Re: [edlug] Networking oddness




Dick Middleton wrote:

Chris Sinclair wrote:


I've been trying to set someone up with a cable modem under linux.  The
device appears to work using CDCEther and usbnet modules, and I have had
the same model of modem working on a different installation.  The usbnet
device appears under ifconfig with all of the settings assigned
correctly.  The settings are:

202.0.41.*** IP
255.255.252.0 Subnet mask
203.79.116.1 Default gateway

As you can see, the network number of the host IP and the gateway IP do
not match so when the default gateway is added using:


So long as the router knows how to get to 203.... it should be OK - you can use the dev option of route to tell it how to get there.

something like route add default gw 203.... dev eth0

It seems you have to do this in 2 bits:


route add -host 203..... dev eth0
route add default gw 203....

Dick
-
----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage