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

    Routing layer 2 {solved}

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 1 Posters 2.2k Views
    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.
    • J
      Jonb
      last edited by

      PFsense LAN –- LAN (192.168.16.1)
                 OPT2 --- (Bridged with Lan) --LAYER2--  OPT1 VLAN 256 (192.168.16.9) -- Pfsense 2  LAN
                                                                                                                          OPT2 Vlan 20 -10.0.20.2 --- 10.0.17.0

      I am having an issue we by I keep loosing comms to the pfsense 2 opt2 from pfsense 1 LAN.

      I have put in static routes but suddenly traffic just stops flowing in 1 direction.
      Untitled.jpg
      Untitled.jpg_thumb

      Hosted desktops and servers with support without complication.
      www.blueskysystems.co.uk

      1 Reply Last reply Reply Quote 0
      • J
        Jonb
        last edited by

        I believe I have found the issue it is when the interface renews the IP. I don't get why this bridged interface is renewing the ip.

        Nov 20 17:58:39 php: : rc.newwanip working with (IP address: 192.168.16.70) (interface: opt2) (interface real: bce0).
        Nov 20 17:58:39 php: : Informational: rc.newwanip is starting bce0.
        Nov 20 17:58:39 check_reload_status: rc.newwanip starting

        <interfaces>- <lan><if>bce1</if>
          <ipaddr>192.168.16.1</ipaddr>
          <subnet>24</subnet>
          <media><mediaopt><bandwidth>100</bandwidth>
          <bandwidthtype>Mb</bandwidthtype></mediaopt></media></lan>

        • <opt2><descr>HOPTPLINK</descr>
            <if>bce0</if>
            <bridge>lan</bridge>
            <ipaddr>dhcp</ipaddr>
            <subnet>32</subnet>
            <gateway><spoofmac><mtu><enable><disableftpproxy><dhcphostname></dhcphostname></disableftpproxy></enable></mtu></spoofmac></gateway></opt2></interfaces>

        Hosted desktops and servers with support without complication.
        www.blueskysystems.co.uk

        1 Reply Last reply Reply Quote 0
        • J
          Jonb
          last edited by

          Right I have spent a fair few hours working on this and I have understood what is happening but not sure how to fix. I have the LAN interface then I have bridged OPT2. The thing is OPT2 is getting a DHCP address from my server when from what I understand it shouldn't be.

          Can anyone confirm if this is right or not.

          I have also noticed that every reload wipes out the static routes.

          I am running v1.2.3

          Hosted desktops and servers with support without complication.
          www.blueskysystems.co.uk

          1 Reply Last reply Reply Quote 0
          • J
            Jonb
            last edited by

            Does any one know how to get a static route to work for another gateway on the same LAN. Would it be worth installing OSPF and running that.

            Hosted desktops and servers with support without complication.
            www.blueskysystems.co.uk

            1 Reply Last reply Reply Quote 0
            • J
              Jonb
              last edited by

              Sorted with update to v2.0

              Hosted desktops and servers with support without complication.
              www.blueskysystems.co.uk

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.