[VLAN] Rx/Tx statistics doesn't change.

Arthur Khachatryan arthur.khachatryan at yahoo.com
Thu Nov 22 22:22:49 PST 2007


Hi to all,
   
  Could anybothy tell me please why I don't see Rx/Tx counter changing while I issuing ping requests from my Windos PC to Linux station with configured at least two VLANS, eth0.4 and eth0.5. I have the following configuration for my LAN/VLAN interfaces:
   
  ~ # cat /etc/sysconfig/network-scripts/ifcfg-eth0.4
# Possible values here: DEVICE, IPADDR, NETMASK, MTU, MACADDR
DEVICE=eth0.4
IPADDR=172.30.3.4
NETMASK=255.255.0.0
VLAN=yes
   
  ~ # cat /etc/sysconfig/network-scripts/ifcfg-eth0.5
# Possible values here: DEVICE, IPADDR, NETMASK, MTU, MACADDR
DEVICE=ifcfg-eth0.5
IPADDR=172.30.4.5
NETMASK=255.255.0.0
VLAN=yes
   
  ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:00:00:00:01  
          inet addr:172.30.4.33  Bcast:172.30.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:266506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1457 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:23380308 (22.2 MiB)  TX bytes:100270 (97.9 kiB)
          Base address:0x8500 
  eth0.4    Link encap:Ethernet  HWaddr 08:00:00:00:00:01  
          inet addr:172.30.3.4  Bcast:172.30.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 iB)  TX bytes:1518 (1.4 kiB)
  eth0.5    Link encap:Ethernet  HWaddr 08:00:00:00:00:01  
          inet addr:172.30.4.5  Bcast:172.30.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 iB)  TX bytes:11316 (11.0 kiB)
  eth0:0    Link encap:Ethernet  HWaddr 08:00:00:00:00:01  
          inet addr:172.40.0.1  Bcast:172.40.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Base address:0x8500 
  eth1      Link encap:Ethernet  HWaddr 08:00:00:00:00:02  
          inet addr:192.168.24.36  Bcast:192.168.24.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:15709 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1025 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1385934 (1.3 MiB)  TX bytes:56489 (55.1 kiB)
          Base address:0x8400 
  lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12903 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12903 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1678945 (1.6 MiB)  TX bytes:1678945 (1.6 MiB)

  While I changing netmasks I got some Tx statistics for VLAN interfaces.
  What is wrong I am doing?
  Thanks.
   
  Sincerely,
  Arthur.
   

       
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns2.lanforge.com/pipermail/vlan/attachments/20071122/9105a1d4/attachment.html


More information about the Vlan mailing list