08.02.2015 Views

Table of Contents

Table of Contents

Table of Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

connect devices just by telling them what network we’re on. An example <strong>of</strong> this is shown<br />

in Figure 37-1.<br />

Figure 37-1. Simple IPv6 network with two routers<br />

Here on R1, we’ve already got a link-local address, but as we’ve covered, that’s almost<br />

useless for real-world networking. With the ipv6 address address/mask eui-64 interface<br />

command, I’ll assign a network address to the F0/0 interface. Let’s say that I’ve been<br />

allocated the AAAA:AAAA:AAAA::/48 address block. I’ll start by using the :1: subnet:<br />

R1(config-if)#ipv6 address AAAA:AAAA:AAAA:1::/64 eui-64<br />

This is fine in a lab environment, but remember that in the real world,<br />

you should have a properly allocated /64 prefix given to you by your<br />

provider, ARIN, or some other authority.<br />

Now the interface will have a network address <strong>of</strong> aaaa:aaaa:aaaa:1::/64, and the host<br />

address will be the EUI-64 address resolved from the interface’s MAC address.<br />

The :1: represents the subnet I’ve allocated from the /48 range aaaa:aaaa:aaaa. We<br />

can see this with the show ipv6 interface interface-name command:<br />

R1#sho ipv6 int f0/0<br />

FastEthernet0/0 is up, line protocol is up<br />

IPv6 is enabled, link-local address is FE80::212:43FF:FEB9:2C70<br />

Global unicast address(es):<br />

AAAA:AAAA:AAAA:1:212:43FF:FEB9:2C70, subnet is AAAA:AAAA:AAAA:1::/64 [EUI]<br />

Joined group address(es):<br />

FF02::1<br />

FF02::2<br />

FF02::1:FF00:0<br />

FF02::1:FFB9:2C70<br />

MTU is 1500 bytes<br />

ICMP error messages limited to one every 100 milliseconds<br />

ICMP redirects are enabled<br />

ND DAD is enabled, number <strong>of</strong> DAD attempts: 1<br />

ND reachable time is 30000 milliseconds<br />

ND advertised reachable time is 0 milliseconds<br />

ND advertised retransmit interval is 0 milliseconds<br />

ND router advertisements are sent every 200 seconds<br />

ND router advertisements live for 1800 seconds<br />

Hosts use stateless autoconfig for addresses.<br />

Simple Router Configuration | 681

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!