LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba/lan works but too slowly (https://www.linuxquestions.org/questions/linux-networking-3/samba-lan-works-but-too-slowly-111798/)

gurty 11-03-2003 07:05 AM

samba/lan works but too slowly
 
Hello,
I have a Win98se and RH9 machine at home networked via a crossover cable. I've setup Samba and can access shared directories from the windows machine. The RH9 machine acts as an Internet gateway for the Win machine using IP mascuerading via a 56k modem (ppp). This also works fine. The problem is that the connection between the two machines is unusably slow - like they're connected by a 14400 modem or worse!

I setup theIP addresses of the 2 machines manually and there are no other machines/hubs etc. connected. The NIC is built into the mainboard of the Linux Machine and is a PCI card on the Win98se machine, both are new and this is my first attempt at networking! Everything seems to work as it should but unusably slowly. What's wrong?

Thanks for your help.

Duncan

Here is the reply from ifconfig:

[root@gurty /]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:E6:79:D0:23
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12636 errors:0 dropped:0 overruns:0 frame:0
TX packets:16024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1017977 (994.1 Kb) TX bytes:19741875 (18.8 Mb)
Interrupt:11 Base address:0xe800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:39 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7020 (6.8 Kb) TX bytes:7020 (6.8 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:217.135.18.51 P-t-P:213.121.143.70 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:2059 errors:0 dropped:0 overruns:0 frame:0
TX packets:2121 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:740551 (723.1 Kb) TX bytes:220124 (214.9 Kb)

And pinging the windows machine:

PING windunc.localhost (192.168.0.3) 56(84) bytes of data.
64 bytes from windunc.localhost (192.168.0.3): icmp_seq=1 ttl=128 time=0.348 ms
64 bytes from windunc.localhost (192.168.0.3): icmp_seq=2 ttl=128 time=0.218 ms
64 bytes from windunc.localhost (192.168.0.3): icmp_seq=3 ttl=128 time=0.215 ms
64 bytes from windunc.localhost (192.168.0.3): icmp_seq=4 ttl=128 time=0.212 ms

--- windunc.localhost ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.212/0.248/0.348/0.058 ms

DirtDart 11-05-2003 11:15 AM

Sounds like your Windows machine is using the PPP IP address of the linux box, so the packet is going: Windows box-->linux-->ISP via PPP-->back to linux box-->Windows box.


All times are GMT -5. The time now is 11:10 AM.