cancel
Showing results for 
Search instead for 
Did you mean: 

ping -i6 is not working over different VLANs

ping -i6 is not working over different VLANs

Marco_Lorenz
New Contributor II
2 VLANs, both ipforwarding ipv4 and ipv6 enabled, but still no ping ipv6 possible from one machine in VLAN1 to another machine in vlan2.

vlan-config:

create vlan vlan1
conf vlan1 tag 101
conf vlan1 ipadd 192.168.101.254/24
ena ipforward vlan1
ena ipforward ipv6 vlan1
conf vlan1 add po 1-4 tag

create vlan vlan2
conf vlan2 tag 102
conf vlan2 ipadd 192.168.102.254/24
ena ipforward vlan1
ena ipforward ipv6 vlan1
conf vlan2 add po 1-4 tag

Server in vlan1 has ipv4 IP 192.168.101.1/24
Server in vlan2 has ipv IP 192.168.102.1/24

Ping from Server vlan1 to Server vlan2 using ipv4 is working fine in both directions, so no Problem with Gateway or down vlans.
Ping -i6 is not working at all.

Any ideas what I've done wrong?

Kind Regards
Marco

9 REPLIES 9

Marco_Lorenz
New Contributor II
3. i know that vlans do not Forward traffic if I don't tell the machines how to reach the other one in another vlan.

core-Switch has the following ips:
vlan1 192.168.101.254/24
vlan2 192.168.102.254/24

Machine in vlan1 has ip 192.168.101.1/24 with Gateway 192.168.101.254
Machine in vlan2 has ip 192.168.102.1/24 with Gateway 192.168.102.254
Both Gateways reside on the same Switch and both vlans are ipforwarding enabled and it works.

Isn't it the same with ipv6?
For sure, I have to assign ipv6 addresses to vlan1 and vlan2 at the core Switch, assign these addresses to the respective machine as Gateway and enable ipforwarding ipv6 on both vlans at core.

Kind Regards and sorry for my stupid question 😉
Marco

Not to worry, that's the beauty of a community like this, we explore together. Let me know when everything works. 

Kawawa
Extreme Employee
  1. If you want to have IPv6 routes, you'll need to define IPv6 addresses to the participating interfaces
  2. The enable ipforwarding ipv6 vlan command will take effect without any issues, it's the IPv4 address that will return an error
  3. If you're getting from one host to another within the same subnet, you can do so without routes, however, if you have 2 VLANs, you'll need to tell HOST-A in VLAN 1 how to get to HOST b in VLAN 2, because VLANs dont forward traffic between each other unless you tell them how to

Marco_Lorenz
New Contributor II
Hi Kawawa,

the vlans don't have any ipv6-addresses. But ena ipf ipv6 vlan1 worked without Errors.
Maybe this is the mistake  I know that ena ipf vlan1 will not work without any assigned ipv4-address to vlan1.
Why do I need a routing protocol? I don't have static routes for ipv4 as well. Both vlans are configred at the coreswitch and normally ena ipf vlan1 and ena ipf vlan2 leads to a connection between both vlans.

Kind reagrds
Marco

Kawawa
Extreme Employee
Hi Marco, Hi Marco, I can't seem to see any IPv6 addresses defined in your configs above, please shre those addresses as well. Secondly, have you either enabled a routing protocol for the IPv6 interfaces or defined static routes to tell each VLAN how to get to the other?
GTM-P2G8KFN