1834434 Members
2337 Online
110067 Solutions
New Discussion

Networkconnection

 
Rene_17
Regular Advisor

Networkconnection

After I configured the gateway in the netconf file the network is very slow and I don??t know why.

15 REPLIES 15
T G Manikandan
Honored Contributor

Re: Networkconnection

post your netconf file.
Mark Grant
Honored Contributor

Re: Networkconnection

A common reason for networks being slower than you would hope is when the interface is set to autonegotiation with the switch and the negotioation doesn't come out as full duplex.

Check using lanadmin.
Never preceed any demonstration with anything more predictive than "watch this"
T G Manikandan
Honored Contributor

Re: Networkconnection

Also check with

#lanadmin
lan
dis

check whether you have collision/errors

Revert
Rene_17
Regular Advisor

Re: Networkconnection

lanadmin:
LAN INTERFACE STATUS DISPLAY
Thu, Sep 18,2003 08:58:12

PPA Number = 0
Description = HP PCI 10/100Base-TX Core [100BASE-TX,FD,AUTO,TT=1500]
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100000000
Station Address = 0x1083cfd3c0
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 753
Inbound Octets = 73952648
Inbound Unicast Packets = 56278
Inbound Non-Unicast Packets = 232883
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 116026
Outbound Octets = 12387367
Outbound Unicast Packets = 61628
Outbound Non-Unicast Packets = 5074
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367

netconf:

# netconf: configuration values for core

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]=138.232.81.3
SUBNET_MASK[0]=255.255.255.192
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=138.232.81.62
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARP=0
T G Manikandan
Honored Contributor

Re: Networkconnection

"Network very slow"
You mean transfer of files?

or during connections like telnet.


Also post your netstat -nr output
Rene_17
Regular Advisor

Re: Networkconnection

ftp connection is good, but the connection with ssh is slow and the ping command also take a long time to respond. The local samba server also not respond.

Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
138.232.81.3 138.232.81.3 UH 0 lan0 4136
138.232.81.0 138.232.81.3 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 138.232.81.62 UG 0 lan0 0
T G Manikandan
Honored Contributor

Re: Networkconnection

For me it looks like a resolution issue.

Just do a

#nslookup

and also

#nslookup

check whether the name resolution works.

Are you using dns or local hosts file

Revert
Rene_17
Regular Advisor

Re: Networkconnection

iff2:/var/spool/sw # nslookup iff2
Name Server: ns1.uibk.ac.at
Address: 138.232.1.4

Trying DNS
Name: iff2.uibk.ac.at
Address: 138.232.81.3

nslookup is working for host and ip !

hosts:

138.232.1.4 ns1
138.232.1.5 ns2
138.232.81.1 iff0
138.232.81.2 iff1
138.232.81.3 iff2
138.232.81.62 r1
127.0.0.1 localhost loopback

Rene_17
Regular Advisor

Re: Networkconnection

iff2:/ # smbclient -L iff2
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.850 does not exist.
load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.ISO8859-1 does not exist.
added interface ip=138.232.81.3 bcast=138.232.81.63 nmask=255.255.255.192
session request to IFF2 failed (Call timed out: server did not respond after 20000 milliseconds)
Password:
Domain=[IFF] OS=[Unix] Server=[Samba 2.2.8a]
tree connect failed: Call timed out: server did not respond after 20000 milliseconds

Seems that the connection is to slow ?
T G Manikandan
Honored Contributor

Re: Networkconnection

Tell me about the reverse resolution

#nslookup


revert
Rene_17
Regular Advisor

Re: Networkconnection

the same as nslookup host !
Rene_17
Regular Advisor

Re: Networkconnection

i know the problem it??s the NIS !

He search the domain for the NIS server but he found nothing ! This is the cause because the system is so slow !

How can i shutdown the searching for the nis server ?
T G Manikandan
Honored Contributor

Re: Networkconnection

I think you are getting messages like

ypbind NIS server not responding"xxx.com"

you can just kill the ypbind on the machine if you are not using NIS.

#ps -ef|grep ypbind
#kill -9
T G Manikandan
Honored Contributor

Re: Networkconnection

also make sure that

/etc/rc.config.d/namesrvs
has

NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
NIS_CLIENT=0
NISPLUS_SERVER=0
NISPLUS_CLIENT=0
NIS_DOMAIN=

Then you can do a
#/sbin/init.d/nis.client stop



Rene_17
Regular Advisor

Re: Networkconnection

thanks for your help !