Thread View: csu.unix.linux
5 messages
5 total messages
Started by Mike
Tue, 08 Feb 2000 00:00
LAN struggles
Author: Mike
Date: Tue, 08 Feb 2000 00:00
Date: Tue, 08 Feb 2000 00:00
33 lines
1945 bytes
1945 bytes
Alright, I'm trying to hook up a laptop to my main computer. I thought it'd be
simple, but I'm stuck.. perhaps one of the networking masters that frequents
this list can help..
So, I've set up eth0 through the ifconfig and route commands, and on my machine
I've got :
ifconfig reads :
eth0 Link encap:Ethernet HWaddr 00:A0:0C:C1:87:30
inet addr:10.0.0.100 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1233 errors:0 dropped:0 overruns:0 frame:0
TX packets:1263 errors:0 dropped:0 overruns:0 carrier:0
collisions:4 txqueuelen:100
Interrupt:12 Base address:0x6800
route reads :
10.0.0.100 * 255.255.255.255 UH 0 0 0 eth0
127.0.0.1 * 255.255.255.255 UH 0 0 0 lo
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
Of course, on my laptop the main difference is that the IP is 10.0.0.101. So,
all looks as it should to me. But, when I try to ping my laptop nothing
happens (I can see the light on the cable going into the PCMCIA flashing). I
can ping from my laptop to here (with times of about 1000ms), and when that's
happening I can ping from here to my laptop. Any ideas as to what the problem
may be?
Thanks in advance for any suggestions,
--
Mike Grandin
Re: LAN struggles
Author: Michael Dwyer
Date: Thu, 10 Feb 2000 00:00
Date: Thu, 10 Feb 2000 00:00
26 lines
1679 bytes
1679 bytes
Mike <mike@www.intrig.com> wrote: : route reads : : 10.0.0.100 * 255.255.255.255 UH 0 0 0 eth0 ^This looks strange. : 127.0.0.1 * 255.255.255.255 UH 0 0 0 lo : 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 : 127.0.0.0 * 255.0.0.0 U 0 0 0 lo Actually, this whole table looks strange. Here's my suggestion: 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo * 10.0.0.1 0.0.0.0 UG 1 0 0 eth0 The first one says "To talk to any address that starts with 10.0.0, talk direct to eth0. Line 2: To talk to anything starting with 127, use the loopback. Line 3: Anyone else, use the router at 10.0.0.1 to talk. You should be able to talk with just the first two lines. The third is so I can route to the Internet. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michael J. Dwyer I doubt, therefore I might be. mdwyer@holly.ColoState.edu http://WWW.CS.ColoState.EDU/~dwyer/ Computer Science Major Amateur Radio Tech N0ZAP
Re: LAN struggles
Author: Mike
Date: Fri, 11 Feb 2000 00:00
Date: Fri, 11 Feb 2000 00:00
15 lines
1182 bytes
1182 bytes
mdwyer@holly.ColoState.EDU (Michael Dwyer): > Mike <mike@www.intrig.com> wrote: > : route reads : > : 10.0.0.100 * 255.255.255.255 UH 0 0 0 eth0 > ^This looks strange. > : 127.0.0.1 * 255.255.255.255 UH 0 0 0 lo > : 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 > : 127.0.0.0 * 255.0.0.0 U 0 0 0 lo That worked, after getting rid of the 'strange' line everything seems to work well. Any insight on why that line was troublesome, it looks ok to me. At any rate, much thanks, -- Mike Grandin
Re: LAN struggles
Author: Michael Dwyer
Date: Fri, 11 Feb 2000 00:00
Date: Fri, 11 Feb 2000 00:00
25 lines
1839 bytes
1839 bytes
Mike <mike@www.intrig.com> wrote: : mdwyer@holly.ColoState.EDU (Michael Dwyer): :> Mike <mike@www.intrig.com> wrote: :> : route reads : :> : 127.0.0.0 * 255.0.0.0 U 0 0 0 lo :> : 127.0.0.1 * 255.255.255.255 UH 0 0 0 lo :> : 10.0.0.100 * 255.255.255.255 UH 0 0 0 eth0 :> : 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 Lemme see if I can work this out: 1) Any address that starts with 127 will go direct to loopback 2) Any address that starts with 127.0.0.1 will go direct to loopback. This seems redundant, but correct. 3) Any address that starts with 10.0.0.100 will go direct to eth0 4) Any address that starts with 10 will go direct to eth0 Again, redundant, but I don't see it being wrong... I dunno. It looks like it should work. It seems subtly /wrong/ but it should work. <shrug> Anyway, it works now, yes? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michael J. Dwyer I doubt, therefore I might be. mdwyer@holly.ColoState.edu http://WWW.CS.ColoState.EDU/~dwyer/ Computer Science Major Amateur Radio Tech N0ZAP
Re: LAN struggles
Author: Mike
Date: Fri, 11 Feb 2000 00:00
Date: Fri, 11 Feb 2000 00:00
18 lines
1350 bytes
1350 bytes
mdwyer@holly.ColoState.EDU (Michael Dwyer): > Mike <mike@www.intrig.com> wrote: > : mdwyer@holly.ColoState.EDU (Michael Dwyer): > :> Mike <mike@www.intrig.com> wrote: > :> : route reads : > :> : 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > :> : 127.0.0.1 * 255.255.255.255 UH 0 0 0 lo > :> : 10.0.0.100 * 255.255.255.255 UH 0 0 0 eth0 > :> : 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 > > Again, redundant, but I don't see it being wrong... > should work. <shrug> Anyway, it works now, yes? Yeah, it works but that line certainly was the problem.. OH well, I'm content. Thanks, -- Mike Grandin
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads