Multi-homing/Multiple IP addresses
pham0329
Member Posts: 556
When you have multiple ip addresses configured on a server, is there a way to specify one of the secondary ip address to be used as the source ip address, rather the primary?
Comments
-
Claymoore Member Posts: 1,637It's basic routing - Windows will use whatever card has the best route to the destination address as long as the addresses are on different subnets. You can also add static routes to the routing table and specify the interface to use.
-
pham0329 Member Posts: 556All the IP are on the same subnet. Static routes wont wont because they all exit out the same interface, to the same ip address. Perhaps an example will clear things up
NIC1- 10.0.0.1 - primary
- 10.0.0.2
- 10.0.0.3
-
Everyone Member Posts: 1,661Change the binding order of the NICs. The NIC that is first on the binding order should get used first.
-
Zartanasaurus Member Posts: 2,008 ■■■■■■■■■□Why do you have multiple NICs with IPs in the same subnet?Currently reading:
IPSec VPN Design 44%
Mastering VMWare vSphere 5 42.8% -
Everyone Member Posts: 1,661I have ONE nic, with multiple IP addresses...
Then NO. Traffic originating from the server will always appear to come from the primary IP. It will listen and respond on the other IPs you have configured, but everything it initiates will always come from the primary. -
Everyone Member Posts: 1,661That's what I figured...good to know. Thanks.
-
Lunchbocks Member Posts: 319 ■■■■□□□□□□just for my own knowledge, why would you have multiple IP addresses attached to a NIC from the same subnet? Currently I have 7 IP addresses attached to my NIC, but they are from different subnets.Degree: Liberty University - B.S Computer Science (In Progress)
Current Certs: CCENT | MCTS | Network+
Currently Working On: Security+2020 Goals: CCNA, CCNP Security, Linux+ -
tex3030 Member Posts: 19 ■□□□□□□□□□Couldn't you be using multiple NIC for additional throughput? I would think that it should be all on the same address, but they would all still need to be on the same subnet.
-
MentholMoose Member Posts: 1,525 ■■■■■■■■□□Lunchbocks wrote: »just for my own knowledge, why would you have multiple IP addresses attached to a NIC from the same subnet? Currently I have 7 IP addresses attached to my NIC, but they are from different subnets.MentholMoose
MCSA 2003, LFCS, LFCE (expired), VCP6-DCV -
Lunchbocks Member Posts: 319 ■■■■□□□□□□Very good to know, thanks for the info.Degree: Liberty University - B.S Computer Science (In Progress)
Current Certs: CCENT | MCTS | Network+
Currently Working On: Security+2020 Goals: CCNA, CCNP Security, Linux+ -
creamy_stew Member Posts: 406 ■■■□□□□□□□FYI it's only "Multi-homing" if you have more than 1 NIC, and at least 1 of the NICs is configured to use a different default gateway than the others.
Is it really a requirement that a different default gateway be configured? What's it called when you have two NICs/Networks and one DG?