Giter Site home page Giter Site logo

Comments (10)

jarias avatar jarias commented on September 22, 2024

Also if I use a tap device using virtio-tap instead of virtio-net It works fine but I don't want to do the dance of opening the tap device assigning an IP to it, then assign an IP to the eth0 device in the VM etc, etc.

from boot2docker-xhyve.

ailispaw avatar ailispaw commented on September 22, 2024

It looks like an issue or behavior of vmnet.framework which xhyve uses for virtio-net.
It happens not only on boot2docker, but also rancheros-lite with xhyve.
I think you had better to open an issue at https://github.com/mist64/xhyve.
Thanks.

from boot2docker-xhyve.

jarias avatar jarias commented on September 22, 2024

Thanks, I wish we can move tickets easily between projects 😄

from boot2docker-xhyve.

jarias avatar jarias commented on September 22, 2024

Here is the xhyve ticket in case you want to track its progress

machyve/xhyve#42

from boot2docker-xhyve.

ailispaw avatar ailispaw commented on September 22, 2024

@jarias Thanks for your understanding and using boot2docker-xhtve BTW.

from boot2docker-xhyve.

ailispaw avatar ailispaw commented on September 22, 2024

I found something. vmnet uses pf. I gues that pfctl may be a tool to solve this isuue.

from boot2docker-xhyve.

jarias avatar jarias commented on September 22, 2024

I check to see if there where any special rules vmnet creates but couldn't found any, I'll keep researching. Thanks for the info

from boot2docker-xhyve.

ailispaw avatar ailispaw commented on September 22, 2024

I got this.

$ sudo route -n add 172.17.0.0/16 192.168.64.3
add net 172.17.0.0: gateway 192.168.64.3
$ ifconfig bridge100
bridge100: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=3<RXCSUM,TXCSUM>
    ether 62:c5:47:d0:6b:64
    inet 192.168.64.1 netmask 0xffffff00 broadcast 192.168.64.255
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x2
    member: en4 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 10 priority 0 path cost 0
    Address cache:
        16:c1:b5:29:cf:32 Vlan1 en4 1187 flags=0<>
    nd6 options=1<PERFORMNUD>
    media: autoselect
    status: active
$ sudo ifconfig bridge100 -hostfilter en4
$ ping 172.17.0.1
PING 172.17.0.1 (172.17.0.1): 56 data bytes
64 bytes from 172.17.0.1: icmp_seq=0 ttl=63 time=0.395 ms

It works!

from boot2docker-xhyve.

jarias avatar jarias commented on September 22, 2024

👍 Cool thanks

from boot2docker-xhyve.

VGerris avatar VGerris commented on September 22, 2024

can anyone please post the comment or action on how to have the bridge show up? thank you

from boot2docker-xhyve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.