-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] IP's addressed via "Cloud" are unreachable from the local host providing the interface for the bridge #2216
Comments
Hmmm, maybe I maybe thinking of using the virbr0 interface to access internal to the project. I know I was never able to use the cloud for this a long time ago on Windows. |
Seems to work just fine if you use a bridge interface. GNS3 - 10.1.18.22/23 - br0 root@compute01:~# brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.2a4984899a1a no eno4.18
gns3tap0-13
gns3tap1-13
gns3tap2-13
gns3tap3-13
gns3tap4-13
root@compute01:~# ip address | grep ' br0:'
20: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
PC1> ping 10.1.18.22
84 bytes from 10.1.18.22 icmp_seq=1 ttl=64 time=0.679 ms
84 bytes from 10.1.18.22 icmp_seq=2 ttl=64 time=0.624 ms
PC1> show ip
NAME : PC1[1]
IP/MASK : 10.1.18.52/23
GATEWAY : 10.1.18.1
DNS : 8.8.8.8 8.8.4.4
DHCP SERVER : 10.1.18.1
DHCP LEASE : 345287, 345600/172800/302400
MAC : 00:50:79:66:68:00
LPORT : 20606
RHOST:PORT : 127.0.0.1:20607
MTU : 1500
PC1> |
for a noob like me, could you help me with how I could set up that kind of bridge? |
Well the ip command is just for setting values one time. It doesn't set it to work at boot up. https://wiki.archlinux.org/title/network_bridge See the "With NetworkManager" section. Do this on the console. If you get it wrong its going to kill your network access. You also may need to delete the old connection for the real interface. Once you do that just move the IP address to the bridge interface along with default route. If you get stuck show your interface configuration and route table. |
I set up a bridge as follows:set up the bridge:In
reset routes:
add dhcp client to bridge:you should not put one on
check so the routes are working well:use the command
here one can see that my traffic uses br0 to my local lan (192.168.88.0/24). I make a cloud in gn3 and connect it to "tap0" then my lan's dhcp server gives out addresses to my gns3 topology. QuestionThat is my setup, but is there an easier setup? I only want to be able to connect with winbox that runs in wine to my gns3-topology. I was thinking that winbox needs to be on the same lan as my gns3-topology so then I must connect my my gns3-topology to my lan and winbox communicate to my lan automatically since my linux machine is on my lan. |
GNS3 has a mikrotik winbox docker. |
Workaround for the problem: Pair of veth is created, then checksum making is disabled on veth.
Add veth02 to GNS3 "cloud" (press "show special devices" to see it), then connect a MikroTik to it. MikroTik will be able to communicate with host via Winbox or Dude. |
On Ubuntu and Manjaro I am seeing the following behavior:
This used to work from my recollection. Has something changed, or how can this be resolved?
The text was updated successfully, but these errors were encountered: