How can i make the NLB address as the default address that outbound packets are sent from ?


how can make nlb address default address outbound packets sent ?

the case this.

i made nlb of 2 nodes. both nodes connected external switch ( before router , , pcs connected can have internet ip address ).  , external switch connected dmz port.
due have few internet ip addresses , set 2 servers dmz addresses ( 192.168.254.* ), , set address nlb internet address.  , added 2 gateway addresses on nic, first internal ip, , second external ip. , seems ok moment  , sometime later , internet users cannot visit applications on servers successfully.

e.g. internet user can 
telnet <nlb external ip address> 25
 

connected smtp port, no welcome msg shows up.
think it's because half connected state.  
internet users can connect nlb servers , servers don't know gateway go, windows choose right 1 ( external ip gateway ) , othertimes windows choose internal gateway.
when windows choose wrong gateway, servers respond internet user's request  through internal gateway , not external gateway ( through request comes in ).

i thought if set 1 gateway ( i.e. external  ), , tried.
in case, internet users can visit servers , servers cannot go out internet.
 

if ping internet  on servers,
windows choose internal address "sent-from" address, cannot send packets external gateway.

how can make windows sending packets nic address ?

 


mysignature

having 2 gateways not correct practice followed. should have 1 gateway on 1 machine in tcp/ip properties of nic. if have more 1 nic & want have gateway communication purposes, have add static route entry added machine.

to add static route, need run command :

route add destination mask subnetmask gateway

e.g. route add 10.11.0.0 mask 255.255.252.0 192.168.1.1 -p

here 10.11.0.0 subnet ip range nic 1 & 255.255.252.0 subnet mask nic 1 & 192.168.1.1 default gateway nic2.

regards,

shweta

shweta katke

support engineer | microsoft enterprise platform support - networking |


shweta - msft



Windows Server  >  Platform Networking



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client