[ale] Routing 101
Christopher Fowler
cfowler at avana.net
Sun Jan 4 08:40:24 EST 1998
Dave Brooks wrote:
>
> well, all I have now are two network routes (both to 10.1.1.0) on both
> machines. but, on either machine, when I try and ping the other, this is
> what I get:
>
> bofh:/ # ping spork
> PING spork (10.1.1.2): 56 data bytes
>
> --- spork ping statistics ---
> 15 packets transmitted, 0 packets received, 100% packet loss
> bofh:/ #
>
> I had to abort it because nothing was happening. My cards are connected
> properly, because linux finds them where they are. I only have two
> machines, and I'm using 10BaseT, so obviously I am using reversed RJ-45.
> Anything else that could be preventing these cards from talking to each
> other?
>
> regards,
> Dave
>
> On Sat, 3 Jan 1998, George Nies wrote:
>
> > > Currently, I have two machines. One of them, spork, has it's eth0 set to
> > > 10.1.1.2 netmask 255.255.255.0 broadcast 10.1.1.255.
> > > The other machine, bofh, is set to 10.1.1.1 netmask 255.255.255.0
> > > broadcast 10.1.1.255.
> >
> > This is just one segment, right?
> >
> > First of all, you shouldn't need host routes, so take those out.
> > Next, you do need to add a network route to each. On slackware
> > this is done in /etc/rc.d/rc.inet1 (or at least used to be)
> >
> > This line needs to run on both boxes at every boot:
> > route add -net 10.1.1.0 netmask 255.255.255.0
> >
> > Don't forget to add both host names to /etc/hosts on both machines.
> >
> > If that doesn't do it...
> >
> > Are the cards connected properly? If you are using twisted-pair,
> > you'll need either a hub or a cross-over cable.
> > if you're using coax cable, you'll need the cable, two T's, and
> > two terminators.
> >
> > And finally --
> > when you figure out which machine will be doing the dialing,
> > go to the other and add the following line just after your other
> > calls to route:
> >
> > route add default gw <gateway ip address here> metric 1
> >
> > If your still having problems feel free to ask...
> >
> > -George
> >
Try to sniff the ethernet and double, double, double check that
cable. I've made bad cables before. Try to ing the vroadcast address
as well
--
-------------------------------------------
cfowler at avana.net * Atlanta, GA
87 BMW 325es
97 Ford Eddie Bauer Explorer
-------------------------------------------
More information about the Ale
mailing list