LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-15-2013, 07:04 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 97

Rep: Reputation: 6
Question Strange display of IP address


Hello!
I have configured eth0:

Code:
# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr A3:21:B2:12:A1:C1  
          inet addr:192.168.1.21  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2e76:8aff:fe56:3eec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5324391 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2825979 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1059832640 (1010.7 MiB)  TX bytes:3249408538 (3.0 GiB)
          Interrupt:32
After it I launch my software that connects to server 192.168.1.11.

But if I type

Code:
# netstat -an | grep 5151
tcp        0      0 ::ffff:192.168.1.21:31169 ::ffff:192.168.1.11:5151 ESTABLISHED
Local and remote addresses looks like strange.

I haven't configured address like ::ffff:192.168.1.21, it looks like this is IPv6 address, but I have only IPv4 configured addresses.
 
Old 02-15-2013, 07:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
it's an IPv4 address displayed as IPv6. just ignore the bits you don't care about.
 
  


Reply

Tags
ipv4


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
strange ip address fof3 Linux - Networking 2 11-08-2008 12:03 PM
Strange problem with not receiving IP address matthalliday Linux - Wireless Networking 3 05-04-2007 10:49 AM
The strange IP address Gins General 19 02-16-2006 08:54 PM
The strange IP address Gins Linux - Networking 12 02-11-2006 02:45 PM


All times are GMT -5. The time now is 07:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration