Network troubleshooting

From Lolly's Wiki
Revision as of 04:45, 26 November 2021 by Lollypop (talk | contribs) (Text replacement - "[[Kategorie:" to "[[Category:")
Jump to navigationJump to search

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