HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: two links and two NICs
Operating System - Linux
1830165
Members
3033
Online
109999
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
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
09-23-2004 07:36 PM
09-23-2004 07:36 PM
two links and two NICs
There are two network adapters eth0 and eth1 in one of the servers here. Both the NICs are connected to the Internet via 2 different ISPs on each of them. Is there any tool in Debian GNU/Linux where I can specify and prioritize the link to be used, preferably a CLI tool? TIA.
Debian GNU/Linux for the Enterprise! Ask HP ...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 09:09 PM
09-23-2004 09:09 PM
Re: two links and two NICs
Network configuration can deal with that.
I'm not sure of the Debian location but there is a file called ifcfg-eth0 and ifcfg-eth1
On my boxes its in the /etc/sysconfig/network-scripts folder
A gateway statement will set internet priority. You are probably not going to want two, but you may.
gateway=ip_address_from_isp
if eth0 has a gateway and eth1 does, all Internet outbound traffic will use eth0
SEP
I'm not sure of the Debian location but there is a file called ifcfg-eth0 and ifcfg-eth1
On my boxes its in the /etc/sysconfig/network-scripts folder
A gateway statement will set internet priority. You are probably not going to want two, but you may.
gateway=ip_address_from_isp
if eth0 has a gateway and eth1 does, all Internet outbound traffic will use eth0
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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-23-2004 10:09 PM
09-23-2004 10:09 PM
Re: two links and two NICs
Hi,
I think that you can only properly set your
routing table - I meen one set of dest networks by ISP1 and second set of dest. networks by ISP2.
You have to check which ISP is better for which dest. networks and add add static routes.
I think that you can only properly set your
routing table - I meen one set of dest networks by ISP1 and second set of dest. networks by ISP2.
You have to check which ISP is better for which dest. networks and add add static routes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 03:19 AM
09-27-2004 03:19 AM
Re: two links and two NICs
Steve is correct here. The gateway address defines where the packets go. If you have 2 ISP's, your router should be running BGP which will determine the best route.
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