Network woes

D'Arcy Cain darcy at druid.net
Thu Oct 29 11:02:34 UTC 2020


NOTE: Was "Bridge woes"

On 10/25/20 1:32 PM, D'Arcy Cain wrote:
> I have been trying to solve this problem for a week now.  I have been 
> emailing the virtualization list (Re: When is a switch not a switch?) 
> because it had to do with vm-bhyve but now I am wondering if it is something 
> else.  Maybe some of the network experts here can help.

Turns out it has nothing to do with virtualization.  It never occurred to me 
to test that the host could access the Internet since I had no problem 
connecting and logging in.  However, everything I described for the VM 
applies to the host as well.  Here is my current setup.

In rc.conf I have this:
   hostname="vm01.vex.net"
   me=41 # last octet of IP in hex

I then include a common rc.conf that includes this:
   set -- $(/sbin/ifconfig -l ether); eth0=$1 eth1=$2
   eval "ifconfig_${eth0}_name=\"eth0\""
   eval "ifconfig_${eth1}_name=\"eth1\""
   ifconfig_eth0="inet 0x629e8b${me}/27 up"
   ifconfig_eth1="inet 0xc0a897${me}/24 up"
   ifconfig_eth0_ipv6="inet6 2605:2600:1001::${me}/64 up"
   ifconfig_eth1_ipv6="inet6 fc00:97:97::${me}/64 up"
   defaultrouter="98.158.139.94"
   ipv6_defaultrouter=2605:2600:1001::1

So I can now connect, by IP address, to 98.158.139.77 but to no other server 
on my network.  They all have no trouble connecting to this host.  No other 
server in my network has this problem.

Here is eth0 which started out as bge0:
bge0: <HP Ethernet 1Gb 4-port 331i Adapter, ASIC rev. 0x5719001> mem 
0x92b90000-0x92b9ffff,0x92ba0000-0x92baffff,0x92bb0000-0x92bbffff
at device 0.0 numa-domain 0 on pci15
bge0: APE FW version: NCSI v1.3.7.0
bge0: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E
eth0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=80088<VLAN_MTU,VLAN_HWCSUM,LINKSTATE>
         ether 14:02:ec:31:60:d0
         inet 98.158.139.65 netmask 0xffffffe0 broadcast 98.158.139.95
         inet6 fe80::1602:ecff:fe31:60d0%eth0 prefixlen 64 scopeid 0x1
         inet6 2605:2600:1001::41 prefixlen 64
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

And here is one that works fine:
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x004201> 
mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci4
bge0: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E
eth0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
         ether 00:21:9b:fc:d4:8b
         inet 98.158.139.92 netmask 0xffffffe0 broadcast 98.158.139.95
         inet6 fe80::221:9bff:fefc:d48b%eth0 prefixlen 64 scopeid 0x1
         inet6 2605:2600:1001::5c prefixlen 64
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Surprisingly, although I have other HPs, this is the only one that has a 
network card labelled HP.    Could it be that HP needs something special in 
the network setup?
 
 

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 788 2246     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: darcy at VybeNetworks.com, VoIP: sip:darcy at druid.net

Disclaimer: By sending an email to ANY of my addresses you
are agreeing that:

1.  I am by definition, "the intended recipient".
2.  All information in the email is mine to do with as I see
     fit and make such financial profit, political mileage, or
     good joke as it lends itself to. In particular, I may quote
     it where I please.
3.  I may take the contents as representing the views of
     your company if I so wish.
4.  This overrides any disclaimer or statement of
     confidentiality that may be included or implied in
     your message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20201029/8ecfe399/attachment.sig>


More information about the freebsd-net mailing list