Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


davidcole

6041 posts

Uber Geek

Trusted

#108682 3-Sep-2012 17:44
Send private message

Basically I want to have some sort of balancing/tolerance on the machine.  The NICs are differing brands (and not server ones, so I'm not able to team them.

They both currently get their own ip address from dhcp, which I dont have a problem with, but I wouldn't mind both being accessible via the same server name - is this possible?

Any one know how?  I'd hope that if accessible they would automagically split traffic (on each new connection) across the two nics?  So say if I was copying a large file on nic1, initiating a another file copy would use the 2nd nic?

I'd just prefer to not have to do the two file transfers using the servers 2 names (or ip addresses direcctly).




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic
Ragnor
8223 posts

Uber Geek

Trusted

  #681217 4-Sep-2012 10:50
Send private message

Fairly sure Windows server 2008 doesn't have native link aggregation (Windows server 2012 does) and you need to use the NIC vendors software for this (Broadcom or Intel typically) which usually means you need two of the same vendor/model.

You should be able to pick up a cheap broadcom or intel two port NIC that supports link aggregation/teaming, try trademe.



davidcole

6041 posts

Uber Geek

Trusted

  #681222 4-Sep-2012 10:55
Send private message

I was hoping I could just do something in DNS. This (2.3) seemed to imply I could...but didn't tell me how.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


ubergeeknz
3344 posts

Uber Geek

Trusted
Vocus

  #681226 4-Sep-2012 11:08
Send private message

You could just have 2 A records for the box at each IP address.  That will kind of work, for multiple clients at least.  But you might have problems with firewalls etc. in the case that traffic takes a different return path from the server (which can happen if both have a default GW set)



davidcole

6041 posts

Uber Geek

Trusted

  #681228 4-Sep-2012 11:10
Send private message

ubergeeknz: You could just have 2 A records for the box at each IP address.  That will kind of work, for multiple clients at least.  But you might have problems with firewalls etc. in the case that traffic takes a different return path from the server (which can happen if both have a default GW set)


This is only for internal lan stuff.  I've no interest in exposing both ip addresses to the internet.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


gehenna
8521 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #681230 4-Sep-2012 11:12
Send private message

What ubergeeknz said is probably your best bet for getting it working quickly, easily, and without buying any new NICs.

It might not prove to be a very agile solution over time though if you need to make alterations or changes.

Ragnor
8223 posts

Uber Geek

Trusted

  #681234 4-Sep-2012 11:28
Send private message

davidcole: I was hoping I could just do something in DNS. This (2.3) seemed to imply I could...but didn't tell me how.


Is there a windows domain/active directory or is this just a windows workgroup setup?

Actually I think it should just work like  2.3 either way already for connections initiated by clients to the server. For connections initiated by the server I think it will always just use the NIC with the lowest metric/priority for the route. 

You could test client to server by running pings on the clients to the server-name, see what ip address you get, then run another and another (individually) and you should get different ip addresses on different occasions (round robin).

To check the route table on the client or server open a cmd window (windows key + r > cmd) type: route print

Zeon
3918 posts

Uber Geek

Trusted

  #681237 4-Sep-2012 11:41
Send private message

While you could use round robin DNS this won't work too well and is still limiting you to the same subnet. For the price of NICs I would strongly suggest you get the same vendor so you can use 802.3ad (teaming) which is designed for your usage case. Does your switch support it though?

I've recently upgraded our dual port NICs to quad ports (all Intel) so feel free to PM me if you are after a dual port Intel NIC (practically brand new).




Speedtest 2019-10-14


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
davidcole

6041 posts

Uber Geek

Trusted

  #681262 4-Sep-2012 12:03
Send private message

Ragnor:
davidcole: I was hoping I could just do something in DNS. This (2.3) seemed to imply I could...but didn't tell me how.


Is there a windows domain/active directory or is this just a windows workgroup setup?

Actually I think it should just work like  2.3 either way already for connections initiated by clients to the server. For connections initiated by the server I think it will always just use the NIC with the lowest metric/priority for the route. 

You could test client to server by running pings on the clients to the server-name, see what ip address you get, then run another and another (individually) and you should get different ip addresses on different occasions (round robin).

To check the route table on the client or server open a cmd window (windows key + r > cmd) type: route print


Just a workgroup with gargoyle as the router the machine is connected to (twice).  But if I ping the server, surely gargoyle is going to give me the IP address - rather than the server.

Do I need to take this machine out of DHCP so that it's broadcasting it's name and ipaddres(s)?

If I was able to implement a pretty simple solution I would, failing that I'll just access it via both hostnames/ip addresses manually if I have to.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Ragnor
8223 posts

Uber Geek

Trusted

  #681284 4-Sep-2012 12:28
Send private message

Every time you ping the server name from another PC you should have a 50% chance of getting ip #1 or ip #2

Gargoyle Router doesn't seem to have a WINS server so master browser (a computer holding a list of the names/ip addresses on the network) will default to one of the windows machines on your network.

davidcole

6041 posts

Uber Geek

Trusted

  #681288 4-Sep-2012 12:36
Send private message

Ragnor: Every time you ping the server name from another PC you should have a 50% chance of getting ip #1 or ip #2

Gargoyle Router doesn't seem to have a WINS server so master browser (a computer holding a list of the names/ip addresses on the network) will default to one of the windows machines on your network.


I don';t think I've ever seen this behaviour.  But if Gargoyle is listed as the gateway and dns for the subnet, wont that provide the static IP address it gives out for that host name?






Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Ragnor
8223 posts

Uber Geek

Trusted

  #681509 4-Sep-2012 21:32
Send private message

davidcole: Gargoyle is listed as the gateway and dns for the subnet, wont that provide the static IP address it gives out for that host name?


Only if the DNS server and DHCP client are integrated would the routers dns server/cache know about local host/computer names.

At a cmd prompt what does nslookup server-name show?

Edit:

These articles cover name resolution on windows

Microsoft TCP/IP Host Name Resolution Order
NetBIOS over TCP/IP Name Resolution and WINS

So it does try DNS, but the question is does your router's DNS server know about local host/computer names.

wasabi2k
2098 posts

Uber Geek


  #681942 5-Sep-2012 17:52
Send private message

Short Version: Buy NICs that support Teaming.

Long Version: DNS Round Robin provides some level of load balancing but requires a large number of clients to be at all effective. Clients will cache name resolution in most cases - so it will resolve IP1 and continue to use IP1 until cache is cleared OR TTL expires. The times vary based on name resolution technology (WINS, Broadcast, DNS) and client.

Outbound, you will not achieve anything. Your PC will use the combination of routing metric and NIC binding order to send outbound traffic. First NIC will always be used until it fails.

Round Robin will NOT provide failover or HA, client will simply get directed to a failed IP/link.

2 NICs on the same subnets with different IPs is in short a waste of time. GLHF.

See Short Version.

Create new topic





News and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.