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

    vlan interfaces does not came up

    L2/Switching/VLANs
    1
    1
    233
    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
      Rocco83
      last edited by

      Hi,

      Hope this is the right section, as this is VLAN related even if setup related (not routing).

      I have a SG-1000 with several VLANs, and the two NIC in teaming.
      I had a full disk issue (my fault) on the device.
      I have then copied back the configuration and -- to be sure -- restarted.
      The old config has been taken as by diff from the backup and the current configuration.

      Unfortunately now, when pfsense boot, i have UP only the lagg0 interface.
      Previously, all the VLANs were working (CARP etc).
      """
      cpsw0: link state changed to UP
      lagg0: IPv6 addresses on cpsw0 have been removed before adding it as a member to prevent IPv6 address scope violation.
      lagg0: link state changed to UP
      cpsw1: link state changed to UP
      lagg0: IPv6 addresses on cpsw1 have been removed before adding it as a member to prevent IPv6 address scope violation.
      vlan0: changing name to 'lagg0.7'
      vlan1: changing name to 'lagg0.9'
      vlan2: changing name to 'lagg0.10'
      vlan3: changing name to 'lagg0.11'
      vlan4: changing name to 'lagg0.12'
      vlan5: changing name to 'lagg0.13'
      vlan6: changing name to 'lagg0.8'
      lagg0: link state changed to DOWN
      lagg0.7: link state changed to DOWN
      lagg0.8: link state changed to DOWN
      lagg0.9: link state changed to DOWN
      lagg0.10: link state changed to DOWN
      lagg0.11: link state changed to DOWN
      lagg0.12: link state changed to DOWN
      lagg0.13: link state changed to DOWN
      lagg0: link state changed to UP
      cpsw0: promiscuous mode enabled
      cpsw1: promiscuous mode enabled
      lagg0: promiscuous mode enabled
      carp: 1@lagg0: INIT -> BACKUP (initialization complete)
      lagg0.11: promiscuous mode enabled
      carp: demoted by 240 to 240 (interface down)
      lagg0.12: promiscuous mode enabled
      carp: demoted by 240 to 480 (interface down)
      lagg0.10: promiscuous mode enabled
      carp: demoted by 240 to 720 (interface down)
      lagg0.9: promiscuous mode enabled
      carp: demoted by 240 to 960 (interface down)
      lagg0.7: promiscuous mode enabled
      carp: demoted by 240 to 1200 (interface down)
      carp: 7@lagg0: INIT -> BACKUP (initialization complete)
      pflog0: promiscuous mode enabled
      carp: 7@lagg0: BACKUP -> MASTER (master timed out)
      carp: 7@lagg0: MASTER -> BACKUP (more frequent advertisement received)
      ifa_maintain_loopback_route: deletion failed for interface lagg0: 3
      """

      All interfaces from ifconfig are anyway logically UP.

      ifconfig lagg0

      lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1492
      options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
      ether c8:df:84:c1:16:37
      inet6 fe80::cadf:84ff:fec1:1637%lagg0 prefixlen 64 scopeid 0x7
      inet 172.16.8.242 netmask 0xffffff00 broadcast 172.16.8.255
      inet 172.16.8.240 netmask 0xffffffff broadcast 172.16.8.240 vhid 1
      inet 172.16.8.251 netmask 0xffffffff broadcast 172.16.8.251 vhid 7
      laggproto lacp lagghash l2,l3,l4
      laggport: cpsw0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
      laggport: cpsw1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
      groups: lagg
      carp: BACKUP vhid 1 advbase 7 advskew 101
      carp: BACKUP vhid 7 advbase 1 advskew 100
      media: Ethernet autoselect
      status: active
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

      ifconfig lagg0.8

      lagg0.8: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
      options=80000<LINKSTATE>
      ether c8:df:84:c1:16:37
      inet6 fe80::cadf:84ff:fec1:1637%lagg0.8 prefixlen 64 tentative scopeid 0xe
      inet 172.16.78.242 netmask 0xffffff00 broadcast 172.16.78.255
      groups: vlan
      vlan: 0 vlanpcp: 0 parent interface: <none>
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

      route get 172.16.78.241

      route to: 172.16.78.241
      destination: 172.16.78.0
      mask: 255.255.255.0
      fib: 0
      interface: lagg0.8
      flags: <UP,DONE,PINNED>
      recvpipe sendpipe ssthresh rtt,msec mtu weight expire
      0 0 0 0 1500 1 0

      ifconfig lagg0.7

      lagg0.7: flags=8903<UP,BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
      options=80000<LINKSTATE>
      ether c8:df:84:c1:16:37
      inet6 fe80::cadf:84ff:fec1:1637%lagg0.7 prefixlen 64 tentative scopeid 0x8
      inet 172.16.77.242 netmask 0xffffff00 broadcast 172.16.77.255
      inet 172.16.77.240 netmask 0xffffffff broadcast 172.16.77.240 vhid 6
      groups: vlan
      carp: INIT vhid 6 advbase 1 advskew 100
      vlan: 0 vlanpcp: 0 parent interface: <none>
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

      Unfortunately , i'm now quite stuck.
      No further ideas to debug it.

      Thank you very much,
      Daniele

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