what name to which network port?



  • We have just purchased a Netgate XG-7100 1U. Besides IX0 and IX1 which we don't use, there are 8 network ports from ETH1 to Eth8 in XG-7100 1U.
    When I install pfsense, pfSense can find:

    WAN (wan) -> lagg0.4090 ->
    LAN (lan) -> lagg0.4091 -> v4: 10.0.1.254/24
    OPT1 (opt1) -> ix0 ->
    OPT2 (opt2) -> ix1 ->

    The output of ifconfig is:
    [2.4.4-RELEASE][root@gw.millenniuminsurance.ca]/root: ifconfig | more
    ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:d6:61
    hwaddr 00:08:a2:0e:d6:61
    inet6 fe80::208:a2ff:fe0e:d661%ix0 prefixlen 64 scopeid 0x1
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect
    status: no carrier
    ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:d6:62
    hwaddr 00:08:a2:0e:d6:62
    inet6 fe80::208:a2ff:fe0e:d662%ix1 prefixlen 64 scopeid 0x2
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect
    status: no carrier
    ix2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=e500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:d6:63
    hwaddr 00:08:a2:0e:d6:63
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect (2500Base-KX <full-duplex,rxpause,txpause>)
    status: active
    ix3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=e500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:d6:63
    hwaddr 00:08:a2:0e:d6:64
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect (2500Base-KX <full-duplex,rxpause,txpause>)
    status: active
    enc0: flags=0<> metric 0 mtu 1536
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    groups: enc
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x10
    inet 127.0.0.1 netmask 0xff000000
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    groups: lo
    pflog0: flags=100<PROMISC> metric 0 mtu 33160
    groups: pflog
    pfsync0: flags=0<> metric 0 mtu 1500
    groups: pfsync
    syncpeer: 224.0.0.240 maxupd: 128 defer: on
    syncok: 1
    lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=e500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:d6:63
    inet6 fe80::208:a2ff:fe0e:d663%lagg0 prefixlen 64 scopeid 0x13
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect
    status: active
    groups: lagg
    laggproto loadbalance lagghash l2,l3,l4
    laggport: ix2 flags=4<ACTIVE>
    laggport: ix3 flags=4<ACTIVE>
    lagg0.4090: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:d6:63
    inet6 fe80::208:a2ff:fe0e:d663%lagg0.4090 prefixlen 64 scopeid 0x14
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet autoselect
    status: active
    vlan: 4090 vlanpcp: 0 parent interface: lagg0
    groups: vlan
    lagg0.4091: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:d6:63
    inet6 fe80::208:a2ff:fe0e:d663%lagg0.4091 prefixlen 64 scopeid 0x15
    inet 10.0.1.254 netmask 0xffffff00 broadcast 10.0.1.255
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect
    status: active
    vlan: 4091 vlanpcp: 0 parent interface: lagg0
    groups: vlan

    My question is: How can I know which ports (ix0, ix1, lagg0.4090, etc) in pfSense are corresponding to which ports in XG-7100 (Eth1, eth2 , etc)?
    How can I find devices in pfSense that are corresponding to ETH1 to ETH8 in XG-7100?



  • You installed pfSense and you did not see how to select WAN and LAN ???
    Anyway ...
    Using the most important access, the console / SSH access.
    Login - on menu, go option 8.

    Now, plug in a live RJ45.
    You'll see a LINK-UP announcement on the login screen.
    Rip it out and you see a LINK DOWN message.
    With the port driver name like em0 or ix1.


  • Netgate Administrator

    The Eth ports on the XG-7100 are connected via the internal switch. You can configure them however you wish but by default Eth1 is WAN (lagg0.4090) and Eth2-Eth8 are LAN (lagg0.4091).
    See: https://docs.netgate.com/pfsense/en/latest/solutions/xg-7100-1u/switch-overview.html

    You can also use the etherswitchcfg command to see the current switch config from the command line.

    Steve


Log in to reply