This is defaulting to ipv6 and the routing on that lookup is not working.
To ping on ipv4 by name add inet to the string
ping inet google.com
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home------------------------------
Original Message:
Sent: 11-04-2024 14:06
From: EMTSU
Subject: DNS lookup not working
I'm new to Junos-based switching.
I have a simply setup with name-server defined under system. I do not have any routing instances defined. I do not have any forwarding-options set nor any firewall configuration. I have a default gateway set. I am not using IPv6. I have one vlan defined, with id 10 and a corresponding irb 10 in l3-interface mode. I am running Junos 23.4.
I am able to ping say 1.1.1.1, but I cannot ping google.com, for example. Here's the output I receive:-
SWITCH032> ping google.com
PING6(56=40+8+8 bytes) :: --> 2a00:1450:4009:820::200e
ping: sendmsg: No route to host
ping6: wrote google.com 16 chars, ret=-1
What might I do to correct this issue please?