Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2019 18:56:39 -0700
From:      bsd.lists@h8spam.org
To:        FreeBSD NET <freebsd-net@freebsd.org>
Subject:   Difficulty using more than a 2 port NIC
Message-ID:  <7996a2e188386dff1d31f76621f5abae@h8spam.org>

next in thread | raw e-mail | index | archive | help
I lease 7 public addresses.
I'm running into a strange problem setting up a NIC
with more than 2 (public) addresses.
I initially did some research, and found an re(4) 2
port NIC that was well supported (RTL8169S).
The host (box) I'm attempting all this on manages 3
addresses. So I simply set it up as follows ( rc.conf(5) ):

hostname="sum.host-n.ame"
# re0
ifconfig_re0="inet AA.BB.CC.83 netmask 255.255.255.0"
# re1
ifconfig_re1="inet AA.BB.CC.82 netmask 255.255.255.0"
ifconfig_re1_alias0="inet AA.BB.CC.86 netmask 255.255.255.0"

defaultrouter="AA.BB.CC.1"
ifconfig_re0_ipv6="inet6 accept_rtadv"
ifconfig_re1_ipv6="inet6 accept_rtadv"

And all worked as intended.

HOWEVER, I wanted to have individual (NIC) ports for each
address assigned to this server. So some more research, and
I landed another realtek NIC with 4 ports (RTL8111G).
Replaced the 2 port with this new one. The NIC was recognized,
came up. But the network was hosed.
I used the following ( rc.conf(5) ):

hostname="sum.host-n.ame"
# re0
ifconfig_re0="inet AA.BB.CC.83 netmask 255.255.255.0"
# re1
ifconfig_re1="inet AA.BB.CC.82 netmask 255.255.255.0"
# re2
ifconfig_re2="inet AA.BB.CC.86 netmask 255.255.255.0"

defaultrouter="AA.BB.CC.1"
ifconfig_re0_ipv6="inet6 accept_rtadv"
ifconfig_re1_ipv6="inet6 accept_rtadv"
ifconfig_re2_ipv6="inet6 accept_rtadv"

Zero name resolution, and no other network services would work.
The only service that required changes, was the DNS. Which only
required adding the additional (listen on) stanza for the added
NIC port. But the only network activity that seemed to work at
all, was ping, and even then, only by IP address.

Any thoughts on what might be the problem?

Thank you for all your time, and consideration.

--Chris

OH not that it should really matter, but it's on an 11-STABLE box, 
destined for 12, or 13 CURRENT.
Assuming I can sort this out.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7996a2e188386dff1d31f76621f5abae>