DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th August 2011
dbach dbach is offline
Port Guard
 
Join Date: Aug 2011
Posts: 23
Thanked 0 Times in 0 Posts
Default interface has inet6 reference

Hello All:

I've signed up for a Hurricane Electric IPv6 tunnel to mess with IPv6. However when I tried to add the suggested configuration for IPv6 I noticed my interface pcn0 had a inet6 entry:

inet6 fe80::a00:27ff:fed3:ff4d%pcn0 prefixlen 64 scopeid 0x1

When I did the install for OpenBSD 4.9 I answered [none] to the IPv6 configuration question. So in order to use the HE tunnel how can I remove that reference for the pcn0 interface?

Also why is it in there when I told it not to. I got the same results when using DHCP or a statically assigned IPv4 address.

Thank you,
Darryl
Reply With Quote
  #2   (View Single Post)  
Old 19th August 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,116
Thanked 182 Times in 149 Posts
Default

fe80::/10 addresses are IPv6 link local addresses. They are derived from the MAC address (lladdr in the ifconfig output) of the NIC.

See http://en.wikipedia.org/wiki/Link-local_address#IPv6 why they are needed and automatically assigned.

In case you want to get rid of it:

Code:
$ ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:19:db:47:b0:4c
        priority: 0
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
        status: active
        inet 192.168.222.20 netmask 0xffffff00 broadcast 192.168.222.255
        color=blue]inet6 fe80::219:dbff:fe47:b04c%re0 prefixlen 64 scopeid 0x2[/color]

$ sudo ifconfig re0 -inet6 ; ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:19:db:47:b0:4c
        priority: 0
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
        status: active
        inet 192.168.222.20 netmask 0xffffff00 broadcast 192.168.222.255
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
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
make buildkernel failure -- undefined reference to . . . rtwingfield FreeBSD Installation and Upgrading 1 22nd June 2010 10:27 PM
Undefined reference to `xpt_bus_deregister' FreeBee FreeBSD Installation and Upgrading 2 6th January 2010 03:59 PM
Networking: CLI quick reference anomie Other BSD and UNIX/UNIX-like 0 2nd October 2008 01:21 AM
NetBSD reference card Oliver_H NetBSD General 0 8th May 2008 06:20 PM
BBcode tags used to reference manpages ocicat Feedback and Suggestions 3 2nd May 2008 12:05 PM


All times are GMT. The time now is 07:23 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