Skip to Content.
Sympa Menu

baslinux - Re: [BL] Home network with a twisted pair

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: qwms-avib AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Home network with a twisted pair
  • Date: Sat, 17 May 2003 08:46:08 +0000

Constant Brouerius van Nidek wrote:
>
> I have called my home network constant.net
> The P100 is called p100 and the Pentium II is called bigone.
> Pinging from the one to the other is not working.
>
> Resulting info from ping from p100:
> PING bigone.constant.net (192.168.1.1): 56 data bytes
> ping: sendto: Network is unreachable

p100 has no route to the network. It knows that bigone
is at 192.168.1.1 but it doesn't know how to reach it.

> from Suse (bigone) I get more or less the same info:
> PING p100.constant.net (192.168.1.2) from 192.168.1.1 :
> 56(84) bytes of data.
> From bigone.constant.net (192.168.1.1):
> icmp_seq=1 Destination Host Unreachable

bigone has a route to the network. It knows that p100
is at 192.168.1.2 and sends the ping to that address,
but there is no reply from p100 (because p100 has no
route to the network).

> route -n gives me following for bigone:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

It has a route to the network.

> p100 gives following:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

No route to network.

> ifconfig -a for the Suse box gives following info:
>
> eth0 Link encap:Ethernet HWaddr 00:50:BA:C0:36:BA
> inet addr:192.168.1.1 Bcast:192.168.1.255
> Mask:255.255.255.0

Ethernet interface looks OK

> RX packets:0 errors:0 dropped:0 overruns:0 frame:0

No packets received.

> TX packets:18 errors:0 dropped:0 overruns:0 carrier:0

18 packets sent (probably your pings).

> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1

Localhost is up, but there was no route shown (above) for
bigone. That seems unusual to me, but it probably has
nothing to do with your ping problem.

> the ifconfig -a for the BL2 box has this info:
>
> eth0 Link encap:Ethernet HWaddr 00:50:BA:C0:2F:90
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 iB)
> Interrupt:9 Base address:0x320

Something funny here. Is there a line missing?
No inet addr. No Bcast. No Mask.

> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0

And there's the localhost.

Your problem is on p100. It has no route to the network.
Normally on BL2, when you ifconfig eth0, the route is
automatically set (BL1 is different -- it needs a specific
route command). However, your "ifconfig -a" shows no
addresses for eth0. If that is correct, then you need
to check the ifconfig statement you are using for eth0.

How are you configuring eth0? Precisely what insmod/
ifconfig/route commands do you use?

Cheers,
Steven





Archive powered by MHonArc 2.6.24.

Top of Page