Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Rc.conf issue

    General pfSense Questions
    3
    7
    2200
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rocketscientist last edited by

      Hi,

      I am trying to make a bonded interface..

      lagg0

      however using the command line i can do this..

      ifconfig lagg0 up laggproto failover laggport em0 10.0.0.0 netmask 255.255.255.0

      but if i try to look for /etc/rc.conf i don't find it?

      i have gone through couple of posts in the forum and it seems the file is not there in pfsense T_T

      so what alternative could i use to just get my bonded interfaces up and edit it with some peace of mind?

      Thanks.

      Also i am aware its possible to do bonding/wan aggregation with zeroshell but i am not trying to do that..

      1 Reply Last reply Reply Quote 0
      • K
        kpa last edited by

        It's not there because pfSense is so much customized from the standard FreeBSD that it's not needed. If you have to use it, use /etc/rc.conf.local instead because /etc/rc.conf might get deleted on boot up if I remember correctly.

        1 Reply Last reply Reply Quote 0
        • R
          rocketscientist last edited by

          Thanks..

          so i just create /etc/rc.conf.local

          and add this right?

          cloned_interfaces="lagg0"
          ifconfig_em0="up"
          ifconfig_em1="up"
          ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 10.1.1.2 netmask 255.255.255.0"
          

          and reboot the box?

          1 Reply Last reply Reply Quote 0
          • K
            kpa last edited by

            That should work. However, doesn't PfSense already support creation of LAGG interfaces in the webgui? I don't have my test pfSense installation running at the moment but I do remember seeing option for that under the interfaces menu.

            1 Reply Last reply Reply Quote 0
            • R
              rocketscientist last edited by

              :o :o :o :o :o :o :o

              ;D ;D ;D ;D

              It already does it seems. Hahaha.. I have been trying to re-invent the wheel it seems..

              Most of the posts i read were about either multi-wan, fail-over, load-balance etc.. N the only question on the forum about WAN Aggregation.. someone asked the poor chap to use zeroshell lol -.- anyways gonna try this out. thanks

              1 Reply Last reply Reply Quote 0
              • R
                rocketscientist last edited by

                its bit difficult n annoying to do from the webui as.. pfsense starts after u define the wan and lan interfaces.. so once u define an interface you can't go in the LAGG tab and add the interfaces it seems (WAN em2 which is already added in  interfaces tab) .. guess this is the reason why many haven't tried it?

                as u can see i cannot remove the wan em4 interface? so how do i create a LAGG interface with em4 and em0 from webui? :|

                1 Reply Last reply Reply Quote 0
                • C
                  cmb last edited by

                  Nothing to do with rc.conf gets touched, you can't manually configure lagg or anything else in rc.conf (with or without .local).

                  WAN can't be deleted. If you want to use its NIC for something else, assign WAN to a different NIC. Or make up a non-existent VLAN if you don't have a spare NIC.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Products

                  • Platform Overview
                  • TNSR
                  • pfSense Plus
                  • Appliances

                  Services

                  • Training
                  • Professional Services

                  Support

                  • Subscription Plans
                  • Contact Support
                  • Product Lifecycle
                  • Documentation

                  News

                  • Media Coverage
                  • Press
                  • Events

                  Resources

                  • Blog
                  • FAQ
                  • Find a Partner
                  • Resource Library
                  • Security Information

                  Company

                  • About Us
                  • Careers
                  • Partners
                  • Contact Us
                  • Legal
                  Our Mission

                  We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                  Subscribe to our Newsletter

                  Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                  © 2021 Rubicon Communications, LLC | Privacy Policy