GNS3 / ubridge

Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces.
GNU General Public License v3.0
114 stars 46 forks source link

ubridge 0.9.16 (GNS 2.2.5) doesn't work with tap interfaces on OS X #66

Open taishibrown3 opened 4 years ago

taishibrown3 commented 4 years ago

ubridge 0.9.16 (GNS 2.2.5) doesn't work with tap interfaces on OS X

I am having a problem with the same issue as Issues # 55. Issues #55 did n’t give me a solution, Please check again. How can I connect?

image

Error while sending command 'bridge add_nio_tap 70f9e6d6-f9d5-4d20-8af9-24796f3b2054-9 "/ dev / tap0"': unable to create NIO TAP for bridge '70f9e6d6-f9d5-4d20-8af9-24796f3b2054-9': uBridge version 0.9 .16 running with libpcap version 1.8.1-Apple version 79.250.1 Hypervisor TCP control server started (IP localhost port 64869). UDP tunnel connecting from local port 10000 to IPv4 addresses 127.0.0.1 on port 10001 create_nio_tap: unable to open TAP device / dev / tap0 (No such file or directory)

Cannot modify a cloud that is already connected.

————————— My environment is as follows. ubridge 0.9.16 GNS 2.2.5 OS X: 10.14.5 Mojave —————————

The reproduction method is as follows.

================== 1.tuntap install brew cask install tuntap

2.GNS3 Setting GNS3 → Cloud → Configure → TAP interfaces

/ dev / tap0 add

3.Cabling

Cloud ———— cisco (Router)

==================

ZhiYiFang commented 3 years ago

Have solved this problem?I met the same problem with you.

NilashishC commented 3 years ago

I'm facing the same issue. I'm using GNS3 2.2.22 on MacOS Big Sur.

GMarciales commented 3 years ago

A suggestion for you guys would be to run everything on top of Linux. I do, and everything works smooth.

Screenshot from 2021-06-13 06-19-35

Screenshot from 2021-06-13 06-19-57

NilashishC commented 3 years ago

I also tried the same on a Fedora 32 and got the same error. I'm pretty sure I got this working on OS X sometime in 2019. I upgraded to 2.2.22 yesterday and it started failing.

Is there any other option to SSH from my local host to the GNS3 devices?

GMarciales commented 3 years ago

Hi,

I am running GNS3 2.2.21 on Fedora 34 and GNS3 2.2.22 on Ubuntu 20.04 LTS, and the TAP NICs work properly on both.

I am sharing the commands I use to start / create a TAP NIC on demand.

ip tuntap add tap0 mode tap ip link set dev tap0 up ip address add 192.168.1.1/30 dev tap0

Fedora-GUI-2021-06-13-17-09-33

Fedora-GUI-2021-06-13-17-10-20

Screenshot from 2021-06-13 17-11-02

grossmj commented 3 years ago

A suggestion for you guys would be to run everything on top of Linux. I do, and everything works smooth.

I will add that the next major version of GNS3 will require Linux (not for the user interface but for the server).

NilashishC commented 3 years ago

@grossmj FYI, All the appliances are running on a remote GNS3 server on top of Ubuntu 18.04. I'm just connecting to those from the OS X GNS3 client.

KB-perByte commented 3 years ago

The same issue exists in Fedora33 with Gns3 version 2.2.21, even tried upgrading 2.2.22.

GMarciales commented 3 years ago

A suggestion for you guys would be to run everything on top of Linux. I do, and everything works smooth.

I will add that the next major version of GNS3 will require Linux (not for the user interface but for the server).

Hi,

My point is to encourage people to run Linux on bare-metal. Personally speaking, I run on my two laptops, and I never have the kinds of struggles I see very often people unable to do many things. However, I am not saying Linux is better and /or BSD or Windows are worse and so. The thing is like to create a list of what are my needs as user, and what OS fits better to the user, and keeping in mind nothing is perfect.

On the other hand, GNS3 is the best framework I have used, and I have tested a few available on the market. Keep doing what you do, that you and you team are AWESOME.

Saludos