VMware Cloud Community
mcannella7
Enthusiast
Enthusiast
Jump to solution

Vsphere Replication appliance persistant route

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

Reply
0 Kudos
1 Solution

Accepted Solutions
mcannella7
Enthusiast
Enthusiast
Jump to solution

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

Reply
0 Kudos
2 Replies
virtualg_uk
Leadership
Leadership
Jump to solution

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 | https://virtualg.uk
Reply
0 Kudos
mcannella7
Enthusiast
Enthusiast
Jump to solution

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

Reply
0 Kudos