Network troubleshooting: Difference between revisions
No edit summary |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 3: | Line 3: | ||
==Testing connections from virtual interfaces / virtual IPs== | ==Testing connections from virtual interfaces / virtual IPs== | ||
=== Ping === | === Ping === | ||
< | <syntaxhighlight lang=bash> | ||
# ping -I <your virtual ip> <destination> | # ping -I <your virtual ip> <destination> | ||
</source> | </source> | ||
On Solaris | On Solaris | ||
< | <syntaxhighlight lang=bash> | ||
# ping -sni <your virtual ip> <destination> | # ping -sni <your virtual ip> <destination> | ||
</source> | </source> | ||
=== Traceroute === | === Traceroute === | ||
< | <syntaxhighlight lang=bash> | ||
# traceroute -s <your virtual ip> <destination> | # traceroute -s <your virtual ip> <destination> | ||
</source> | </source> | ||
=== SSH === | === SSH === | ||
< | <syntaxhighlight lang=bash> | ||
# ssh <user>@<destination> -o BindAddress=<your virtual ip> | # ssh <user>@<destination> -o BindAddress=<your virtual ip> | ||
</source> | </source> | ||
=== Telnet === | === Telnet === | ||
< | <syntaxhighlight lang=bash> | ||
# telnet -b <your virtual ip> <destination> | # telnet -b <your virtual ip> <destination> | ||
</source> | </source> | ||
Line 27: | Line 27: | ||
== Interface details == | == Interface details == | ||
=== Linux === | === Linux === | ||
< | <syntaxhighlight lang=bash> | ||
# ethtool -k eth1 | # ethtool -k eth1 | ||
Features for eth1: | Features for eth1: |
Revision as of 16:54, 25 November 2021
Network troubleshooting
Testing connections from virtual interfaces / virtual IPs
Ping
<syntaxhighlight lang=bash>
- ping -I <your virtual ip> <destination>
</source>
On Solaris <syntaxhighlight lang=bash>
- ping -sni <your virtual ip> <destination>
</source>
Traceroute
<syntaxhighlight lang=bash>
- traceroute -s <your virtual ip> <destination>
</source>
SSH
<syntaxhighlight lang=bash>
- ssh <user>@<destination> -o BindAddress=<your virtual ip>
</source>
Telnet
<syntaxhighlight lang=bash>
- telnet -b <your virtual ip> <destination>
</source>
Interface details
Linux
<syntaxhighlight lang=bash>
- ethtool -k eth1
Features for eth1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: off [fixed] tcp-segmentation-offload: off tx-tcp-segmentation: off tx-tcp-ecn-segmentation: off [fixed] tx-tcp6-segmentation: off udp-fragmentation-offload: off [fixed] generic-segmentation-offload: off generic-receive-offload: on large-receive-offload: on rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: on highdma: on rx-vlan-filter: on [fixed] vlan-challenged: off [fixed] tx-lockless: off [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: off [fixed] tx-ipip-segmentation: off [fixed] tx-sit-segmentation: off [fixed] tx-udp_tnl-segmentation: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: off [fixed] rx-vlan-stag-hw-parse: off [fixed] rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] busy-poll: off [fixed] </source>