My setup is as follows [PC1]<eth0>----------<ADSL modem DLink GLB-502T> [PC1]<eth1>----------<sometimes connected to PC2 through crossover>
I have setup MRTG to log both eth0 and eth1. I have uploaded the graphs here. Log yesterday night - <http://rvbhute.org/eth0-day1.png> Today morning, when I switched on the PC. - <http://rvbhute.org/eth0-day2.png> I did some note-taking. The speed it is showing is 1306KB/s - it is the last recorded current speed before I switched off the PC. Incidentally, another problem is today morning when I switched on the machine, by default, eth1 was selected by the Ubuntu Network manager. Though I selected eth0 to get on to the net, MRTG has logged all traffic to eth1. - <http://rvbhute.org/eth1-day2.png> Do I have to bind the interfaces to their MAC or something? My /etc/mrtg.cfg is below: # Created by # /usr/bin/cfgmaker [EMAIL PROTECTED] ### Global Config Options # for Debian WorkDir: /var/www/mrtg ### Global Defaults # to get bits instead of bytes and graphs growing to the right Options[_]: growright WriteExpires: Yes EnableIPv6: no ###################################################################### # System: mark2 # Description: Linux mark2 2.6.20-13-generic #2 SMP Sat Mar 24 23:12:02 UTC 2007 x86_64 # Contact: Root <[EMAIL PROTECTED]> (configure /etc/snmp/snmpd.local.conf) # Location: Unknown (configure /etc/snmp/snmpd.local.conf) ###################################################################### ### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.1.2' | Eth: '00-18-f3-6d-4b-17' ### Target[eth0]: 2:[EMAIL PROTECTED]: SetEnv[eth0]: MRTG_INT_IP="192.168.1.2" MRTG_INT_DESCR="eth0" MaxBytes[eth0]: 1250000 Title[eth0]: Traffic Analysis for 2 -- mark2 PageTop[eth0]: <h1>Traffic Analysis for 2 -- mark2</h1> <div id="sysdetails"> <table> <tr> <td>System:</td> <td>mark2 in Unknown (configure /etc/snmp/snmpd.local.conf)</td> </tr> <tr> <td>Maintainer:</td> <td>Root <[EMAIL PROTECTED]> (configure /etc/snmp/snmpd.local.conf)</td> </tr> <tr> <td>Description:</td> <td>eth0 </td> </tr> <tr> <td>ifType:</td> <td>ethernetCsmacd (6)</td> </tr> <tr> <td>ifName:</td> <td>eth0</td> </tr> <tr> <td>Max Speed:</td> <td>1250.0 kBytes/s</td> </tr> <tr> <td>Ip:</td> <td>192.168.1.2 (mark2)</td> </tr> </table> </div> ### Interface 3 >> Descr: 'eth1' | Name: 'eth1' | Ip: '' | Eth: '00-17-31-2b-b0-85' ### Target[eth1]: 3:[EMAIL PROTECTED]: SetEnv[eth1]: MRTG_INT_IP="" MRTG_INT_DESCR="eth1" MaxBytes[eth1]: 12500000 Title[eth1]: Traffic Analysis for 3 -- mark2 PageTop[eth1]: <h1>Traffic Analysis for 3 -- mark2</h1> <div id="sysdetails"> <table> <tr> <td>System:</td> <td>mark2 in Unknown (configure /etc/snmp/snmpd.local.conf)</td> </tr> <tr> <td>Maintainer:</td> <td>Root <[EMAIL PROTECTED]> (configure /etc/snmp/snmpd.local.conf)</td> </tr> <tr> <td>Description:</td> <td>eth1 </td> </tr> <tr> <td>ifType:</td> <td>ethernetCsmacd (6)</td> </tr> <tr> <td>ifName:</td> <td>eth1</td> </tr> <tr> <td>Max Speed:</td> <td>12.5 MBytes/s</td> </tr> </table> </div> #### end of mrtg.cfg #### Regards. -- Rohit V. Bhute http://blog.rvbhute.org _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
