I created a lagg0.
Now my question is there anything else I would need to do?
Do I need to config and setup sshd, apache web server, etc to use lagg0 interface?
The reason I ask this is because with this setup it sometimes works.
If I reboot the server sometimes it works flawlessly and at other times it
gives a routing table error.
I also have added a default gateway ip address in the rc.conf file. This was given by ISP.
So, first question is there anything else needed to be done and do I have to setup default gateway?
The next question is that I noticed lagg0 I can assign a single ip address. What if I want to have 2
ip addresses assigned to the server? would I have to make lagg1?
If this is the case do I have to make config changes to sshd,apache server etc?
The reason I ask I don't recall but I have seen in the past when installing the software
it defaulted to specify em0,em1 so when installing it seems to already specify to listen on those interfaces.
I assume I would have to modify the config to listen to lagg0 and lagg1 for the server to listen on those interfaces.
Thank you for your time in advance.
Code:
In rc.config I have
cloned_interfaces="lagg0"
ifconfig_em0= up
ifconfig_em1=up
ifconfig_lagg0= "laggproto lacp laggport em0 laggport em1 [IP] [netmask]
the [ip] [netmask] replace it with a public ip address and a netmask of 255.255.255.248
Do I need to config and setup sshd, apache web server, etc to use lagg0 interface?
The reason I ask this is because with this setup it sometimes works.
If I reboot the server sometimes it works flawlessly and at other times it
gives a routing table error.
I also have added a default gateway ip address in the rc.conf file. This was given by ISP.
So, first question is there anything else needed to be done and do I have to setup default gateway?
The next question is that I noticed lagg0 I can assign a single ip address. What if I want to have 2
ip addresses assigned to the server? would I have to make lagg1?
If this is the case do I have to make config changes to sshd,apache server etc?
The reason I ask I don't recall but I have seen in the past when installing the software
it defaulted to specify em0,em1 so when installing it seems to already specify to listen on those interfaces.
I assume I would have to modify the config to listen to lagg0 and lagg1 for the server to listen on those interfaces.
Thank you for your time in advance.