Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Static Routes on VCSA 6.5

$
0
0

Our vCenter is multi-homed to allow connectivity to our backup network. Prior to upgrading to 6.0, we had a static route in the /etc/sysconfig/network/ifroute-eth1 file. This allowed communication to work correctly. Here's what I get by default on 6.5:

 

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

0.0.0.0         10.9.40.1       0.0.0.0         UG    0      0        0 eth1

0.0.0.0         10.9.24.1       0.0.0.0         UG    0      0        0 eth0

10.9.24.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0

10.9.40.0       0.0.0.0         255.255.248.0   U     0      0        0 eth1

 

If I manually edit the routes to my liking, this is how they look:

 

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

default         gateway         0.0.0.0         UG    0      0        0 eth0

10.9.24.0       *               255.255.255.0   U     0      0        0 eth0

10.9.32.0       10.9.40.1       255.255.224.0   UG    0      0        0 eth1

 

While this works, it is not persistent. Any ideas on how I can make the routes persist on reboot?


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>