HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Gateway on boot
Operating System - Linux
1832840
Members
2968
Online
110047
Solutions
Forums
Categories
Company
Local Language
back
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
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-08-2010 12:21 PM
11-08-2010 12:21 PM
Hello, I have a RedHat 5.3 server which has the gateway information in /etc/sysconfig/network file, where the gateway doesn't configure on boot(can't ping the gateway, hence can't get out). But when I add manually with the following command once the O/S is up and running, it works:
# route add default gw dev bond1
There are other (4)servers, which works on reboot where it gets the gateway information from /etc/sysconfig/network file, but this is different gateway than the above server, which is on different network.
So anyone can let me know what could be wrong?
Thanks in an advance!
# route add default gw
There are other (4)servers, which works on reboot where it gets the gateway information from /etc/sysconfig/network file, but this is different gateway than the above server, which is on different network.
So anyone can let me know what could be wrong?
Thanks in an advance!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 02:44 AM
11-09-2010 02:44 AM
Solution
Perhaps missing quotes, invisible characters or other typos in your network configuration file?
Please run "cat -t /etc/sysconfig/network" to check.
If you run "ifdown bond1; ifup bond1", do you see any error messages?
Run "ipcalc --network ". Does the result match the NETWORK setting in /etc/sysconfig/network-scripts/ifcfg-bond1?
(If it doesn't, /etc/sysconfig/network-scripts/ifup-eth will skip the gateway setting.)
MK
Please run "cat -t /etc/sysconfig/network" to check.
If you run "ifdown bond1; ifup bond1", do you see any error messages?
Run "ipcalc --network
(If it doesn't, /etc/sysconfig/network-scripts/ifup-eth will skip the gateway setting.)
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 09:52 PM
11-09-2010 09:52 PM
Re: Gateway on boot
Hi
You can try this
Add the GATEWAY=XX.XX.XX.XX entry in /etc/sysconfig/network-scripts/ifcfg-bond1 file and attempt a reboot. Hope this will solve your problem.
XX.XX.XX.XX = your IP address.
Thanks & Regards
Jayakrishnan G Naik
You can try this
Add the GATEWAY=XX.XX.XX.XX entry in /etc/sysconfig/network-scripts/ifcfg-bond1 file and attempt a reboot. Hope this will solve your problem.
XX.XX.XX.XX = your IP address.
Thanks & Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2010 06:23 AM
11-10-2010 06:23 AM
Re: Gateway on boot
MK, Thank you for the response. Currently, we don't have access to the server so waiting to get the access and will try those. Will keep you posted.
Jagan, I did that to begin with and didn't work.
Thank you
Jagan, I did that to begin with and didn't work.
Thank you
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP