A question was posed recently in discussions and I was wondering if I can bind a host alias to a secondary address on a NIC card?
In short they want to have each project assigned an IP address but in reality it's just one specific NIC card - I don't see any reason it can't be done... any thoughts? Also as a secondary question I assume that the multiple host alias to IP addresses/port combinations can be initialized against the same NIC card?
mmatamoros 2700025KGF60 Posts
Re: host alias' and secondary addresses2010-04-28T21:08:02ZThis is the accepted answer. This is the accepted answer.The are to parts to you question:
- Host aliases are system wide setting, meaning that all and any service can use them and are not bound to any IP / interface on the appliance.
- If you want to route a specific host alias (actually it's IP) through one IP (interface) what you need to do is to set static routes on the interface menu. just set the mask of the ip to x.x.x.x/32 so that the only that ip is routed (you can use other masks to route whole network segments)to where you want it but this is directly related to you network addressing.
Hope this helps
swlinn 100000E7QE1396 Posts
Re: host alias' and secondary addresses2010-04-29T18:02:12ZThis is the accepted answer. This is the accepted answer.I do exactly this. In addition to the primary IP for the eth0 interface,additional IPs have been assigned which I have configured as secondary IPs for eth0. There is a host alias for each IP, and different domains on the appliance have the same application deployed. The FSH's local addresses specify a host alias that has been assigned to that domain, so there are no port conflicts.
SystemAdmin 110000D4XK6772 Posts
Re: host alias' and secondary addresses2012-12-07T00:03:38ZThis is the accepted answer. This is the accepted answer.
- swlinn 100000E7QE
Does the traffic that comes in on the secondary IP leave on that secondary IP and not the actual physical NIC IP that the secondary IP resides on? Considering Destination Routing is disabled and Interface Isolation is set accordingly?