I maked a lab on GNS3. I uploaded two routers. The two interfaces connected directly do not ping. What may be missing?
root@R5-P> show interfaces terse Interface Admin Link Proto Local Remote cbp0 up up demux0 up up dsc up up em0 up up em0.0 up up inet 188.8.131.52/24 em1 up up em1.0 up up inet 184.108.40.206/24 em2 up down gre up up ipip up up irb up up lo0 up up lo0.0 up up inet 220.127.116.11 --> 0/0
18.104.22.168/32 *[Direct/0] 00:16:57 > via lo0.0 22.214.171.124/24 *[Direct/0] 00:16:55 > via em1.0 126.96.36.199/32 *[Local/0] 00:16:57 Local via em1.0 188.8.131.52/24 *[Direct/0] 00:16:58 > via em0.0 184.108.40.206/32 *[Local/0] 00:16:58 Local via em0.0
root@R4-PE> show interfaces terse Interface Admin Link Proto Local Remote cbp0 up up demux0 up up dsc up up em0 up up em0.0 up up inet 220.127.116.11/24 em1 up up em1.0 up up inet 18.104.22.168/24 em2 up up em3 up down em4 up down gre up up ipip up up irb up up lo0 up up lo0.0 up up inet 22.214.171.124 --> 0/0
root@R4-PE> show route
inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both
126.96.36.199/32 *[Direct/0] 00:59:14 > via lo0.0 188.8.131.52/24 *[Direct/0] 00:59:13 > via em1.0 184.108.40.206/32 *[Local/0] 00:59:15 Local via em1.0 220.127.116.11/24 *[Direct/0] 00:59:15 > via em0.0 18.104.22.168/32 *[Local/0] 00:59:16 Local via em0.0
In Junos the em interfaces are for internal OS communications only. These cannot be connected to other devices and used for traffic. You should have ge, xe or et interfaces for traffic ports that would connect devices.
Steve Puluka BSEET - Juniper Ambassador IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP) http://puluka.com/home
Basic IP communication should work, the em interfaces is just a notation in this case and not actual management ports like on a real Juniper device. Your issue must be specific to setting up NICs in the same LAN correctly. Have you been able to make any two links work between the routers?
You got the IP address config right, what I meant was the virtual NIC setting and connectivity that ensures GNS3 puts the em0 on R1 in the same LAN as the em0 on R2. In VMs, we usually need to select a common LAN segment.
When you ping from either end, are you learning ARP for the other end on either router? CLI command to check on each router "show arp no-resolve".