Hi,
Does an IP address have to bound to a NIC for apache virtualhosts? I.E. if a /24 is routed to your port on a switch, and from the switch to your NIC.
Lets say for the purpose of understanding, your Server is given 192.168.20.1/24. And further you are going to use 192.168.20.50-100 for web sites. Would an alias have to be made (presuming your NIC is igb0) for each IP in /etc/start_if.igb0 as:
Or do you not add the IP's to /etc/start_if.igb0?
Depending if the answer is no, not for apache conf's, then when must the IP(s) be bound to a NIC?
Does an IP address have to bound to a NIC for apache virtualhosts? I.E. if a /24 is routed to your port on a switch, and from the switch to your NIC.
Lets say for the purpose of understanding, your Server is given 192.168.20.1/24. And further you are going to use 192.168.20.50-100 for web sites. Would an alias have to be made (presuming your NIC is igb0) for each IP in /etc/start_if.igb0 as:
Code:
ifconfig_igb0_alias0="inet 192.168.20.50 netmask 255.255.255.255" #site 1
.
.
.
ifconfig_igb0_alias50="inet 192.168.20.100 netmask 255.255.255.255" site 50
Or do you not add the IP's to /etc/start_if.igb0?
Depending if the answer is no, not for apache conf's, then when must the IP(s) be bound to a NIC?