mcannella7
Enthusiast
Enthusiast

Vsphere Replication appliance persistant route

Jump to solution

How do I add a persistent route to the VR appliance?  I need it to have a specific route this way every time it reboots I do not lose the route.  I know how to do with ESXi but the appliance is a bit different.  I am running 8.1.1 appliance

Thanks

0 Kudos
1 Solution

Accepted Solutions
mcannella7
Enthusiast
Enthusiast

Add the route details in the below file to make it persistent across reboots.

# /etc/systemd/network/XX-eth#.network

Where X can take any number depending on your system and # is the number of the interface you want to add the static route to.

Add a new section at the end of the file in the format as below:

[Route]
Gateway=10.20.30.40
Destination=192.168.0.0/16

View solution in original post

0 Kudos
2 Replies
virtualg_uk
Leadership
Leadership

I believe the replication appliance now runs on PhotonOS, so I would follow this guide or similar:

https://blog.jreypo.io/cloud-native/devops/vmware/sysadmin/linux/network-configuration-in-photon-os

See section on "Static routes"

Obviously backup any files before editing for a good rollback point

__________________________________________________________ Graham User Moderator http://virtualg.uk | @VirtualG_UK
0 Kudos
mcannella7
Enthusiast
Enthusiast

Add the route details in the below file to make it persistent across reboots.

# /etc/systemd/network/XX-eth#.network

Where X can take any number depending on your system and # is the number of the interface you want to add the static route to.

Add a new section at the end of the file in the format as below:

[Route]
Gateway=10.20.30.40
Destination=192.168.0.0/16

View solution in original post

0 Kudos