Switching

 View Only
last person joined: 4 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  DNS lookup not working

     
    Posted 30 days ago
    Edited by EMTSU 30 days ago

    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?



  • 2.  RE: DNS lookup not working

    Posted 30 days ago

    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
    ------------------------------



  • 3.  RE: DNS lookup not working

    Posted 29 days ago

    Try "ping google.com inet" to force ipv4 pings.

    root@SW001> ping google.com inet 
    PING google.com (142.250.204.14): 56 data bytes
    64 bytes from 142.250.204.14: icmp_seq=0 ttl=111 time=63.596 ms
    64 bytes from 142.250.204.14: icmp_seq=1 ttl=111 time=52.133 ms
    64 bytes from 142.250.204.14: icmp_seq=2 ttl=111 time=58.158 ms
    ^C
    --- google.com ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 52.133/57.962/63.596/4.682 ms


    ------------------------------
    Sheetanshu Shekhar
    ------------------------------