TPG Community

Get online support

TP Link Vr1600V DHCP - Ethernet ISSUE

david64
Level 15

@Masood . I don't know enough about Cisco or VMware to assist. I've never heard of EVE-NG. Is it software running on a computer to simulate a physical network for VMware to provide a virtual switch for guest operating systems?

Can you define a basic Cisco config with just one port for the Archer connection?

Apart from the Cisco port connected to the Archer, you need another port or multiple ports to connect to the EVE/VMware network. This needs a real or virtual DHCP server, or all ports have pre-defined ip addresses.

The subnet addresses here may need to be different from the subnet on the Archer side.

Cisco needs static routes to link the Archer port with the EVE/VMware ports.

You may need to ask Cisco and EVE support.

Masood
Level 2

Hi David

I only have single line of config to get ip address from dhcp in this case archer. 

 

conf t

inteface e0/0

ip address dhcp

end

 

I dont need any another port or multiple ports to connect to the EVE NG / VMWare(simulatatio software). Once Cisco device gets ip address, my pc should be able to connect / ping to device on dhcp assigned address. When Cisco device get an ip address from dhcp server, cisco automatically add static route to dhcp server (in this case archer)

Masood
Level 2

Here is the example of static router automatically added when Cisco  device get ip address from dhcp 

 

Gateway of last resort is 192.168.1.1 to network 0.0.0.0

S* 0.0.0.0/0 [254/0] via 192.168.1.1

david64
Level 15

@Masood . When you say:

I dont need any another port or multiple ports to connect to the EVE NG / VMWare,

what is it running on and where is it connected?

What is the purpose of Cisco router?

Is the pc connected to Archer?

You could make an ip reservation in the Archer for the Cisco mac address.

 

Masood
Level 2

Hi David 

 

cisco Router is connected to VMWare adapters (1: Bridge adapter- use LAN range, 2 Host Only-which is user defined 3. NAT adapter, which is NATTED address). In my case My cisco router is linked with briged interface of VMWare and getting DHCP ip address assigned (in the range of 192.168.1.X/24 which is LAN range). Strange thing is, when Cisco router gets dhcp ip address assigned, i cannot ping outside interface 8.8.8.8 etc. Neither can i ping default gateway 192.168.1.1. (I am not sure if TPG has change any thing, i even cannot ping 192.168.1.1 - default gateway (TPG TP Link router) from my laptop though i can ping outside 8.8.8.8)

 

2nd thing is, though Cisco router gets dhcp ip address assigned. But in Archer TPG Router under Client List, I can see MAC Address and IP address Assigned for other devices (for static and dynamic entries) but Not for Cisco router.   

 

SimilarlyUnder Security> IP & MAC Binding, I can see binding (ARP Cache IP and MAC address binding) for other devices  but not Cisco router IP address nor MAC address. 

david64
Level 15

@Masood . Still not clear how it is connected and what you are trying to achieve.

Is this picture how it is connected?

 

Masood
Level 2

Hi David

 

Graphical representation is somewhat same as you drew in your attachemet. 

 

Here is the theoratical steps 

 

Windows10 PC (Host) my laptop/ desktop

Install VMWare Workstation within Windows10

  (Initially VMWare activates 2 logical interfaces – VMNet1 and VMNet8) VMNet 1 interface to access EVE NG virtual lab and will use VMNet interface to bridge virtual topology to access devices directly from the local laptop

EVE-NG is imported as Virtual Machine within VMWare

Cisco router image is imported within  EVE-NG

I have followed all the steps as suggested by EVE NG to import images

https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-dynamips-images-cisco-ios/

 

Cisco vIOS from VIRL (eve-ng.net)

david64
Level 15

@Masood . Any progress?
Do you have a real Cisco router or is it a virtual one simulated by EVE-NG?

Reading VMWare workstation manual, VMnet0 is the network used for bridging.

Bridged networking connects a virtual machine to a network by using the network adapter on the host system (the Win10 computer). 

Each guest controlled by VMW workstation (EVE-NG) needs an ip address on the local network. In Windows, you can assign multiple ip addresses to an ethernet port. Don't know how the router handles getting multiple requests from the same mac address. The VR1600 does not allow address reservations to be set like that.

Masood
Level 2

Hi David

 

I have real Cisco 1841 router and Software based Cisco router 3725 (running real Cisco Dynamips image C3725-ADVENTERPRISEK9-M). Cisco 1841 router is directly connected to TP Link Archer router and getting DHCP IP address assigned. EVE NG Software based router (also getting DHCP assigned address from TP Link router. 

 

VMnet0 is Bridged with within VMware end and in virtual editor VMnet0 is mapped to Ethernet Adatper Realteck NOT WI FI adapter) 

 

Real Cisco Router - Directly connected to TP Link

1841-B#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.20 YES DHCP up up
FastEthernet0/1 unassigned YES NVRAM administratively down down

 

EVE-NG Cisco 3725 - Running within EVE-NG connected with VMnet0 brdiged interface

 

EVE-NG-3725#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.19 YES DHCP up up
FastEthernet0/1 172.26.0.1 YES manual up up 

 

Both of these are getting DHCP address assigned by TP Link router. 

I can ping Cisco 1841 (Real Router) from Comman Prompt without any issue. 

Ping to Cisco 1841 (Real Router from CMD) no packet loss

Pinging 192.168.1.20 with 32 bytes of data:
Reply from 192.168.1.20: bytes=32 time=3ms TTL=255
Reply from 192.168.1.20: bytes=32 time=1ms TTL=255
Reply from 192.168.1.20: bytes=32 time=1ms TTL=255
Reply from 192.168.1.20: bytes=32 time=1ms TTL=255
Reply from 192.168.1.20: bytes=32 time=1ms TTL=255
Reply from 192.168.1.20: bytes=32 time=1ms TTL=255
Reply from 192.168.1.20: bytes=32 time=1ms TTL=255
Reply from 192.168.1.20: bytes=32 time=1ms TTL=255

Ping statistics for 192.168.1.20:
Packets: Sent = 8, Received = 8, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 3ms, Average = 1ms

 

When i try to ping EVE-NG router from command prompt, i see heavy packet loss

Ping to Cisco EVE-NG (Software Based Router from CMD) Heavy packet loss

ping 192.168.1.19 -t

Request timed out.
Request timed out.
Reply from 192.168.1.19: bytes=32 time=1ms TTL=255
Request timed out.
Reply from 192.168.1.19: bytes=32 time=2ms TTL=255
Request timed out.
Request timed out.
Reply from 192.168.1.19: bytes=32 time=1ms TTL=255
Request timed out.
Request timed out.
Reply from 192.168.1.19: bytes=32 time=2ms TTL=255
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Reply from 192.168.1.19: bytes=32 time=3ms TTL=255
Request timed out.
Request timed out.
Reply from 192.168.1.19: bytes=32 time=8ms TTL=255
Request timed out.
Reply from 192.168.1.19: bytes=32 time=6ms TTL=255
Request timed out.

Ping statistics for 192.168.1.19:
Packets: Sent = 325, Received = 99, Lost = 226 (69% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 19ms, Average = 6ms
Control-C

Pinging between Cisco 1841 Router towards Cisco EVN NG router 

 

1841-B#ping 192.168.1.19 rep 100
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 192.168.1.19, timeout is 2 seconds:
!..!..................................................................
..............................
Success rate is 2 percent (2/100), round-trip min/avg/max = 8/8/8 ms
1841-B#

 

Pinging between  Cisco EVN NG router towards Cisco 1841 Router (no response)

EVE-NG-3725#ping 192.168.1.20 rep 100

Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 192.168.1.20, timeout is 2 seconds:
......................................................................
..............................
Success rate is 0 percent (0/100)

 

I tried tunning off Windows Fiewall off but did not make any differnce. Bridged interfce on VM

david64
Level 15

@Masood . Is this a better diagram of your system?

Is the Win10 computer connected directly to Archer (A) or other port of 1841 (B)?

If A, it gets an address from Archer (192.168.1.19).

If B, its address would be on the backend network of 1841, not the Archer network.

 

The Win10 computer has VMWare workstation loaded as a Windows application.

VMW has loaded EVE-NG as a guest. VMW creates VMnet0 to bridge between EVE guest and Win10 NIC.

 

Does the 1841 have any packet tracing function?

You can try loading Wireshark under Win10.

Check the Win10 task manager: performance tab for cpu usage and memory.

Increase the timeout on the ping to some large value to see how long the timeouts really are.

What is the performance of the Win10 computer: memory, number of cpus, speed?