cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1441
Views
0
Helpful
0
Replies

Assigning IPv6 address to the Switch

Hi Experts,

I'm new to IPv6 and have some doubt on configuration.

I have a 4500 switch which is supposed to get a IPv6 address via dhcp from a linux machine.

On the linux machine I have configured a pool on the /64 prefix and it handsover ip to the 4500 switch.

the problem is: although I have configured /64 prefix on my Linux PC, the switch always gets the IP on the /128 prefix so because of that i'm unable to ping the dhcp server from the client (Switch).

an I doing something wrong with my configuration

My configuration on the switch is as follows:

Switch#sh run int gig1/1

Building configuration...

Current configuration : 100 bytes

!

interface GigabitEthernet1/1

no switchport

ip address dhcp

ipv6 address dhcp

ipv6 enable

end

The logs says the following:

Switch#

*Mar 19 06:14:19.073: IPv6 DHCP: Sending RELEASE to FF02::1:2 on GigabitEthernet1/1

*Mar 19 06:14:19.073: IPv6 DHCP: DHCPv6 address changes state from OPEN to RELEASE (ADDR_SHUTDOWN) on GigabitEthernet1/1

*Mar 19 06:14:20.109: IPv6 DHCP: IPv6 not ready on GigabitEthernet1/1, message not sent

*Mar 19 06:14:21.165: IPv6 DHCP: IPv6 not ready on GigabitEthernet1/1, message not sent

*Mar 19 06:14:23.241: IPv6 DHCP: IPv6 not ready on GigabitEthernet1/1, message not sent

*Mar 19 06:14:27.189: IPv6 DHCP: DHCPv6 address changes state from RELEASE to IDLE (ADDR_TIMEOUT) on GigabitEthernet1/1

*Mar 19 06:14:28.505: %SYS-5-CONFIG_I: Configured from console by console

*Mar 19 06:14:35.789: IPv6 DHCP: Sending SOLICIT to FF02::1:2 on GigabitEthernet1/1

*Mar 19 06:14:35.793: IPv6 DHCP: Received ADVERTISE from FE80::225:B3FF:FEC9:5F5A on GigabitEthernet1/1

*Mar 19 06:14:35.793: IPv6 DHCP: Adding server FE80::225:B3FF:FEC9:5F5A

*Mar 19 06:14:36.865: IPv6 DHCP: Sending REQUEST to FF02::1:2 on GigabitEthernet1/1

*Mar 19 06:14:36.865: IPv6 DHCP: DHCPv6 address changes state from SOLICIT to REQUEST (ADDR_ADVERTISE_RECEIVED) on GigabitEthernet1/1

*Mar 19 06:14:36.865: IPv6 DHCP: Received REPLY from FE80::225:B3FF:FEC9:5F5A on GigabitEthernet1/1

*Mar 19 06:14:36.865: IPv6 DHCP: Processing options

*Mar 19 06:14:36.865: IPv6 DHCP: Adding address 2001:DB8:0:F101::AEAE/128 to GigabitEthernet1/1

*Mar 19 06:14:36.865: IPv6 DHCP: T1 set to expire in 3600 seconds

*Mar 19 06:14:36.865: IPv6 DHCP: T2 set to expire in 7200 seconds

*Mar 19 06:14:36.865: IPv6 DHCP: DHCPv6 address changes state from REQUEST to OPEN (ADDR_REPLY_RECEIVED) on GigabitEthernet1/1

*Mar 19 06:14:37.829: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet1/1 assigned DHCP address 192.168.0.7, mask 255.255.255.0, hostname Switch

Any reason why is it always assigning an ip address from the /128 mask?

Thanks for your help in advance.

-Vijay

0 Replies 0