Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] avahi/mdns-nss and ipv4/ipv6 while pinging
Date: Thu, 28 Jun 2018 20:04:50
Message-Id: 3612100.RF4dl3T4S8@dell_xps
In Reply to: [gentoo-user] avahi/mdns-nss and ipv4/ipv6 while pinging by tuxic@posteo.de
1 On Thursday, 28 June 2018 17:55:12 BST tuxic@××××××.de wrote:
2 > Hi,
3 >
4 > I am "dicovering" (what a great word :) the IP address of my Raspberry
5 > Pi now via ahavi/nss-mdns.
6 >
7 > When pinging my PC on my Raspberry Pi I get the IPv4-address (good!) -
8 > when pinging my Raspberry I only get the IPv6-address(wierd-looking) . The
9 > commands are identical.
10 >
11 > ifconfig on my Raspberry shows me, that the interface gets a ip4 and a
12 > ipv6 address.
13 >
14 > What do I need where to tweak to get ipv4 address shown when pinging?
15 >
16 > Thanks a lot for any help in advance!
17 > Cheers
18 > Meino
19
20 ping -4 -c 3 <IP address>
21
22 --
23 Regards,
24 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies