[ale] routing and networking
Venkatesh Dattathri
venkat at csl.uta.edu
Sat Apr 10 15:40:52 EDT 1999
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime at docserver.cac.washington.edu for more info.
--1803664642-1996562558-923773252=:9313
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi Tri,
On Sat, 10 Apr 1999, Tri wrote:
> >From Tri:
> Here's more info about the situation
>
> Here is what I get from netstat -nr:
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt
> Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
> 0 eth0
>
> Here's what I get from ifconfig eth0:
> eth0 Link encap:Ethernet HWaddr 00:A0:CC:3B:22:5E
> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING 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
> Interrupt:10 Base address:0xb000
>
The RX and TX packets should not be 0 . it should be some number, and only
then can you connect to other systems ..( i don't know why it is so or
what the significance is..)
Also, take a look at the attached Howto.. it may help..
> And this might help also, this is my init network script under debian 2.1:
>
> #! /bin/sh
> ifconfig lo 127.0.0.1
> route add -net 127.0.0.0 lo
> ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
>
> I know the route command for eth0 is missing, but the kernel sets one up
> automatically.
>
I suggest you try having a route add command for eth0 in your init script.
> Tri
>
> -----Original Message-----
> From: Eric Ayers <eric.ayers at mindspring.com>
> To: Tri <merlintm at bellsouth.net>
> Date: Saturday, April 10, 1999 7:50 AM
> Subject: Re: [ale] routing and networking
>
>
> >Tri wrote:
> >>
> >> When I try to telnet into a second computer(192.168.1.2) on my network,
> >> telnet returns a message that says it can't reach the host since there is
> no
> >> route to the host. However my routing table indicates that indeed there
> is a
> >> route to every machine on the 192.168.1.0 network. I am using kernel
> 2.2.5,
> >> the route was set automatically by the kernel when I used:
> >> ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
> >> to set up my network card. I am sure that my drivers are loaded correctly
> >> and the second machine is also using the same kernel version and
> configured
> >> the same way( except for the ip address of course) Any Ideas on why this
> is
> >> happening. I am using the tulip driver.
> >> Tri
> >
> >
> >why don't you mail the output of:
> >
> >netstat -nr
> >and
> >ifconfig eth0
> >
> >on both machines to the list?
> >
>
--1803664642-1996562558-923773252=:9313
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="interface.install"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.990410144052.9313A at csl.uta.edu>
Content-Description:
Tm90ZSB0aGF0IGluIHRoZSBleGFtcGxlcywgdGhlIGhvc3RuYW1lIGlzIHNv
bWUubmFtZS5jb20gd2l0aCBJUGFkZHJlc3MNCjE5MC4xMTcuMi4xMjIuIElu
IHlvdXIgc2V0dXAsIHBsZWFzZSBzdWJzdGl0dXRlIHdpdGggdGhlIGNvcnJl
c3BvbmRpbmcNCm5hbWVzIGFuZCBudW1iZXJzLiANCg0KDQoxLiBTZXQgdGhl
IGhvc3RuYW1lIA0KCSQgaG9zdG5hbWUgY3NsLnV0YS5lZHUgDQoyLiBFZGl0
IC9ldGMvaG9zdHMgZmlsZSBhbmQgYWRkIElQYWRkcmVzcywgaG9zdG5hbWUs
IGFsaWFzIGFzIHNob3duLiANCg0KIDEyNy4wLjAuMQkJbG9jYWxob3N0CQ0K
IDE5MC4xMTcuMi4xMjIJCXNvbWUubmFtZS5jb20gIHNvbWUNCg0KMy4gQ29u
ZmlndXJlIHRoZSBsb29wYmFjayBpbnRlcmZhY2UgYWZ0ZXIgcmVzdGFydGlu
ZyB0aGUgZXRoZXJuZXQNCmludGVyZmFjZSB1c2luZyB0aGUgZm9sbG93aW5n
IGNvbW1hbmRzLiANCgkkIGlmY29uZmlnIGV0aDAgZG93bg0KCSQgaWZjb25m
aWcgZXRoMCB1cA0KCSQgaWZjb25maWcgMTI3LjAuMC4xDQoNCjQu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XRpb24gICAgIEdh
dGV3YXkgICAgICAgICBHZW5tYXNrICAgICAgICAgRmxhZ3MgICBNU1MgV2lu
ZG93ICBpcnR0IElmYWNlDQoxOTAuMTE3LjIuMCAgICAgMC4wLjAuMCAgICAg
ICAgIDI1NS4yNTUuMjU1LjAgICBVICAgICAgMTUwMCAwICAgICAgICAgIDAg
ZXRoMA0KMTI3LjAuMC4wICAgICAgIDAuMC4wLjAgICAgICAgICAyNTUuMC4w
LjAgICAgICAgVSAgICAgIDM1ODQgMCAgICAgICAgICAwIGxvDQowLjAuMC4w
ICAgICAgICAgMTkwLjExNy4yLjI1MSAgIDAuMC4wLjAgICAgICAgICBVRyAg
ICAgMTUwMCAwICAgICAgICAgIDAgZXRoMA0KDQoNCg0K
--1803664642-1996562558-923773252=:9313--
More information about the Ale
mailing list