Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 21:14:11 -0500
From:      Brian Henning <henninb02@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   tap bridge for bhyve
Message-ID:  <CANEzxWDJpyUGO5ACZftHHfvT6qhVWFOHQF9UNW0khc8M4AUtgA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I am having trouble setting up a tap bridge for bhyve
I have referenced the instructions
https://www.freebsd.org/doc/handbook/network-bridging.html.
When i try go connect via my guest I get an IP address from my router
(192.168.1.1), but cannot connect externally (ping my router, 192.168.1.1)
from my guest OS. Below is my routing table and other details.

Please let me know if you have any thoughts?

Thanks!
bitexplorer


 # netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
default            192.168.1.1        UGS        alx0
127.0.0.1          link#2             UH          lo0
192.168.1.0/24     link#1             U          alx0
192.168.1.105      link#1             UHS         lo0
192.168.1.110      link#3             UHS         lo0


interfaces

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
        ether 02:fe:4a:c8:9c:00
        inet 192.168.1.110 netmask 0xffffff00 broadcast 192.168.1.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: tap1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 2000000
        member: alx0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 2000000



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