DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th July 2008
berlowin berlowin is offline
Port Guard
 
Join Date: Jun 2008
Posts: 11
Thanked 0 Times in 0 Posts
Default Asking about IPv6 address

Hello all,

when i type ifconfig, and the output is:
$ ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
inet6 fe80::213:20ff:feac:ddca%em0 prefixlen 64 scopeid 0x1
inet 122.200.6.110 netmask 0xffffff00 broadcast 122.200.6.255
ether 00:13:20:ac:dd:ca
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active

I want ask why the bold and the underline output is always started with FE80? even though i change my NIC, it always start with FE80.

Last question, is 213:20ff:feac:ddca%em0 the MAC address of the NIC? Because when I change my NIC, it always change the address too.

does anybody have the reference?

Thank you very much.

waiting for your replied soon.

Regards,
berlowin

Last edited by berlowin; 9th July 2008 at 01:40 AM.
Reply With Quote
  #2   (View Single Post)  
Old 9th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

That happens to be the link-local address, OpenBSD(and I assume the others..) assign a link local address for each interface.

http://tools.ietf.org/html/rfc3484
Reply With Quote
  #3   (View Single Post)  
Old 9th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by berlowin View Post
I want ask why the bold and the underline output is always started with FE80? even though i change my NIC, it always start with FE80.
Because that subnet was reserved for link-local IPv6 addresses. (fe80::/10)

IPv4 has a similarly reserved range, 169.254.0.0/16.

Quote:
Originally Posted by berlowin View Post
Last question, is 213:20ff:feac:ddca%em0 the MAC address of the NIC? Because when I change my NIC, it always change the address too.
No it's not, 00:13:20:ac:dd:ca is your MAC address... a unique link-local address is generated for each "physical" interface.

EDIT: This seems like a decent introduction, Google is your friend: http://www.enterprisenetworkingplane...le.php/3633211

Last edited by BSDfan666; 9th July 2008 at 02:43 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD and IPv6 bichumo General software and network 4 21st November 2008 07:23 AM
MAC address to IP rex FreeBSD General 9 11th November 2008 07:06 PM
Book/website recommendations for IPv6 programming mdh Programming 3 7th November 2008 07:53 PM
IPV6 capability no go chris General software and network 3 3rd October 2008 07:28 PM
About Firewall for IPv6 berlowin FreeBSD Security 20 9th July 2008 01:24 AM


All times are GMT. The time now is 09:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick