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

[edlug] Networking oddness



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:

route add default gw 203.79.116.1

an error is shown saying "network is unreachable"

Now, I assumed he had simply written down the settings incorrectly, and
asked him to take them from his windows pc (which does work) but they
are the same.

I can't see anything in the windows routing table that would allow those
settings to work, if anyone could enlighten me as to what I am missing,
I would be much obliged.

Chris...

Output from various programs follows.

route under linux:
Kernel IP routing table 
Destination Gateway Genmask Flags Metric Ref Use Iface 
202.0.40.0 * 255.255.252.0 U 0 0 0 eth0 
127.0.0.0 * 255.0.0.0 U 0 0 0 lo

ifconfig under linux:
eth0 Link encap:Ethernet HWaddr 00:0C:E5:1E:64:37 
inet addr:202.0.41.*** Bcast:202.0.43.255 Mask:255.255.252.0 
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 
RX packets:6038 errors:0 dropped:0 overruns:0 frame:0 
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 
collisions:0 txqueuelen:100 
RX bytes:364689 (356.1 Kb) TX bytes:336 (336.0 b) 

lo Link encap:Local Loopback 
inet addr:127.0.0.1 Mask:255.0.0.0 
UP LOOPBACK RUNNING MTU:16436 Metric:1 
RX packets:203 errors:0 dropped:0 overruns:0 frame:0 
TX packets:203 errors:0 dropped:0 overruns:0 carrier:0 
collisions:0 txqueuelen:0 
RX bytes:14964 (14.6 Kb) TX bytes:14964 (14.6 Kb)

ipconfig under windows
Windows IP Configuration 

Ethernet adapter Local Area Connection: 
Media State . . . . . . . . . . . : Media disconnected 

Ethernet adapter Local Area Connection 2: 

Connection-specific DNS Suffix . : 
IP Address. . . . . . . . . . . . : 202.0.41.***
Subnet Mask . . . . . . . . . . . : 255.255.252.0 
Default Gateway . . . . . . . . . : 

"route print" under windows
=========================================================================== 
Interface List 
0x1 ........................... MS TCP Loopback interface 
0x2 ...00 10 a4 9e c0 c6 ...... Xircom RealPort2 CardBus Ethernet 10/100
- Packet Scheduler Miniport 
0x10004 ...00 0c e5 1e 64 37 ...... Motorola SURFboard SB5100 USB Cable
Modem - Packet Scheduler Miniport 
=========================================================================== 
=========================================================================== 
Active Routes: 
Network Destination Netmask Gateway Interface Metric 
0.0.0.0 0.0.0.0 203.79.116.1 202.0.41.*** 30 
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 
202.0.40.0 255.255.252.0 202.0.41.*** 202.0.41.*** 30 
202.0.41.*** 255.255.255.255 127.0.0.1 127.0.0.1 30 
202.0.41.255 255.255.255.255 202.0.41.*** 202.0.41.*** 30 
224.0.0.0 240.0.0.0 202.0.41.*** 202.0.41.*** 30 
255.255.255.255 255.255.255.255 202.0.41.*** 2 1 
255.255.255.255 255.255.255.255 202.0.41.*** 202.0.41.*** 1 
Default Gateway: 203.79.116.1 
=========================================================================== 
Persistent Routes: 
None

Attachment: signature.asc
Description: This is a digitally signed message part



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