Highlighted

routing table flush by vcs

Hi experts

i met a problem;

Platform RHL7

i used system file /etc/sysconfig/network-script/route-bond1 & route-bond2 to defined the route table;

after system startup.

it display like:

sys1:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         10.130.46.129   0.0.0.0         UG        0 0          0 bond0
10.130.38.16    10.130.47.161   255.255.255.240 UG        0 0          0 bond1
10.130.46.128   0.0.0.0         255.255.255.192 U         0 0          0 bond0
10.130.47.0     10.130.47.161   255.255.255.240 UG        0 0          0 bond1
10.130.47.160   0.0.0.0         255.255.255.224 U         0 0          0 bond1
10.130.47.192   0.0.0.0         255.255.255.224 U         0 0          0 bond2
10.254.24.0     10.130.47.193   255.255.255.128 UG        0 0          0 bond2
133.96.40.67    10.130.47.193   255.255.255.255 UGH       0 0          0 bond2
133.96.40.68    10.130.47.193   255.255.255.255 UGH       0 0          0 bond2
133.96.40.148   10.130.47.193   255.255.255.255 UGH       0 0          0 bond2
133.96.66.13    10.130.47.193   255.255.255.255 UGH       0 0          0 bond2

 

and after vcs startup

the routing table seem like been flushed

TSHCG07BER-1:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         10.130.46.129   0.0.0.0         UG        0 0          0 bond0
10.130.46.128   0.0.0.0         255.255.255.192 U         0 0          0 bond0
10.130.47.160   0.0.0.0         255.255.255.224 U         0 0          0 bond1
10.130.47.192   0.0.0.0         255.255.255.224 U         0 0          0 bond2

 

and here is partial main.cf

group Network (
        SystemList = { TSHCG07BER-1 = 1, TSHCG07BER-2 = 2 }
        Parallel = 1
        AutoStartList = { TSHCG07BER-1, TSHCG07BER-2 }
        )

        MultiNICA MM_ONM_NIC (
                Device @TSHCG07BER-1 = { bond0 = "10.130.46.132" }
                Device @TSHCG07BER-2 = { bond0 = "10.130.46.133" }
                NetMask = "255.255.255.192"
                Options = "broadcast 10.130.46.191"
                NetworkHosts = { "10.130.46.129" }
                )

        Phantom Phantom (
                )

 

        // resource dependency tree
        //
        //      group Network
        //      {
        //      MultiNICA MM_ONM_NIC
        //      Phantom Phantom
        //      }


group Network_BOSS (
        SystemList = { TSHCG07BER-1 = 0, TSHCG07BER-2 = 1 }
        Parallel = 1
        AutoStartList = { TSHCG07BER-1, TSHCG07BER-2 }
        )

        MultiNICA MM_BOSS_NIC (
                Device @TSHCG07BER-1 = { eno2 = "10.130.47.197" }
                Device @TSHCG07BER-2 = { eno2 = "10.130.47.198" }
                NetMask = "255.255.255.224"
                NetworkHosts = { "10.130.47.193" }
                )

        Phantom Phantom_BOSS (
                )

 

        // resource dependency tree
        //
        //      group Network_BOSS
        //      {
        //      MultiNICA MM_BOSS_NIC
        //      Phantom Phantom_BOSS
        //      }


group Network_GA (
        SystemList = { TSHCG07BER-1 = 0, TSHCG07BER-2 = 1 }
        Parallel = 1
        AutoStartList = { TSHCG07BER-1, TSHCG07BER-2 }
        )

        MultiNICA MM_GA_NIC (
                Device @TSHCG07BER-1 = { ens1f1 = "10.130.47.165" }
                Device @TSHCG07BER-2 = { ens1f1 = "10.130.47.166" }
                NetMask = "255.255.255.224"
                NetworkHosts = { "10.130.47.161" }
                )

        Phantom Phantom_GA (
                )

 

        // resource dependency tree
        //
        //      group Network_GA
        //      {
        //      MultiNICA MM_GA_NIC
        //      Phantom Phantom_GA
        //      }

 

any advice about how to configrue the route table in system platform?