Sponsored Content
Operating Systems Linux Issue with ethernet interface Post 302888989 by cerco on Tuesday 18th of February 2014 08:48:56 AM
Old 02-18-2014
please find below:
Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr BC:30:5B:DD:74:85  
          inet addr:10.10.136.10  Bcast:10.10.136.63  Mask:255.255.255.192
          inet6 addr: fe80::be30:5bff:fedd:7485/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:958930034 errors:0 dropped:0 overruns:0 frame:0
          TX packets:908460231 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3502945506 (3.2 GiB)  TX bytes:1823145506 (1.6 GiB)
          Interrupt:122 Memory:d6000000-d6012800 

eth2      Link encap:Ethernet  HWaddr BC:30:5B:DD:74:89  
          inet addr:10.6.0.50  Bcast:10.6.0.63  Mask:255.255.255.192
          inet6 addr: fe80::be30:5bff:fedd:7489/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41045618 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43175495 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1277189174 (1.1 GiB)  TX bytes:3964630437 (3.6 GiB)
          Interrupt:138 Memory:da000000-da012800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:305799777 errors:0 dropped:0 overruns:0 frame:0
          TX packets:305799777 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1118219267 (1.0 GiB)  TX bytes:1118219267 (1.0 GiB)

w1g1      Link encap:Point-to-Point Protocol  
          UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:2403556724 errors:0 dropped:0 overruns:360 frame:360
          TX packets:361120954 errors:0 dropped:0 overruns:941 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:3423030701 (3.1 GiB)  TX bytes:1559940032 (1.4 GiB)
          Interrupt:177 Memory:f90c0000-f90c1fff 
#


Last edited by cerco; 02-18-2014 at 09:55 AM..
 

10 More Discussions You Might Find Interesting

1. Programming

determine if a ethernet interface is up

Howto check if a ethernet interface is up? It's impossible to determine via the ipaddress i have learned, or? Can someone please give me a hint on howto do? Environment == Linux x86 GNU GCC. :D regards Esaia (2 Replies)
Discussion started by: Esaia
2 Replies

2. SCO

Issue with a ethernet card

Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message: Fsstat:/dev/boot mounted Mounted /stand filesystem System auditing is not enabled. Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0) Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies

3. Solaris

Network Interface Issue

Hi all, Here im facing problem with NIC Interface with my X86 Version of Solaris Express, even after loading module for that Interface. So please check this below mentioned log for your use and get back to me ASAP. - - - -- --... (0 Replies)
Discussion started by: baraghun
0 Replies

4. Solaris

Ethernet card drivers issue...

I need to install ethernet card drivers on intel machine. How can i know which Ethernet card interface (sfe,rh,rtls...) is it? How can i know the speed of that card? How can i know network traffic ? If network traffic is more with that interface what should i do? Thanks in advance (2 Replies)
Discussion started by: younus_syed
2 Replies

5. Solaris

Network interface issue

Hi All, I want to configure network into my system. i tried following in to configure the interface to find the name of interface #prtdiag |grep net i got following 0 PCI-1 33 1 network-SUNW, hme then i tried following #prtconf -v |grep net network, instance #0 (6 Replies)
Discussion started by: kumarmani
6 Replies

6. Solaris

Sun Solaris ethernet interface

Hi, During the installation of solaris suppose I am configuring one ethernet interface that is primary but on my server there are 4 ethernet interfaces,because all other interface not configured, what is way to find out how many ethernet interfaces are there on Server, (6 Replies)
Discussion started by: manoj.solaris
6 Replies

7. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

8. AIX

interface collisions on ethernet nic

Hi, is there any method to check the interface collisions on ethernet NIC in AIX. I know that in Solaris it's netstat -i but I've written that in AIX it doesn't show this. Thanks&regards, p (1 Reply)
Discussion started by: pitmod
1 Replies

9. IP Networking

Channel bonding Issue - Bond0 interface not getting up in on RHEL6

Hello, I am trying to set up Channel Bonding on a RHEL6 Virtual Box VM. I have 2 ethernet cards on the machine which are set up in Internal Network mode. I followed all the steps exactly as mentioned in the RHEL6 deployment Guide, but for some reason i think results are not correct. Here are my... (13 Replies)
Discussion started by: Rohit Bhanot
13 Replies

10. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
Sys::Statistics::Linux::NetStats(3pm)			User Contributed Perl Documentation		     Sys::Statistics::Linux::NetStats(3pm)

NAME
Sys::Statistics::Linux::NetStats - Collect linux net statistics. SYNOPSIS
use Sys::Statistics::Linux::NetStats; my $lxs = Sys::Statistics::Linux::NetStats->new; $lxs->init; sleep 1; my $stat = $lxs->get; Or my $lxs = Sys::Statistics::Linux::NetStats->new(initfile => $file); $lxs->init; my $stat = $lxs->get; DESCRIPTION
Sys::Statistics::Linux::NetStats gathers net statistics from the virtual /proc filesystem (procfs). For more information read the documentation of the front-end module Sys::Statistics::Linux. NET STATISTICS
Generated by /proc/net/dev. rxbyt - Number of bytes received per second. rxpcks - Number of packets received per second. rxerrs - Number of errors that happend while received packets per second. rxdrop - Number of packets that were dropped per second. rxfifo - Number of FIFO overruns that happend on received packets per second. rxframe - Number of carrier errors that happend on received packets per second. rxcompr - Number of compressed packets received per second. rxmulti - Number of multicast packets received per second. txbyt - Number of bytes transmitted per second. txpcks - Number of packets transmitted per second. txerrs - Number of errors that happend while transmitting packets per second. txdrop - Number of packets that were dropped per second. txfifo - Number of FIFO overruns that happend on transmitted packets per second. txcolls - Number of collisions that were detected per second. txcarr - Number of carrier errors that happend on transmitted packets per second. txcompr - Number of compressed packets transmitted per second. ttpcks - Number of total packets (received + transmitted) per second. ttbyt - Number of total bytes (received + transmitted) per second. METHODS
new() Call "new()" to create a new object. my $lxs = Sys::Statistics::Linux::NetStats->new; Maybe you want to store/load the initial statistics to/from a file: my $lxs = Sys::Statistics::Linux::NetStats->new(initfile => '/tmp/netstats.yml'); If you set "initfile" it's not necessary to call sleep before "get()". It's also possible to set the path to the proc filesystem. Sys::Statistics::Linux::NetStats->new( files => { # This is the default path => '/proc', netdev => 'net/dev', } ); init() Call "init()" to initialize the statistics. $lxs->init; get() Call "get()" to get the statistics. "get()" returns the statistics as a hash reference. my $stat = $lxs->get; raw() The same as get_raw() but it's not necessary to call init() first. get_raw() Call "get_raw()" to get the raw data - no deltas. EXPORTS
No exports. SEE ALSO
proc(5) REPORTING BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (c) 2006, 2007 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-09 Sys::Statistics::Linux::NetStats(3pm)
All times are GMT -4. The time now is 05:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy