IPv6 on vlan

Hi,

I made a vlan with vconfig, but the interface on that vlan (eth0.6) does not get a local link address (IPv6). Stateless Autoconfiguration is enabled in sysctl.

How can I fix/enable this?

Regards,

Ricardo

How mamy interfaces did you create ?Do interfaces on other vlans get the ip address ?What is the topology between your pc and the dhcp server ?

Hi, I created two. eth0.42 and eth0.6.

None of them get an IP, only eth0, the original interface.

There is no DHCPv6 since it is Autoconfiguration that needs to generate a IPv6 address. There should be no need for DHCPv6. Another distro (Mint) proves that point since it does generate a link local address on the same eth0.6 interface. Communication with the router should be sufficient to generate an IPv6 address.

Ok thanks for the answer I wasn’t aware you are using autoconfiguration. Maybe the problem is with the device between the router and your PC ?
Does it work as expected on mint ?

Can you post output of “ip addr” from mint and openSUSE ?

Hi,

It does work as expected on Mint. This is ip addr on mint:

7: eth0.6@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP group default
     link/ether d8:9d:67:--:--:-- brd ff:ff:ff:ff:ff:ff
     inet6 2001:828:205:7:----:----:----:----/64 scope global temporary 
dynamic
        valid_lft 603662sec preferred_lft 84662sec
     inet6 2001:828:205:7:----:----:----:----/64 scope global dynamic
        valid_lft 2591928sec preferred_lft 604728sec
     inet6 fe80::da9d:67ff:fe--:----/64 scope link
        valid_lft forever preferred_lft forever

And this is my 13.2 machine:


6: eth0.6@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether d8:9d:67:c8:85:5b brd ff:ff:ff:ff:ff:ff

Interesting :slight_smile: let my try this myself. Can you tell me which vconfig giude you used for the configuration ?

Also which openSUSE version are you using ?

Hi,

What do you mean with vconfig ‘guide’?
I used this command:

vconfig add eth0 6

I am using OpenSUSE 13.2