No outbound connections on 2nd NIC

tdhffg

Cadet
Joined
Apr 6, 2021
Messages
6
I have 2 NICs in my freenas 11.3U4.1 machine and they both seem to work (I can connect to the server and smb over either), the only issue I am having is that I cannot make outbound connections from the second NIC even though it can receive connections (FREENAS cant ping the sole machine on the second nic but that machine can ping and connect to FREENAS without issue)

ifconfig output
Code:
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: eth0
        options=80099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether d4:ae:52:d1:c2:62
        hwaddr d4:ae:52:d1:c2:62
        inet6 fe80::d6ae:52ff:fed1:c262%bge0 prefixlen 64 scopeid 0x1
        inet6 2601:246:4e00:72b0:d6ae:52ff:fed1:c262 prefixlen 64 autoconf
        inet 10.0.0.115 netmask 0xffffff00 broadcast 10.0.0.255
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
mlxen0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=ed07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:02:c9:57:d7:10
        hwaddr 00:02:c9:57:d7:10
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (10Gbase-CX4 <full-duplex,rxpause,txpause>)
        status: active
-----
<omitted irrelevant things such as VNETS, nonconnected NIC ports etc.)>
----



netstat IPv4 output:
Code:
Internet:
Destination        Gateway            Flags     Netif Expire
default            10.0.0.1           UGS        bge0
10.0.0.0/24        link#1             U          bge0
10.0.0.115         link#1             UHS         lo0
127.0.0.1          lo0                UHS         lo0
172.16.0.0/30      link#8             U      vnet0.11
172.16.0.1         link#8             UHS         lo0
192.168.2.0/24     link#3             U        mlxen0
192.168.2.1        link#3             UHS         lo0



I can ping things on the 10.0.0.0/24 subnet but not on the 192.168.2.0/24 subnet,
 
Top