Steps :
1. vi /etc/sysconfig/network-scripts/route-ethX and add following :
---
GATEWAY
NETMASK
ADDRESS
---
NB: Replace the address here.
2. service network restart
3. If you use bond0 device : add following entries in /etc/sysconfig/network-scripts/route-
---
default via X.X.X.X dev bond0
10.10.10.0/24 via X.X.X.X dev bond0
---
NB: X.X.X.X is the gateway IP address
try :)
0 comments:
Post a Comment