Unable to connect node to host PC

Moderator: mike

Post Reply
javedshaikm
Posts: 1
Joined: Sun Jul 15, 2018 9:00 am

Unable to connect node to host PC

Post by javedshaikm » Sun Jul 15, 2018 9:37 am

I have connected pnet1 to a router in eve lab, the pnet1 is connected to network interface 2(vmnet1) in vmware and this interface is configured with IP 10.0.10.1/24. I have given dhcp for pnet1 in /etc/network./interface and immedaitely got IP of 10.0.10.128 from dchp server 10.0.10.254. When I ping from my pc to the IP 10.0.10.128(pnet1) I am getting reply and when I ping from the eve-ng console to 10.0.10.1(vmnet1) ip, I am not getting any reply. I checked the ARP in both eve-ng and my pc, both are showing the mac addresses of the IPs, not able to figure out how to connect the eve-ng nodes to my host pc, which is running the eve-ng vm. Kindly suggest a solution for this.

When I run tcpdump on eve-ng console I am seeing that icmp replies are sent from eve-ng to the pc

From PC to eve-ng pnet1:-
root@eve-ng:~# tcpdump -i pnet1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on pnet1, link-type EN10MB (Ethernet), capture size 262144 bytes
12:07:01.941127 IP 10.0.10.1 > 10.0.10.128: ICMP echo request, id 1, seq 60, length 40
12:07:01.941191 IP 10.0.10.128 > 10.0.10.1: ICMP echo reply, id 1, seq 60, length 40
12:07:02.945059 IP 10.0.10.1 > 10.0.10.128: ICMP echo request, id 1, seq 61, length 40
12:07:02.945155 IP 10.0.10.128 > 10.0.10.1: ICMP echo reply, id 1, seq 61, length 40
12:07:03.952478 IP 10.0.10.1 > 10.0.10.128: ICMP echo request, id 1, seq 62, length 40
12:07:03.952588 IP 10.0.10.128 > 10.0.10.1: ICMP echo reply, id 1, seq 62, length 40
12:07:04.961294 IP 10.0.10.1 > 10.0.10.128: ICMP echo request, id 1, seq 63, length 40
12:07:04.961392 IP 10.0.10.128 > 10.0.10.1: ICMP echo reply, id 1, seq 63, length 40

From eve-ng to pc vmnet1 interaface:-
root@eve-ng:~# tcpdump -i pnet1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on pnet1, link-type EN10MB (Ethernet), capture size 262144 bytes
12:08:05.115012 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 1, length 64
12:08:06.114475 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 2, length 64
12:08:07.116174 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 3, length 64
12:08:08.126362 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 4, length 64
12:08:09.126563 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 5, length 64
12:08:10.128427 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 6, length 64
12:08:10.132108 ARP, Request who-has 10.0.10.1 tell 10.0.10.128, length 28
12:08:10.132474 ARP, Reply 10.0.10.1 is-at 00:50:56:c0:00:01 (oui Unknown), length 46
12:08:11.138042 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 7, length 64
12:08:12.141567 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 8, length 64
12:08:13.144744 IP 10.0.10.128 > 10.0.10.1: ICMP echo request, id 12919, seq 9, length 64

Post Reply