Index: [Article Count Order] [Thread]

Date: Fri, 17 Apr 2009 15:59:08 +0800
From: wang_jiabo <jiabwang@redhat.com>
Subject: [users:01179] Re: Query regarding capturing packets on interfaces created by tahi
To: users@tahi.org
Message-Id: <49E836CC.7050007@redhat.com>
In-Reply-To: <9F24DC43113C624C96147DA5912304E805FD7BFE5A@NOK-EUMSG-03.mgdnok.nokia.com>
References: <9F24DC43113C624C96147DA5912304E805FD7BFE5A@NOK-EUMSG-03.mgdnok.nokia.com>
X-Mail-Count: 01179

Hi  Prasanna Khanapur
  I hope I understood your question.
freebsd add network card info in /etc/rc.conf. like :   ifconfig_eth0="up"
if you would like capture package I think you should add a swtich 
between router and SGW.
thanks
jiabo
prasanna.3.khanapur@nokia.com wrote:
> Hi,
> I'm investigating some failed test cases of Tahi in our environment.
>  
> Network diagram of test case :
>  
>  
>                       NUT
>                         |
>    ------------+---+-------- NET3
>                   |
>               Router
>                   |
>    ------------+---+-------- NET5
>                         |
>                       SGW1
>                         |
>    ------------+---+-----+-- NET2
>                  |                |
>              HOST1     HOST2
>  
> Host1 is sending ICMP echo request to NUT. SGW1 encrypts this packet 
> (into ESP) before sending to NUT.
> Using wireshark running on the windows machine, I can see NUT is 
> replying to ESP packet however the packet is not reaching HOST1 and 
> test fails.
>  
> If I run "ifconfig" while the test is being executed, I dont see any 
> interfaces being created on FreeBSD, so my question is how does 
> FreeBSD create these network nodes e.g Router,Host1,Host2 etc
>  
> I want to debug the issue and find out where is the reply packet from 
> NUT is getting dropped, for which I need to capture packets on  
> "Router" interface connected to NET3 or NET5. (and probably even on 
> interfaces of  SGW1 and Host1). How can I capture packets on each of 
> these interfaces?
>  
> Regards
> Prasanna Khanapur
>