I'm working on Solaris 8 and I found one peculiar problem, One of my ethernet interface eri0 continously reporting that no new data coming through. But the moment I initiated snoop on eri0 i.e. "snoop -d eri0" I dont see the problem and the moment I stop snoop the problem reappears.
I'm puzzled .. pls help.
That's not unlikely. When you run "snoop" on an interface it puts it in "promiscuous" mode and it passes all traffic regardless of destination. Basically turns it into a sniffer.
I bet if you run snoop with the "-P" flag it won't be different...
What is the "problem" you are having???
Actually my app reports an error on particluar link (say link_id 0) if no new data coming through the card within the time greater than RIP protocol.(basically I'm comparing the new bytes got from kstat_read and Previous stored bytes). So every 2-3 mins my app is reporting error that link is down and after reporting failure within 45 seconds its get cleared (after poll of 45 sec). When I ran snoop -d eri0 I dont see any failure. Also everytime I see error on eri0.
I see nothing but bad things happen when you have two NICs on the same subnet and not configured IPMP. Which interface has the IP address associated with the network name external hosts use to access the system? What does your route table look like? (netstat -r)
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
xx.x.1.0 xx.x.1.30 U 11063175 eri0
xx.x.1.0 xx.x.1.31 U 1 0 eri1
xxx.0.0.0 xx.x.1.30 U 1 0 eri0
default xx.x.1.254 UG 1 1824
xxx.0.0.1 xxx.0.0.1 UH 34 71583 lo0
also the problem which I'm facing was not there all the time.. few days back my machine rebooted due to power failure and after that I started seeing this issue. Not sure something messed up in the configuration but i havn't changed anything on configuration side.