[zeromq-dev] [PATCH] IPv6 changes to 4.0

Steven McCoy steven.mccoy at miru.hk
Fri Aug 26 07:25:52 CEST 2011

On 23 August 2011 14:45, Martin Sustrik <sustrik at 250bpm.com> wrote:

>> 5)  Re-implement the IPv6 RFC sorting rules and picked the preferred
>> address.
> RFC3484, right? That's probably the way to go. However, at the moment, why
> not simply choose the global address and let those that want to use local
> scopes specify a literal address.
> It's not nice but it will at laest work in some way.
So here's the address table on a SPARC with IPv6 enabled using RIP,

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
        inet netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet netmask ffffff00 broadcast
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
        inet6 ::1/128
eri0: flags=2100841<UP,RUNNING,MULTICAST,ROUTER,IPv6> mtu 1500 index 2
        inet6 fe80::203:baff:fe4e:6cc8/10
eri0:1: flags=2100841<UP,RUNNING,MULTICAST,ROUTER,IPv6> mtu 1500 index 2
        inet6 2002:dce8:d28e::36/64
eri0:2: flags=2180841<UP,RUNNING,MULTICAST,ADDRCONF,ROUTER,IPv6> mtu 1500
index 2
        inet6 2002:dce8:d28e:0:203:baff:fe4e:6cc8/64

Then my Linux box ends up looking like this:

eth0      Link encap:Ethernet  HWaddr 00:14:5e:bd:6d:da
          inet addr:  Bcast:  Mask:
          inet6 addr: 2002:dce8:d28e:0:214:5eff:febd:6dda/64 Scope:Global
          inet6 addr: fe80::214:5eff:febd:6dda/64 Scope:Link
          inet6 addr: 2002:dce8:d28e::31/64 Scope:Global

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

That's trying to give a static IPv6 to each host with the
2002:dce8:d28e::prefix but getting an additional auto-configuration
address fromin.ripngdbecause that's lovely Solaris.


ifdefault AdvSendAdvertisements true
prefixdefault AdvOnLinkFlag on AdvAutonomousFlag on

if eri0 AdvSendAdvertisements 1
prefix 2002:dce8:d28e::/64 eri0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110826/55a5c086/attachment.htm>

More information about the zeromq-dev mailing list