Network Configuration
-
I lagg but the system did not distribute the ip unfortunately?
-
@ahmetakkaya could you pls be a bit more specific around this statement?
-
@ahmetakkaya yeah you really have no control over if lagg will do any sort of share across the physical ports.. How many different IPs do you have talk to pfsense over that lagg?
"Traffic is balanced between all ports on the LAG, however, for communication between two single hosts it will only use one single port at a time because the client will only talk to one MAC address at a time. For multiple connections through multiple devices, this limitation effectively becomes irrelevant. The limitation is also not relevant for failover."
Lagg does not equal 1+1=2, it just means 2x1 - with little control over which 1 will be used for any specific communication. While you can get 2gig over the lagg, it will depend on how many different connections you have across the lagg. If its just 1 client talking to pfsense - it would really only ever use 1 of the physical interfaces. Unless 1 failed, then the other would be used, etc.
Lagg is better suited normally for say switch to switch uplink where you have lots of different devices talking to lots of other devices across the uplink, so that you will be able in aggregate be able to use both for traffic..
-
lagg, I don't understand the working logic
-
lagg = Link Aggregation
lagg will gain 2 basic things with many variables along the way.- faster provided there are many different connections
- redundancy, 1 port fails, the other port still works.
The variables make a huge difference in the outcome. To make lagg do what you want, you will need to clearly define what you want out of the lagg and configure it to meet those needs. Your picture is a start, but it does not clearly define the needs.
-
I combined two ethernet outputs with lagg.
I did the ip configuration, but the client did not receive ip from dhcp?
-
@ahmetakkaya
You have to create the corresponding port-channel (LACP) on your switch and then configure the port-channel as a trunk.But before we even get to all that, as @Ethereal already mentioned...do you even have a managed switch that supports VLANs?
-
@marvosa said in Network Configuration:
I am using a unifi 48 port poe switch
-
@ahmetakkaya Ok, that doesn't necessarily answer the question, but assuming the answer is yes... did you create the LACP port-channel and tag VLAN10 on it?
-
yes i created lagg and defined it as vlan 10
-
And what did you do for your client your wanting to get dhcp out of vlan 10?
The port the client is connected to would be untagged and in vlan 10.
yes i created lagg and defined it as vlan 10
This really didn't answer the question.. On the switch... You created the lacp on the 2 ports.. and allowed vlan 10 which is tagged over this connection.
-
@ahmetakkaya Then assuming you configured and enabled the DHCP server on PFsense and have your access ports configured for the correct untagged vlan, it should be working.
I'd start checking your DHCP logs and possibly start doing pcap's. Is the traffic making it to PFsense? If not, you'll need to double-check the switch config. The other question is... does vlan 10 have rules on it to allow outbound traffic?