AIX Topic – How to delete multiple default gateways

Delete multiple default gateways

 First, obtain how many gateways there are:

# odmget -q "attribute=route" CuAt

CuAt:
        name = "inet0"
        attribute = "route"
        value = "net,-hopcount,0,,0,192.168.0.2"
        type = "R"
        generic = "DU"
        rep = "s"
        nls_index = 0

CuAt:
        name = "inet0"
        attribute = "route"
        value = "net,-hopcount,0,,0,192.168.0.1"
        type = "R"
        generic = "DU"
        rep = "s"
        nls_index = 0

If there are more than one, you need to remove the excess route:

# chdev -l inet0 -a delroute="net,-hopcount,0,,0,192.168.0.2"
Method error (/usr/lib/methods/chginet):
        0514-068 Cause not known.
0821-279 writing to routing socket: The process does not exist.
route: not in table or multiple matches
0821-207 chginet: Cannot add route record to CuAt.

Then verify again:

# odmget -q "attribute=route" CuAt

CuAt:
        name = "inet0"
        attribute = "route"
        value = "net,-hopcount,0,,0,192.168.0.1"
        type = "R"
        generic = "DU"
        rep = "s"
        nls_index = 0
Posted in Uncategorized | Leave a comment

Lunch before puasa ramadhan 2013

Selepas relocate ibm pseries into sun uat rack, my tech team khairil,mahadhir & aku makan tghari di ” the chicken rice shop ” bangsar south sphere … ambik menu healthy , sgt2 healthy .. tapi ramailah pulak duk menunggu .

Asyik duk tekan bell pon x datang .. lama2 ūüôā

image

Posted in Uncategorized | Leave a comment

My first blog – on 8 July 2013

8-07-2013 This is my first blog using wordpress’s post so I’m excited sangat2 & will update this WordPress ¬†though ¬†Samsung Galaxy Notes 2 Mobile ¬†as advised by ¬†maulvi .

Image

Posted in Uncategorized | Leave a comment