hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Colocation and Data Centers : two HSRP routers, one server with dual NICs, no additional switches whatsoever
Reply

Colocation and Data Centers Find data centers, server hardware, bandwidth providers, and techniques for colocation purposes. Get advice on colocation web hosting, review providers and offer suggestions on choosing colocation hosting services and the right datacenter. If your service is unavailable, please click here.
Forum Jump

two HSRP routers, one server with dual NICs, no additional switches whatsoever

Reply Post New Thread In Colocation and Data Centers Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-22-2010, 02:46 PM
OneLittleBird OneLittleBird is offline
WHT Addict
 
Join Date: Oct 2009
Posts: 127

two HSRP routers, one server with dual NICs, no additional switches whatsoever


Dear all,

my provider gives me two HSRP routers (i.e. there is a single virtual hrsp IP and MAC address). I need to provide a single gateway to the provider, i.e. a single IP address (and ideally a single MAC).

I have a server with two NICs. I want to connect my server to these 2 HSRP routers without using any additional switches in between.


Is it possible? I would imagine so, as anything a switch does a server should be able to do too, with the right software. But how do I do this?

Is Intel NIC teaming - more specifically, SFT(switch fault tolerance) teaming - the right solution?

Reply With Quote


Sponsored Links
  #2  
Old 05-22-2010, 04:48 PM
OneLittleBird OneLittleBird is offline
WHT Addict
 
Join Date: Oct 2009
Posts: 127
What about an even simpler solution - creating a network bridge in the OS with these two NICs? Both NICs will then have the same IP, right? And HSRP routers can send their traffic to either of the NICs?

Would this work?

Reply With Quote
  #3  
Old 05-23-2010, 09:44 AM
IDediServer Kevin IDediServer Kevin is offline
WHT Addict
 
Join Date: Sep 2008
Posts: 117
OneLittleBird,

If the interface on the routers that is connecting to the server are setup for HSRP then the cheapest way would be to do that (bond the interfaces at the OS level).

Reply With Quote
Sponsored Links
  #4  
Old 05-23-2010, 09:55 AM
DUR0N DUR0N is offline
Newbie
 
Join Date: Nov 2009
Location: Belgium
Posts: 20
I'm not sure if the Intel NIC's software supports HSRP. Usually they do active load balancing of some kind, or regular failover.

__________________
Renderplatform.net - Dedicated serverhosting Performance VPS integrator with HP C-Class blades and HP EVA 6400 Fiber Channel SAN
info@renderplatform.net

Reply With Quote
  #5  
Old 05-23-2010, 01:03 PM
MaB MaB is offline
Web Hosting Master
 
Join Date: Oct 2001
Posts: 1,244
Quote:
Originally Posted by DUR0N View Post
I'm not sure if the Intel NIC's software supports HSRP. Usually they do active load balancing of some kind, or regular failover.
HSRP is run on the server providers routers, not the OPs server.

OneLittleBird, what you are looking for is NIC bonding.
- Instructions for CentOS / RedHat: http://www.cyberciti.biz/tips/linux-...interface.html and some more details http://www.howtoforge.com/network_card_bonding_centos

- http://www.cyberciti.biz/howto/quest...iver-howto.php - section 12.2 is basically what you'll be doing - it sounds like you'll be connected to two of their routers - to avoid any potentially confusing situations you may want to run in active-backup mode where only 1 NIC/mac address is active at a time.

If you're running windows, it might get a bit more complicated and specific to the OS and NIC drivers. You mention Intel teaming and Switch Fault Tolerance (SFT) - according to the Intel NIC teaming White Paper, SFT requires STP on your uplink - but you have no control over that. I think what you want is Adapter Fault Dolerance (AFT) which chooses a primary Active NIC and switches to a Standby NIC if the primary one fails.

I recommend that, when using bonding, you should be sure to do ARP/traffic monitoring to detect failures and not just link down monitoring. The Intel whitepaper says 'AFT uses four indicators to detect if a failover is needed: the primary’s link status, the primary’s hardware status, a probe mechanism between the members of the team, and the primary port’s packet receive counters.' so you should be set in that regard

Best of luck!

__________________
Avi Brender
Reliable Web Hosting by Elite Hosts, Inc
CPANEL Reseller Hosting - Fantastico - Rvskins - ClientExec


Reply With Quote
  #6  
Old 05-23-2010, 01:08 PM
IDediServer Kevin IDediServer Kevin is offline
WHT Addict
 
Join Date: Sep 2008
Posts: 117
HSRP is cisco proprietary, something similar would be VRRP.

The closest thing in this situation to a switch is to use bonding, the issues comes with what bonding mode to use. Example is if you use failover based bonding it will only failover if the primary link goes hard down. Their are conditions where the router may not respond even with the link up (rare but it happens)

A switch is obviously a better solution

Reply With Quote
  #7  
Old 05-23-2010, 08:27 PM
OneLittleBird OneLittleBird is offline
WHT Addict
 
Join Date: Oct 2009
Posts: 127
Dear all,

thanks very much for your responses!

Dear MaB, I am concerned that Intel AFT (adapter fault tolerance) would not be suitable, as it will most probably result in one NIC being used all the time. The router which it is connected to might be alive, but not acting as the HSRP router, as far as I understand; xcintrik also expresses this concern.

Dear xcintrik, I agree that a switch would be a much easier solution, and this is my backup solution, but I would strongly prefer to do it without any additional switches.



How about creating a network bridge with these two NICs in Windows? I am not sure what a "network bridge" is exactly. I only know vaguely what it is usually used for: namely, to merge two network segments. I do not need to bridge no segments. But I have a feeling that a Windows "network bridge" is in fact like a virtual switch (which is exactly what I need). There will be no nic redundancy in this case, which is fine with me. But would it work?

Reply With Quote
  #8  
Old 05-24-2010, 11:00 AM
IDediServer Kevin IDediServer Kevin is offline
WHT Addict
 
Join Date: Sep 2008
Posts: 117
OneLittleBird,

What is a bridge technically?
They are a small switch, it learns where MAC addresses live and send traffic for that MAC to the port it responds from.

If you were to do this I would set your ARP timeout to be fairly low.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
switches and routers brat_dan Hosting Security and Technology 8 07-21-2006 12:30 PM
Dual Nics, Dual networks web server configuration Len Nagy Dedicated Server 6 09-28-2005 11:41 PM
Routers, Switches Layout Salvia Colocation and Data Centers 20 06-30-2005 12:23 AM
Backup switches and routers VisioWebs Colocation and Data Centers 7 03-12-2005 04:46 AM
Routers / Switches / Firewalls trader7702 Hosting Security and Technology 2 11-29-2003 09:59 AM

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup – May 10, 2013 Web Hosting News 2013-05-13 13:19:27
Web Host Earthnet Launches Xpert.net Linux Web Hosting Services Web Hosting News 2012-03-23 16:09:07
Web Host ViaWest Gets Efficient with Opengear Solutions Web Hosting News 2012-02-28 17:04:18
Web Host Server Cloud Canada Deploys HP Private Cloud Web Hosting News 2011-10-14 14:26:52
Web Host 1&1 Experiences Server Outage Web Hosting News 2011-09-26 17:29:11


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?