Difference between revisions of "Centos7-RHEL9"

From neil.tappsville.com
Jump to navigationJump to search
m
m
Line 12: Line 12:
 
== Static Routes ==
 
== Static Routes ==
 
Temporary <code>ip route add 172.16.5.0/24 via 10.0.0.101 dev eth0</code>
 
Temporary <code>ip route add 172.16.5.0/24 via 10.0.0.101 dev eth0</code>
 +
 
<code>/etc/sysconfig/network-scripts/route-eth0</code>
 
<code>/etc/sysconfig/network-scripts/route-eth0</code>
 
   172.16.5.0/24 via 10.0.0.101 dev eth0
 
   172.16.5.0/24 via 10.0.0.101 dev eth0

Revision as of 22:03, 18 September 2019

Interfaces

 vi /etc/sysconfig/network-scripts/ifcfg-eth0

VM interfaces

VMWare interfaces are created in the following order

  • ens192
  • ens224
  • ens256
  • ens161

Static Routes

Temporary ip route add 172.16.5.0/24 via 10.0.0.101 dev eth0

/etc/sysconfig/network-scripts/route-eth0

 172.16.5.0/24 via 10.0.0.101 dev eth0