followup from nite with SAMBA
Jerry Callen
jcallen at narsil.com
Tue Apr 20 21:05:55 EDT 1999
TWDM wrote:
> can ping locally on each machine, but can not ping machine to machine
Routing?
Can you type a few commands on each machine and post the output?
"ifconfig" will reveal the address you've given the interface
and the subnet mask:
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:C0:BA:D0:F2
inet addr:172.23.17.1 Bcast:172.23.17.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:370882 errors:0 dropped:0 overruns:0 frame:0
TX packets:299725 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:11 Base address:0xe000
#
Once you have that, "route" will display the routing table:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.23.17.0 * 255.255.255.0 U 0 0 32 eth0
127.0.0.0 * 255.0.0.0 U 0 0 2 lo
#
Yours should look something like the one above. If you don't have any
routes for eth0, you have to add one. It's something like:
% route add 172.23.17.0 netmask 255.255.255.0 eth0
Now, one othe thing: how are the two machines physically cabled? Do
you have both machines plugged into a hub, or are they directly
cabled? In the later case, you have to use a "crossover" cable
that flips the transmit and receive pairs.
-- Jerry Callen Mobile: 617-388-3990
Narsil FAX: 617-876-5331
63 Orchard Street email: jcallen at narsil.com
Cambridge, MA 02140-1328
PGP public keys available from:
http://www.nai.com/products/security/public_keys/lookup_key.asp
fingerprints:
DH/DSS key ID 0x1806252C: 7669 A4CD 759A 6EB7 AF04
C10D B659 2A4B 1806 252C
RSA key ID 0x99F7AAE5: D265 DC9C 13FD 6110
30F5 1874 A206 24B1
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list