slow access

We had a network hiccup several weeks back and ever since access to my Ultra 10 Solaris machine has been very slow from within the network but very fast when access from outside the local network. Any ideas as to what can cause this?

provide us with the following output:
uname -a
ifconfig -a
netstat -rn
cat /etc/defaultrouter
cat /etc/netmasks
cat /etc/hosts
cat /etc/inet/ipnodes
ping <gateway>

Sorry some of what you request does not exist on our system. However I can confirm that nothing changed there and I have 2 of these machines on the network. Our problem started with a network switch failure and since it has been repaired access to the Sun machines from within our local network is slow but outside is very good.

Bro, what do you mean? If you're running solaris, you CAN run those commands..

Did you check the /etc/resolve.conf file? How is your nameservers ordered? I need those info in order to figure out what could be wrong. Without any, its hard.

Sorry I was looking for files and some exist as some do not. Some of what you request I cannot supply due to security issues. However it was a windows network that had issue. Our sun machines did not change whatsoever. Does this make sense? I will get you what I can.

Then its a network problem.You just need to verify that your SUN's duplex/speed settings are in tact. On the switch end, you will have to check with your network guys if the VLAN settings had been affected during the "hiccups".. thats it dude. I was thinking that your problem was on your SUN workstation. Its clear now that its a network issue, not on the system itself

Not entirely sure how to check the duplex/speed settings. Also our network guys feel that their switches are ok and that the settings should be as they were before the outage. They are a bit lost on the issue as well and are assuming something has happened to the sun machine. If the issue was with the Sun Box it would be effected when accessed from outside the local network as well correct?

I agree that it sounds like a problem autonegotiating on the switch. Check out the following link on using ndd to force a full duplex etc. Also, get the switch set to match. This would be the first place to look in my opinion.

hme Troubleshooting

Interesting findings here. Looks as if through all this our Network Folks changed their netmask. Now I am looking for the proper way to change on my Unix machine. I have changed IP before but not the netmask.

Add your network into /etc/netmasks. See man netmasks for more information.

netmasks exists in /etc but I cannot find a way to effect change. cannot vi the file as administrator or root. As for man netmasks it returns nothing.

What happens when you try to vi the netmasks file? This seems very unusual. Aslso tio change the nemask without rebooting, you will need to apply the change with ifconfig.

As for the autonegotitation qusetion, it is not uncommon for Sun servers to need to be forced to the correct speed and duplex settings irrespective of switch configuration, in particular with Cisco network equipment. The is a long standing argument between Sun and Cisco as to where the fault lies.

We have pretty much repaired our problem through some assigned ports to control speed and such as well as for the short term avoid the netmask issue. However given that I still need to make the change at some point in the not to distant future. When I vi the file it returns "new file". Does not matter if I am administrator or root. I have not experienced this before. The pain of it all......

Aha found it. Did an ls -l this time and see that the file in /etc actually points to ./inet/netmask. and in ./inet the file did not exist. We are good now. Thanks to all for your assistance.

danno - if you are on a solaris 10 machine, run the following to confirm speed and duplex:

 dladm show-dev