Can´t connect my Lab to "External World"
Moderator: mike
-
- Posts: 3
- Joined: Wed Apr 12, 2017 6:15 pm
Can´t connect my Lab to "External World"
hello Guys,
Before anything else i would like to say that EVE-NG is a real piece of art, and that i would like to thank you and everyone else helping us understand how to work with this awesome resource!!
Well, i have seen the video on youtube(#UNL HowTo - ESXi external VMs clouds and Internet) and tried to replicate that on Vmware Workstation 12, well, i have done a pretty simple scenario for the purpose of learning to to connect to the Internet, my Personal computer and the host itself from the LAB and vice-versa, the scenario is as follows:
1 - Created a Vyos(1.1.7) Node with 2 interfaces
2 - Configured it with an IP address on the same range that the NAT adapter from Workstation is.
3 - Created a New network with the Type "Bridge"
4 - Connected Vyos on the New Network
5 - Tried to ping from the host computer and i have no success...tried to ping the host from Vyos and no succes...
6 - What am i doing wrong here?
P.S - If i try the same setup on a Cisco router the result i s that i still wont access the external world .(both ints confiigured)
Any Ideas people??
Before anything else i would like to say that EVE-NG is a real piece of art, and that i would like to thank you and everyone else helping us understand how to work with this awesome resource!!
Well, i have seen the video on youtube(#UNL HowTo - ESXi external VMs clouds and Internet) and tried to replicate that on Vmware Workstation 12, well, i have done a pretty simple scenario for the purpose of learning to to connect to the Internet, my Personal computer and the host itself from the LAB and vice-versa, the scenario is as follows:
1 - Created a Vyos(1.1.7) Node with 2 interfaces
2 - Configured it with an IP address on the same range that the NAT adapter from Workstation is.
3 - Created a New network with the Type "Bridge"
4 - Connected Vyos on the New Network
5 - Tried to ping from the host computer and i have no success...tried to ping the host from Vyos and no succes...
6 - What am i doing wrong here?
P.S - If i try the same setup on a Cisco router the result i s that i still wont access the external world .(both ints confiigured)
Any Ideas people??
-
- Posts: 5176
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Can´t connect my Lab to "External World"
I Still didnt create video still about clouds.
And this lookst that make confusion.
But looking at your explanation problem is bridge network!! It is not right to use it here.
You have to use Cloud0 interface if want get connection to NAT subnet.
Bridge network is used only for connection of 3 or more nodes in same vswitch!
Our bridge is like smart vswitch supporting dot1q and STP.
Real world is Cloud interfaces only.
Your case Cloud0 is right choice to connect your Vyatta to real net`
UD
And this lookst that make confusion.
But looking at your explanation problem is bridge network!! It is not right to use it here.
You have to use Cloud0 interface if want get connection to NAT subnet.
Bridge network is used only for connection of 3 or more nodes in same vswitch!
Our bridge is like smart vswitch supporting dot1q and STP.
Real world is Cloud interfaces only.
Your case Cloud0 is right choice to connect your Vyatta to real net`
UD
-
- Posts: 3
- Joined: Wed Apr 12, 2017 6:15 pm
Re: Can´t connect my Lab to "External World"
Thank you very much for your reply, i forgot to mention that the vm that i created had only one network card and i added a new one afterwards.
Does Eve connect the cloud0 to the second interface automatically or it is going to be connected to the first interface??(vmnet)also, how to add an ip address to the second interface?
P.S.
It is Working NOW...Thank you Very MUCH!!!
Does Eve connect the cloud0 to the second interface automatically or it is going to be connected to the first interface??(vmnet)also, how to add an ip address to the second interface?
P.S.
It is Working NOW...Thank you Very MUCH!!!
-
- Posts: 3
- Joined: Fri Apr 14, 2017 7:20 pm
Re: Can´t connect my Lab to "External World"
Hello everyone. Thank you for your awesme project!
I have a somewhat similar problem, so may be you can help me.
1. EvE-ng on Vmware Workstation. It has two network interfaces:
I've wrote those ip addresses in router config and ubuntu network config, but ping does not work.
If ping comes from Router you can observe the following:
- tcpdump on pnet1 shows that icmp requests go to 10.0.0.2 (sometimes they come back, but that is rare event)
- on Host Vmnet10 interface packets come in both directions (ICMP requests and replies)
- on Ubuntu eth0 = both directions
result: success 0%
If ping comes from Ubuntu, you can see that in
- Ubuntu eth0 : ICMP requests leave, but never come back
- Host Vmnet0: only ICMP requests to 10.0.0.1
- EvE-ng pnet1: ICMP requests and replies
- EVE-ng eth1: ICMP requests and replies
- EVE-ng link from Cloud to fa0/0: ICMP requests only
result: the same = 0%
My host OS is also Ubuntu. There are no iptables rules/firewalls on host or virtual machine.
What am I missing?
Thank you.
I have a somewhat similar problem, so may be you can help me.
1. EvE-ng on Vmware Workstation. It has two network interfaces:
- first is NAT
- second is Vmnet10 (which is host-onlt interface with connection to host and without DHCP)
- eth0 interface connected to Vmnet10
- Router with interface fa0/0
- Cloud with 'interface' Cloud0
Code: Select all
10.0.0.1/24 Router ---- 10.0.0.2/24 Ubuntu
Code: Select all
Router: ping 10.0.0.2
- tcpdump on pnet1 shows that icmp requests go to 10.0.0.2 (sometimes they come back, but that is rare event)
- on Host Vmnet10 interface packets come in both directions (ICMP requests and replies)
- on Ubuntu eth0 = both directions
result: success 0%
Code: Select all
Ubuntu: ping 10.0.0.1
- Ubuntu eth0 : ICMP requests leave, but never come back
- Host Vmnet0: only ICMP requests to 10.0.0.1
- EvE-ng pnet1: ICMP requests and replies
- EVE-ng eth1: ICMP requests and replies
- EVE-ng link from Cloud to fa0/0: ICMP requests only
result: the same = 0%
My host OS is also Ubuntu. There are no iptables rules/firewalls on host or virtual machine.
What am I missing?
Thank you.
-
- Posts: 409
- Joined: Sun Mar 19, 2017 10:27 pm
-
- Posts: 11
- Joined: Fri Apr 14, 2017 8:53 pm
Re: Can´t connect my Lab to "External World"
Not sure if this will help but someone just pointed this out to me so I thought I would mention it here.
Do you have the vsphere switch in promiscuous mode?
andy
Do you have the vsphere switch in promiscuous mode?
andy
-
- Posts: 5176
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Can´t connect my Lab to "External World"
Per your words you have NAT and VMNET10 on the EVE as 2 interfaces.
Your EVE clouds are:
Cloud0=NAT
Cloud1=VMNET10
So you simply lost logic and did mistake using Cloud0 here:)
Cisco router and Cloud inside Eve-ng
Router with interface fa0/0
Cloud with 'interface' Cloud0
Eve VM Cloud0 corresponding to NAT adapter, but not vmnet10 !!!
Your case on the eve you have to use cloud1...no0
EVE Lab R1-Cloud1-vmnet10-vmnet10-linux external host
And be sure if your EVE VM is shutdown when you change VMNETs or settings !!!
UD
Your EVE clouds are:
Cloud0=NAT
Cloud1=VMNET10
So you simply lost logic and did mistake using Cloud0 here:)
Cisco router and Cloud inside Eve-ng
Router with interface fa0/0
Cloud with 'interface' Cloud0
Eve VM Cloud0 corresponding to NAT adapter, but not vmnet10 !!!
Your case on the eve you have to use cloud1...no0
EVE Lab R1-Cloud1-vmnet10-vmnet10-linux external host
And be sure if your EVE VM is shutdown when you change VMNETs or settings !!!
UD
-
- Posts: 3
- Joined: Fri Apr 14, 2017 7:20 pm
Re: Can´t connect my Lab to "External World"
Thank you all for your answers.
Everything was running perfectly.
I'am sorry there was a typo. I'm using Cloud1 insetad of Cloud0.
I figured out that ARP requests and replies are going back and forth, and the problem is with ICMP.
Ubuntu send ICMP response, and you can see that in Host Vmnet10 traffic. But EvE-ng does not recive any of these replies.
I've seen this video. I did not have any problems with cloud connections in UNetLab.ramindia wrote: ↑Fri Apr 14, 2017 10:57 pmHi
This video should help you.
https://www.youtube.com/watch?v=w_oYEQbkOHU
R!
Everything was running perfectly.
I'am using Vmware Workstation 12 and Vmnet is in promiscuous mode:
Code: Select all
crw-rw-rw- 1 root root 119, 10 апр 15 11:43 /dev/vmnet10
Uldis (UD) wrote: ↑Sat Apr 15, 2017 7:35 amPer your words you have NAT and VMNET10 on the EVE as 2 interfaces.
Your EVE clouds are:
Cloud0=NAT
Cloud1=VMNET10
So you simply lost logic and did mistake using Cloud0 here:)
Cisco router and Cloud inside Eve-ng
Router with interface fa0/0
Cloud with 'interface' Cloud0
Eve VM Cloud0 corresponding to NAT adapter, but not vmnet10 !!!
Your case on the eve you have to use cloud1...no0
EVE Lab R1-Cloud1-vmnet10-vmnet10-linux external host
And be sure if your EVE VM is shutdown when you change VMNETs or settings !!!
UD
I'am sorry there was a typo. I'm using Cloud1 insetad of Cloud0.
I figured out that ARP requests and replies are going back and forth, and the problem is with ICMP.
Code: Select all
Router: ping 10.0.0.1
-
- Posts: 409
- Joined: Sun Mar 19, 2017 10:27 pm
Re: Can´t connect my Lab to "External World"
As of now i think of is, if you did network connection after the device started you see the issue.
Stop all the nodes, and make connections and start the nodes and test.
R!
Stop all the nodes, and make connections and start the nodes and test.
R!
-
- Posts: 5176
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Can´t connect my Lab to "External World"
and interfaces vm10 must be installed !!!
and visible under your pc networks..only then it can work as bridge !!!
and visible under your pc networks..only then it can work as bridge !!!
You do not have the required permissions to view the files attached to this post.