[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Lan Tcp/ip Question



Hi Everyone,

Question for anyone who knows much about networking under Debian.

I have two computer one is running Debian Linux. Kernel 2.0.29 and the
other is running Windows Nt Workstation Sp3. Now heres what I'm trying to
get done is the two machines to connect up and let the debian download
stuff off the Nt machine(I'm in the process of replacing the NT machine and
need to do some data transfer.)  I've already figured out that I need
samba, and have it installed but it doesn't work. So I was reading through
some of the FAQs when it said to check and see if I can ping the other
machine, so I try that. Both machines CANNOT get any response when they
ping each other, I know the NT machine works because I can ping another
Windows machine on the network.  I get what looks like an activity light on
the hub everytime I try something like ping from either machine. But
machines can ping themselves. 

Heres the setup
Windows NT machine - ip address 192.168.1.2 subnet 255.255.255.0 no gateway
defined
Debian Linux machine - ip address 192.168.1.1 subnet 255.255.255.0 no
gateway defined

Debian Machine is running a 3com 3c509b(Very close to the best isa Nic I've
ever used.)

I've narrowed my problem down to have to do something with the debian
routing setup.

Heres route and ifconfig information

route -n output
____________________________________________________________________________
__________________
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        2 lo
____________________________________________________________________________
__________________

This is the way the output appears after login. I've been manually adding
this line 
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        1 eth0
By typing 
route add -net 192.168.1.0 eth0
(I do know that this can be done through a script at startup, but I want to
get it working correctly before doing that.)

ifconfig
____________________________________________________________________________
__________________
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:57 errors:0 dropped:0 overruns:0
          TX packets:57 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:20:AF:72:43:7C
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:215 errors:0 dropped:0 overruns:0
          TX packets:8476 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0x300 
____________________________________________________________________________
___________________
Local Loopback is working because I ping myself or 127.0.0.1 and I get a
response.

I have tcpdump installed(very handle util.)  And when I try to ping I get a
message about icmp: echo Request but thats it.

Like I said I'm very sure this has something to do with my routing table,
but everything I've read or seen about the routing table confuses me more. 

Any ideas what I'm doing wrong

Do I have to have a default gateway? And what is that used for? A router?(I
don't have one if so)

Thanks in advance



--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: