Pfsense LAGG/LACP to Cisco switch does not work.



  • After 3 hours of trying, I do need some help with my LAGG (LACP) configuration.
    Pfsense Version 2.3.5-RELEASE (internet is not connected atm.).

    There are 3 Gigabit Ports on my Pfsense (1 WAN, 2 LAGG).
    The Pfsense is always the first IP in every VLAN and the Cisco switch the second IP.

    I have no clue where the problem is, can't ping anything...

    Here are some Screenshot of my configuration.
    LAGG0
    0_1534599375623_pfsense-lagg0.PNG

    VLAN
    0_1534599464829_pfsense-vlan.PNG

    Interface every interface is configured like the following
    0_1534599524533_pfsense-interface.PNG

    Interfaces overview
    0_1534599547223_pfsense-interfaces.PNG

    Interfaces Dashboard
    0_1534600023522_pfsense-interfaces-dashboard.PNG

    Log while connecting cable
    0_1534600162345_pfsense-log-connecting.PNG

    Cisco Configuration
    0_1534599713661_cisco-vlan.PNG
    0_1534599755884_cisco-interface-ip.PNG
    0_1534599821977_cisco-port-vlan-membership.PNG
    0_1534599829754_cisco-lag-vlan-membership.PNG
    0_1534599860244_cisco-interface-settings.PNG
    2_1534599880748_cisco-lag-settings-connected.PNG
    1_1534599880748_cisco-lag-management.PNG
    0_1534599880748_cisco-interface-settings-lagg.PNG
    3_1534599880748_cisco-log-connecting.PNG


  • Rebel Alliance Global Moderator

    confused which device are you wanting to route between your vlans? You have all the vlans on pfsense, but then you have routing enabled on the sg250?

    If you want pfsense to route between the vlans, then the gateway for these vlans would be pfsense. If you want switch to route then the connection to pfsense would just be at transit and pfsense would not have interfaces in these downstream vlans.

    Why don't you draw up what you want to happen exactly.



  • you're right, i might have a routing problem but the ping between pfsense and switch should work anyway.

    I want the pfsense to handle all the traffic as the gateway.
    0_1534604342433_Network-overview.png


  • Rebel Alliance Global Moderator

    Then why do you have routing enabled on your switch? And to be honest why do you even have svi enabled on every vlan? If pfsense is going to be the router, then all your doing is layer 2 on your switch.. You just need 1 svi to admin it on - which should reside on your admin vlan, etc.

    What exactly do you think the laggs are going to get you to your nas for example? Are you that worried about port/interface failure? Do you have enough clients to require the 2 x 1 interfaces? Why do you have your nas in 2 vlans? Are you running vms on it or something you want in a different vlan?

    To be honest I would get your network working without lagg, your layer 2 setup your switch... Then once you have it all working you can move over to lagg if you really want it.



  • I already disabled the routing on the switch, that was a mistake and now only my management vlan has an static ip.
    There are a lot of copy jobs on the nas and external accesses, thats why i would like to have lagg and two vlans on it. For the vsphere server i dont necessarily need lagg.

    For now, this project is for my further education but goes live after its finished and i thought this setup might be usefull in the future. I know all depends on how we will use the infrastructure, it might be overkill.
    In the end i'm also intrested in getting this setup working to learn something. :)

    0_1534606277432_cisco-interface-ip-new.PNG

    I watched a tutorial where the guy added a separate interface just for lagg on the pfsense. Should that be my management network instead of my VLAN_20_MGT...? but it is not a vlan and also not on the switch, i dont get it.
    https://youtu.be/JxuYj5jw8y8?t=6m17s


  • Rebel Alliance Global Moderator

    on pfsense your management would be any IP on pfsense that you allow access to the webgui/ssh on. Can be anything you want - its normally on lan interface and this is where the idiot proof nonlock out rules are listed ;)

    As to your switch - what you call your admin vlan is up to you.. It could be vlan 1 (default untagged vlan) or any other vlan you want it to be on. Mine is on vlan 9 for example.

    As to lagg and logs of copy jobs? From where to where? From same client or lots of clients.. People really misunderstand how a lag works most of the time... It is not 1+1=2, its just 1 and 1.. Which if you have lots of sessions running to different mac address depending on the method used to determine which traffic goes over which physical path you can end up getting to 2 total, etc..

    Are you going to be using smb3 multichannel to copy the files with?

    So do you have it working now with single connections no lag and your vlans routing/firewalling between each other on pfsense?



  • The copy jobs will be between nas to vsphere and external. Probably it will be smb3, i did not decide yet.
    After removing the whole lagg config on pfsense and switch it works!

    I can work with that but i'm still interested why it did not work with lag...


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy