From nobody Thu Jun 13 02:28:38 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W05v041Lzz5M3lM for ; Thu, 13 Jun 2024 02:28:44 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W05ty6vVvz41xR for ; Thu, 13 Jun 2024 02:28:42 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Wgl19tK0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::12c as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-3759a6423a6so2515795ab.1 for ; Wed, 12 Jun 2024 19:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718245721; x=1718850521; darn=freebsd.org; h=subject:to:content-language:user-agent:mime-version:date:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=CMwsKwKX2wKrWQIC32B15DeTzfv6r6TQNFssRm7pX6A=; b=Wgl19tK0ZA6YmqwsUbrw9vjn9z0JzBfdZR3zerevC2f4X1rbFiDQqLAGEKepTkFOVX GiCsilwA5Iw6Dpngk6Fy1xo4MBuhuseJDUDQpmSlbJ03ax/E8gUgxDBH6HD95kVnyBl1 +fkDSUNtSdN9Zv4LkIG1M5UskHMpVFt0/08wRaEX3w0Gp5nmxC5J6SLbuau8tG7hWgMC 9lGunojcE0ZzkmKdTqYD8SMahkwPlVZnA8Xg1l9h/62QSCReOKnuyZcCYzcQXcoRU3W6 nnauViZ4xWHP5iCmD7LhYgSANoYmzMMkbTlQhQIpK6ic2UI1J+K4b0Ij+CptejqyKCx7 KlxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718245721; x=1718850521; h=subject:to:content-language:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CMwsKwKX2wKrWQIC32B15DeTzfv6r6TQNFssRm7pX6A=; b=jkp8+RnJ606vzeCw1vtZHZn819qGf+82tdASOQgBna3D3SH8yoBeO8zk9L8pNac7Sl K+rOUZuInnzpwyZwcyJxIfzA8VYLj+9cmlUkklQ074s9HsQ2G9H9qdOgimQdhCyiEhZn uiy9Ue4YBjKlvEZhZKERFs0XcVAvffBXeb8YLByDjwFGcoqxnYh01sykSm1w+vmDNfec stR+YsUfD2gnLu50vovGhbiGwsoga6XghP6bAeogok7HBSkNA2eX952yDoeug+udv2rk 7TsSUlWHEzyBB8eWLeFwAJgGL5rznHnNHOl0JL8KYnIZfcszij41HvARTwLFnOG6j/eg 8m1A== X-Gm-Message-State: AOJu0YzfjiN6fjq46Iv6E1iz6D9OTdXrhGVOR8FOoeAggJkpmU+XxZhA R9KebKLZZpxsilZ3ClIm7Lo0sR5GwGMklTwgY7+98dzmD3Gm6xKqzDV0rA== X-Google-Smtp-Source: AGHT+IGXuk9rYr/CXQtzhEs47YVi0sva19ymAbFvjsIcfaDuzwo1DDecR2SIKe7rz9VlFjx9EdZxFQ== X-Received: by 2002:a05:6e02:1c8a:b0:374:8e4e:86c6 with SMTP id e9e14a558f8ab-375cd14f8e3mr42005115ab.4.1718245720394; Wed, 12 Jun 2024 19:28:40 -0700 (PDT) Received: from ?IPV6:2600:1015:a030:8fa9:179f:9841:ecd4:5ec4? ([2600:1015:a030:8fa9:179f:9841:ecd4:5ec4]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9569ef5f1sm105732173.114.2024.06.12.19.28.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jun 2024 19:28:39 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Content-Type: multipart/alternative; boundary="------------3pAl5AyPsEXuq9IBAz2PqH6P" Message-ID: Date: Wed, 12 Jun 2024 22:28:38 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Questions Subject: Configuring lagg for fallback mode X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12c:from] X-Rspamd-Queue-Id: 4W05ty6vVvz41xR This is a multi-part message in MIME format. --------------3pAl5AyPsEXuq9IBAz2PqH6P Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I'm referencing the Handbook, Example 39. Failover Mode I have two realtek ethernets. re0 is 1G on motherboard, re1 is 2.5G on pcie card. Here's my /etc/rc.conf.local: ifconfig_re0="up ether 78:2d:7e:1e:35:c4" ifconfig_re1="DHCP" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport re1 laggport re0" Here's output of ifconfig: re0: flags=1008843 metric 0 mtu 1500        options=60251b        ether 78:2d:7e:1e:35:c4        hwaddr 00:68:eb:cc:7b:5b        media: Ethernet autoselect (1000baseT )        status: active        nd6 options=29 re1: flags=1008843 metric 0 mtu 1500        options=60251b        ether 78:2d:7e:1e:35:c4        inet 192.168.1.57 netmask 0xffffff00 broadcast 192.168.1.255        media: Ethernet autoselect (2500Base-T )        status: active        nd6 options=29 lo0: flags=1008049 metric 0 mtu 16384        options=680003        inet 127.0.0.1 netmask 0xff000000        inet6 ::1 prefixlen 128        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3        groups: lo        nd6 options=21 lagg0: flags=1008843 metric 0 mtu 1500        options=60251b        ether 78:2d:7e:1e:35:c4        hwaddr 00:00:00:00:00:00        laggproto failover lagghash l2,l3,l4        laggport: re0 flags=0<>        laggport: re1 flags=5        groups: lagg        media: Ethernet autoselect        status: active        nd6 options=29 The network is not up.  What did I do wrong?  re1 got an address from DHCP...  re0 and lagg0 have cloned re1's MAC address... --------------3pAl5AyPsEXuq9IBAz2PqH6P Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

I'm referencing the Handbook, Example 39. Failover Mode

I have two realtek ethernets.

re0 is 1G on motherboard, re1 is 2.5G on pcie card.

Here's my /etc/rc.conf.local:

ifconfig_re0="up ether 78:2d:7e:1e:35:c4"
ifconfig_re1="DHCP"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport re1 laggport re0"

Here's output of ifconfig:

re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
       options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
       ether 78:2d:7e:1e:35:c4
       hwaddr 00:68:eb:cc:7b:5b
       media: Ethernet autoselect (1000baseT <full-duplex>)
       status: active
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
re1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
       options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
       ether 78:2d:7e:1e:35:c4
       inet 192.168.1.57 netmask 0xffffff00 broadcast 192.168.1.255
       media: Ethernet autoselect (2500Base-T <full-duplex>)
       status: active
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
       options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
       groups: lo
       nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
       options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
       ether 78:2d:7e:1e:35:c4
       hwaddr 00:00:00:00:00:00
       laggproto failover lagghash l2,l3,l4
       laggport: re0 flags=0<>
       laggport: re1 flags=5<MASTER,ACTIVE>
       groups: lagg
       media: Ethernet autoselect
       status: active
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


The network is not up.  What did I do wrong?  re1 got an address from DHCP...  re0 and lagg0 have cloned re1's MAC address...

--------------3pAl5AyPsEXuq9IBAz2PqH6P--