November 26, 2018 Vignesh Sathiyanantham

By default Photon OS comes with DHCP enabled, this is good enough for testing. In some case if you want to set static IP to your PhotonOS VM To get list of interfaces networkctl My network device name is eth0 ls /etc/systemd/network You will get a DHCP configuration file (99-dhcp-en.network in my case), take a backup of that file and create a new file 99-static-en.network root@photon-machine [ ~ ]# vi /etc/systemd/network/99-static-en.network [Match]Name=eth0[Network]Address=10.0.0.110/8Gateway=10.0.0.1 Save and restart the service systemd-networkd systemctl restart systemd-networkd If you are getting “Could not load configuration files: Permission denied” error change the permission of the file to 644 chmod 644 /etc/systemd/network/*…

March 22, 2015 Vignesh Sathiyanantham

If you connected with VPN (Virtual private network), by default your internet will go through the remote gateway (ie. VPN gateway ), Here i explain how to access internet through your local gateway while you are connected to the VPN And the below steps applies only to VPN setups that use Windows default VPN connection and Windows Server RRAS as remote VPN server. The steps may differ if you are using some other My home gateway : 10.0.0.1 My VPN Gateway : 192.168.0.1 My VPN assigned IP : 192.168.0.210 To verify that i use tracert google.com, it goes to my…