Hope you are doing great, a few days ago I cam across with a VCSA 6.5 that was not being able to be connected to, started by opening the Virtual Console and I thought, well, Photon is Linux, but noticed that the file location and commands were different from other SLES vCenter.
By going through the Photon documentation I found the following commands that helped me troubleshoot the network problem.
Here is the command comparison between Photon and SLES vCenters
|Photon OS Command||SLES Command|
|ip addr||ifconfig -a|
|ip maddr||netstat -g|
|ip link set eth0 up||ifconfig eth0 up|
|ip -s neigh||arp -v|
|ip link set eth0 mtu 9000||ifconfig eth0 mtu 9000|
The argument status command is used to show specific information about the link (eth0).
The network service, which is enabled by default, starts when the system boots. You manage the network service by using systemd commands, such as systemd-networkd, systemd-resolvd, and networkctl. You can check its status of the network service by running the following command: systemctl status systemd-networkd
Check the current static configuration by printing the output of the file 10-static-en.network or 10-eth0.network. cat /etc/systemd/network/10-eth0.network
You can use
Netcat, a tool for sending data over network connections with TCP or UDP. It can be used to test port connectivity. for example:
nc -zv 192.168.1.81 443
nc -zv 192.168.1.81 80
nc -zv 192.168.1.81 22
nc -zv 192.168.1.81 21
For more information about this tools do no forget to visit:
Hope you enjoyed this post and don’t forget to share and comment.