i have a server running debian with 2 ip address :
eth3 44.44.44.1
eth3:0 44.44.44.2
the problem is my outband request goes with second ip address "44.44.44.2"
how can i force OS to use primary ip address ?
i have a server running debian with 2 ip address :
eth3 44.44.44.1
eth3:0 44.44.44.2
the problem is my outband request goes with second ip address "44.44.44.2"
how can i force OS to use primary ip address ?
You don't say how your interfaces are configured so all I'll do here is point you at the relevant documentation and advise that you try to reconfigure the IP addresses assigned to each interface.
If that doesn't work, or you're not able to make the changes then you will have to move to the application level to attempt this. Once again the documentation is your friend. For example the wget manual has this relevant information
--bind-address=ADDRESS
When making client TCP/IP connections, bind to ADDRESS on the local machine. ADDRESS may be specified as a hostname or IP address. This option can be useful if your machine is bound to multiple IPs.
Other application are left as an excercise for the reader.
Original non mind reading answer:
Inbound connections are normally made after referencing the DNS to obtain the IP address to make the inbound connection to. If connections are being made to the wrong IP address you will need to update the DNS appropriately.