- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- network error
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
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
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
тАО07-18-2007 03:09 AM
тАО07-18-2007 03:09 AM
network error
There is a query.
I have 2 network interface, eth0 and eth1, Supposed if the network connectivity from the switch failed to eth0. In this state if I issue a service network restart command, Will it bring up both the interfaces with out error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 03:21 AM
тАО07-18-2007 03:21 AM
Re: network error
Regardless of the physical connection the software side will be set up on service restart. You can try that by yanking your network cable, restarting networking & ping yourself (ip, not on localhost).
However, using DHCP will probably cause the service to restart rather slowly (initial waiting on DHCP ACK) on eth0, the dhcpcd process will then be backgrounded and networking will come up further on eth1.
So eth0 will be stuck without IP until connectivity is restored.
Solution for avoiding all this is the use of "bonding".
See more about bonding here http://docs.hp.com/en/B9903-90050/ch05s05.html and here http://www.linuxhorizon.ro/bonding.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 03:35 AM
тАО07-18-2007 03:35 AM
Re: network error
You could also do just ifup eth0 to avoid shutting down eth1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 08:29 PM
тАО07-18-2007 08:29 PM
Re: network error
In the real world I agree with you, you wouldn't do that at all :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 11:00 PM
тАО07-18-2007 11:00 PM
Re: network error
Using 'network restart' is the sledge-hammer. It's inadvisable to do it. *EVER*. on a live system.
As for whether it'll bring the interfaces up without error, that depends on the error, the switch fault, and far too many other variables to say conclusivly.
Assuming it's just the switch going wonky and a 'replug' of the cable would fix it (or shutdown of interface and bring back up), then yeah.. Sure..
If it's anything more complicated than that, then.. No, probably not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2007 12:27 AM
тАО07-19-2007 12:27 AM
Re: network error
You can enact on a single interface without the shotgun to the face of a "service" command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2007 10:22 AM
тАО07-21-2007 10:22 AM