Network troubleshooting: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
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 ===
<source lang=bash>
<syntaxhighlight lang=bash>
# ping -I <your virtual ip> <destination>
# ping -I <your virtual ip> <destination>
</source>
</source>


On Solaris
On Solaris
<source lang=bash>
<syntaxhighlight lang=bash>
# ping -sni <your virtual ip> <destination>
# ping -sni <your virtual ip> <destination>
</source>
</source>


=== Traceroute ===
=== Traceroute ===
<source lang=bash>
<syntaxhighlight lang=bash>
# traceroute -s <your virtual ip> <destination>
# traceroute -s <your virtual ip> <destination>
</source>
</source>
=== SSH ===
=== SSH ===
<source lang=bash>
<syntaxhighlight lang=bash>
# ssh <user>@<destination> -o BindAddress=<your virtual ip>
# ssh <user>@<destination> -o BindAddress=<your virtual ip>
</source>
</source>
=== Telnet ===
=== Telnet ===
<source lang=bash>
<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 ===
<source lang=bash>
<syntaxhighlight lang=bash>
# ethtool -k eth1
# ethtool -k eth1
Features for eth1:
Features for eth1:

Revision as of 16:54, 25 November 2021

Troubleshooting

Network troubleshooting

Testing connections from virtual interfaces / virtual IPs

Ping

<syntaxhighlight lang=bash>

  1. ping -I <your virtual ip> <destination>

</source>

On Solaris <syntaxhighlight lang=bash>

  1. ping -sni <your virtual ip> <destination>

</source>

Traceroute

<syntaxhighlight lang=bash>

  1. traceroute -s <your virtual ip> <destination>

</source>

SSH

<syntaxhighlight lang=bash>

  1. ssh <user>@<destination> -o BindAddress=<your virtual ip>

</source>

Telnet

<syntaxhighlight lang=bash>

  1. telnet -b <your virtual ip> <destination>

</source>

Interface details

Linux

<syntaxhighlight lang=bash>

  1. 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>

Solaris