- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- default route missing
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2008 01:39 PM
тАО09-03-2008 01:39 PM
default route missing
Please help me understand what could be causing this lost default route and reatained typo-gateway. I would like to know what other config files I need to examine and/or remove or update.
thanks
-Paul
here are network conf files.
[root@isdptlhpdr001 sysconfig]# cat network
NETWORKING=yes
HOSTNAME=isdptlhpdr001
GATEWAY=10.216.32.1
[root@isdptlhpdr001 sysconfig]# cat ./network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
IPADDR=10.216.33.113
NETMASK=255.255.240.0
GATEWAY=10.216.32.1
note that I have manually added the default in the below route info.
[root@isdptlhpdr001 sysconfig]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.216.32.0 * 255.255.240.0 U 0 0 0 bond0
210.216.32.0 * 255.255.240.0 U 0 0 0 bond0
169.254.0.0 * 255.255.0.0 U 0 0 0 bond0
default 10.216.32.1 0.0.0.0 UG 0 0 0 bond0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2008 03:02 PM
тАО09-03-2008 03:02 PM
Re: default route missing
set the default route one place or the other.
Doing it in two places causes problems.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2008 04:02 PM
тАО09-03-2008 04:02 PM
Re: default route missing
It's odd that there is no default route/gateway even though by the network file, there should be. let alone the additional route.
where else is the default route set or unset?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2008 06:34 AM
тАО09-04-2008 06:34 AM
Re: default route missing
/sbin/service network status
this revealed that I had several bond interfaces configured (command output):
[root@isdptlhpdr001 network-scripts]# /sbin/service network status
Configured devices:
lo bond0 bond0.old bond0.orig eth0 eth1 eth2 eth3 eth4 eth5
Currently active devices:
lo bond0 eth0 eth1
these are the bad entries:
bond0.old bond0.orig
from this I realized that my "backup" copies of the bond0 config file were getting used/set:
[root@isdptlhpdr001 network-scripts]# pwd
/etc/sysconfig/network-scripts
[root@isdptlhpdr001 network-scripts]# ls -l | grep bond
-rw-r--r-- 1 root root 113 Sep 3 15:20 ifcfg-bond0
-rw-r--r-- 1 root root 114 Sep 3 10:43 ifcfg-bond0.old
-rw-r--r-- 1 root root 113 Aug 14 15:20 ifcfg-bond0.orig
those files were removed/renamed and the server rebooted. the routes look good as well as network service status:
[root@isdptlhpdr001 network-scripts]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.216.32.0 * 255.255.240.0 U 0 0 0 bond0
169.254.0.0 * 255.255.0.0 U 0 0 0 bond0
default 10.216.32.1 0.0.0.0 UG 0 0 0 bond0
[root@isdptlhpdr001 network-scripts]# /sbin/service network status
Configured devices:
lo bond0 eth0 eth1 eth2 eth3 eth4 eth5
Currently active devices:
lo bond0 eth0 eth1
note that the mistake bond0 are gone and the routes are as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2008 06:34 AM
тАО09-04-2008 06:34 AM