LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-03-2003, 07:05 AM   #1
gurty
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Rep: Reputation: 0
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:790: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
 
Old 11-05-2003, 11:15 AM   #2
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lan connection works but adsl doesn't, why? trendsetter Linux - Networking 25 11-04-2005 12:31 PM
Swapping LAN cable still works!!! Why? ses Linux - Networking 1 06-03-2005 01:01 AM
Your LAN works?? Then help! Pedroski Linux - Networking 10 05-20-2004 05:16 AM
LAN works but Internet doesn't ???? El Croat Mandriva 11 08-24-2003 03:56 AM
LAN works, WAN doesn't ? BrianK Linux - Networking 2 06-16-2003 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration