No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>


To have a better experience, please upgrade your IE browser.


A Route Cannot Be Deleted from the RH2285 Running SUSE 11, Affecting IP Packet Sending

Publication Date:  2013-12-12 Views:  407 Downloads:  0
Issue Description
A network adapter cannot correctly communicate. After the netstat -rn command is executed, it is found that an invalid route is working on the network adapter:      U      0 0      0 bond0
After the route -delete command is executed to delete the route, bond0 is configured again after a period of time.
Alarm Information
Handling Process
1. Open and check route configuration file cat /etc/sysconfig/network/routes. The route is not found. bond1
default - - S
2. Check bond0 file cat /etc/sysconfig/network/ifcfg-bond0. It is found that all the configurations except the IP address are the same as those of the bond1 file. It is suspected that the fault is caused by the IP address.
3. Run the crontab –l command. No scheduled tasks related to the route are found.
4. Check the cat /etc/profile file. It is found that the route add mask command is in the last line of the file. It is determined that this command causes that this file is read upon each login after the route is deleted and the command configured in the file is executed. As a result, the route is automatically generated again.
After this command is deleted, the fault is rectified.
Root Cause
1. It is suspected that this route is written in the /etc/sysconfig/network/routes file.
2. The route is configured in the bond0 file and the network adapter configuration file.
3. Check whether scheduled tasks exist in cron.
4. Check user environments ./bashrc and /etc/profile.
The /etc/profile file is important. Modify it only when necessary.