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
>