AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  tcpdump -D doesn't recognize ethernet interface en2

    Posted Thu July 20, 2006 09:56 AM

    Originally posted by: SystemAdmin


    I need to trace network traffic on a p520 with AIX 5.3 ML 4.
    When i type "ifconfig -a" i'll get en2, sit0 and lo0. When i type "tcpdump -D" to receive the available interfaces i only get "1.lo0".
    With "tcpdump -i en2" i get "BIOCSETIF: en2: Do not specify an existing file".
    en2 is the only interface which is configured on the machine, iptrace works.

    Does anybody know what's going wrong ?

    #AIX-Forum


  • 2.  Suggestions

    Posted Mon July 24, 2006 06:57 AM

    Originally posted by: nagger


    Are you logged in as root?
    • I get weird results or nothing as a regular user.

    I think there is tcpdump with AIX and there is the tcpdump open source version that we can download from http://www-03.ibm.com/servers/aix/products/aixos/linux/download.html
    The point being do you know which one you are using?
    I have no idea if the syntax is the same or not.

    Have you got free space in all filesystem for temporary files?
    And some paging space free?
    Easy mistake to catch any one out!!

    Your tcpdump -D showed there is no en2 as far as it is concerned.
    What type of device is en2?
    For example, you can't run tcpdump on a virtual Ethernet adapter.
    #AIX-Forum


  • 3.  Re: Suggestions

    Posted Mon July 24, 2006 07:46 AM

    Originally posted by: SystemAdmin


    I'am logged in as root and i think i have the AIX version; "tcpdump --help" will show :
    tcpdump version aix3.8
    libcap version aix0.8
    "df -k"
    /dev/hd4 65536 39156 41% 2439 8% /
    /dev/hd2 15466496 3281096 79% 177858 5% /usr
    /dev/hd9var 131072 58968 56% 1352 5% /var
    /dev/hd3 524288 506608 4% 103 1% /tmp
    /dev/fwdump 393216 380836 4% 17 1% /var/adm/ras/platform
    /dev/hd1 6094848 3027376 51% 11640 1% /home
    /proc - - - - - /proc
    /dev/hd10opt 327680 33660 90% 6750 9% /opt

    en2 is the Standard-Ethernet-Interface. I have en0, en1 and en2 as Standard-Ethernet-Interfaces and et0, et1 and et2 as IEEE 802.3-Ethernet-Interfaces on the AIX box. Only en2 is configured with an ip-address.
    #AIX-Forum


  • 4.  Re: tcpdump -D doesn't recognize ethernet interface en2

    Posted Fri July 28, 2006 01:32 AM

    Originally posted by: SystemAdmin


    I installed the newest bos.net.tcp.client patches and rebooted the machine.
    tcpdump -D now knows the interface en2.
    But i don't know whether the patches or the reboot helped, cause i have read, that killing traces with "kill -9" can cause such a problem.

    Thanks
    #AIX-Forum


  • 5.  Re: tcpdump -D doesn't recognize ethernet interface en2

    Posted Fri July 28, 2006 01:32 AM

    Originally posted by: SystemAdmin


    I installed the newest bos.net.tcp.client patches and rebooted the machine.
    tcpdump -D now knows the interface en2.
    But i don't know whether the patches or the reboot helped, cause i have read, that killing traces with "kill -9" can cause such a problem.

    Thanks
    #AIX-Forum