Forum Discussion
tcpdump with route domains
i try to set up a LTM with route domains and i'm looking for a tcpdump command where i can see pakets in route domain 1. If i do a tcpdump -i i can't see any pakets i'm interested in.
Also when i do an ifconfig -a i do not see ip addresses from interfaces which are located in route domain 1. I only see the name of the VLAN which i set up in route domain 1 but whithout any IPv4 address.
Can anyone give me a hint?
THX
regards
Karsten
- nickF5_143239Historic F5 Account
When using tcpdump to capture traffic in a non-default route domain, F5 recommends that you run the tcpdump command from the default route domain (route domain 0), and specify interface 0.0. For example, the following command captures traffic from all VLANs in all route domains when invoked from the default route domain: tcpdump -ni 0.0
See the full solution: SOL6546: Recommended methods and limitations for running tcpdump on a BIG-IP system http://support.f5.com/kb/en-us/solutions/public/6000/500/sol6546.html?sr=37712322
- Josh_Hill_17083NimbostratusI think the "tcpdump -i vlan_name" command should do the job for you. This will capture all addresses on the vlan. Just use the name of the vlan on the routing domain.
- karp_49260NimbostratusHi Josh,
- Josh_Hill_17083NimbostratusI don't believe route domains affect the behaviour of the TCPDump, so what you seeing is unusual.
- karp_49260NimbostratusDMZ is set up in route domain 1 and also the destination ip 172.27.50.6. This is the ip from LB2 and i do the tcpdump and ping on LB1 (172.27.50.5)
- nitassEmployeei rarely run tcpdump on physical or vlan interface. usually i run it on 0.0.
- Jose_Almada_400Historic F5 Account
This SOL below says to run a tcpdump on 0.0 and it captures all.
http://support.f5.com/kb/en-us/solutions/public/6000/500/sol6546.html
- Romani_2788Historic F5 Account
It is also important to note that you should not be in a non-default route domain. So to ensure you are in the default route domain run:
rdsh 0
and then run the tcpdump using the 0.0 interface, so that you capture on all vlans.
- mplaksin_293271Nimbostratus
Running tcpdump in a route domain
Recommendations
When you use tcpdump to capture traffic in a non-default route domain, F5 recommends that you run the tcpdump command from the default route domain (route domain 0), and specify interface 0.0. Note: If you specify interface 0.0 when you run tcpdump, it captures traffic traversing all configured VLANs on the BIG-IP system.
For example, the following command captures traffic from all VLANs in all route domains when you invoke it from the default route domain:
tcpdump -ni 0.0
Limitations
The tcpdump utility does not capture traffic when you run it from a non-default route domain. For example, if you use the rdsh utility to change the shell to a non-default route domain and run the tcpdump command, it does not capture any traffic. To capture traffic, use the following command to change back to the default route domain: rdsh 0
You can then run the tcpdump -ni 0.0 command to capture all route domain traffic.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com