Community discussions

MikroTik App
 
litu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Thu Jul 08, 2004 7:49 am
Location: Sylhet, Bangladesh
Contact:

ipv6 arp entry issue in MT OS 5.4

Wed Jun 15, 2011 11:01 am

Dear All,

I have implement ipv6 address spec in my router running mikrotik router os version
5.4 in RB4500. I have ipv4 arp entry in my mikrotik and it running just fine.

when I try to put this command I got error:

/ip arp add address=2001:470:fa12:b3::2 mac-address=00:24:1D:3D:9B:D2 interface=lan

/ip arp add address=2001:470:fa12:b3::2 mac-address=00:24:1D:3D:9B:D2 interface=lan

Any suggestion ?
 
cupis
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Apr 10, 2011 1:25 am

Re: ipv6 arp entry issue in MT OS 5.4

Wed Jun 15, 2011 11:13 am

IPv6 doesn't use ARP, it uses Neighbour Discovery.

Have a look at the options under IPv6/ND.

Regards,
 
litu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Thu Jul 08, 2004 7:49 am
Location: Sylhet, Bangladesh
Contact:

Re: ipv6 arp entry issue in MT OS 5.4

Wed Jun 15, 2011 7:42 pm

I have put an entry in ipv6/ND and check the IPv6 TCP/IP setup in my pc which is still not working.

Its necessary to mention here that I have setup the Lan interface property arp: "reply-only"
for bonding ip & MAC for ipv4 users.

I have implement ipv6 on the same interface.

Any suggestion ?

Regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: ipv6 arp entry issue in MT OS 5.4

Wed Jun 15, 2011 8:46 pm

Again, ARP has nothing to do with IPv6. IPv6 and IPv4 are an example of "ships in the night" protocols. They don't know about each other. They don't affect each other.

Be more specific than "it is not working". What is not working? What is the network layout? What are you trying to do, what are you expecting, and what are you observing as happening instead?
 
litu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Thu Jul 08, 2004 7:49 am
Location: Sylhet, Bangladesh
Contact:

Re: ipv6 arp entry issue in MT OS 5.4

Thu Jun 16, 2011 9:46 pm

Dear fewi,

I have attach my network diagram for your better understanding. I have connected with
Router-B3 and my ipv6 address is 2001:470:fa12:b3::2/64 & gateway is: 2001:470:fa12:b3::1

From Router-B3 new terminal console I can ping to outside world, say 2001:470:20::2 with my
src-address: 2001:470:fa12:b3::1 but I can not go our from my PC having IPv6 address:
2001:470:fa12:b3::2 & gateway 2001:470:fa12:b3::1

I have added my entry of mac in IPv6/ND >prefix tab as:

prefix: 2001:470:fa12:b3::2 interface : lan

I hope I can explain my problem.

Best Regards
You do not have the required permissions to view the files attached to this post.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: ipv6 arp entry issue in MT OS 5.4

Thu Jun 16, 2011 11:01 pm

/ipv6 export
/ipv6 route print detail
/ipv6 address print detail
/ipv6 neighbor print detail
From router B3 and router A.
 
litu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Thu Jul 08, 2004 7:49 am
Location: Sylhet, Bangladesh
Contact:

Re: ipv6 arp entry issue in MT OS 5.4

Fri Jun 17, 2011 8:07 am

From Router-A:

/ipv6 export
# jan/04/1970 02:13:07 by RouterOS 5.4
# software id = PGHS-QD1X
#
/ipv6 address
add address=2001:470:18:9f3::2/64 advertise=yes disabled=no eui-64=no interface=sit1
add address=2001:470:fa12:a1::1/64 advertise=yes disabled=no eui-64=no interface=lan
/ipv6 nd
add advertise-dns=no advertise-mac-address=yes disabled=no hop-limit=unspecified interface=all \
managed-address-configuration=no mtu=unspecified other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=\
30m reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=1w valid-lifetime=4w2d
/ipv6 route
add disabled=no distance=1 dst-address=::/0 gateway=2001:470:18:9f3::1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:9f3::1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=2001:470:fa12:b1::/64 gateway=2001:470:fa12:a1::b1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=2001:470:fa12:b2::/64 gateway=2001:470:fa12:a1::b2 scope=30 target-scope=10
add disabled=no distance=1 dst-address=2001:470:fa12:b3::/64 gateway=2001:470:fa12:a1::b3 scope=30 target-scope=10


/ipv6 route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable
0 A S dst-address=::/0 gateway=2001:470:18:9f3::1 gateway-status=2001:470:18:9f3::1 reachable sit1 distance=1 scope=30
target-scope=10

1 A S dst-address=2000::/3 gateway=2001:470:18:9f3::1 gateway-status=2001:470:18:9f3::1 reachable sit1 distance=1 scope=30
target-scope=10

2 ADC dst-address=2001:470:18:9f3::/64 gateway=sit1 gateway-status=sit1 reachable distance=0 scope=10

3 ADC dst-address=2001:470:fa12:a1::/64 gateway=lan gateway-status=lan reachable distance=0 scope=10

4 A S dst-address=2001:470:fa12:b1::/64 gateway=2001:470:fa12:a1::b1 gateway-status=2001:470:fa12:a1::b1 reachable lan
distance=1 scope=30 target-scope=10

5 A S dst-address=2001:470:fa12:b2::/64 gateway=2001:470:fa12:a1::b2 gateway-status=2001:470:fa12:a1::b2 reachable lan
distance=1 scope=30 target-scope=10

6 A S dst-address=2001:470:fa12:b3::/64 gateway=2001:470:fa12:a1::b3 gateway-status=2001:470:fa12:a1::b3 reachable lan
distance=1 scope=30 target-scope=10


/ipv6 address print detail
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local
0 G address=2001:470:18:9f3::2/64 interface=sit1 actual-interface=sit1 eui-64=no advertise=yes

1 G address=2001:470:fa12:a1::1/64 interface=lan actual-interface=lan eui-64=no advertise=yes

2 DL address=fe80::b4d3:b445/128 interface=sit1 actual-interface=sit1 eui-64=no advertise=no

3 DL address=fe80::20c:42ff:fe32:77a8/64 interface=extra-in-int actual-interface=extra-in-int eui-64=no advertise=no

4 DL address=fe80::20c:42ff:fe32:77a9/64 interface=lan actual-interface=lan eui-64=no advertise=no

5 DL address=fe80::20c:42ff:fe32:77a7/64 interface=wan actual-interface=wan eui-64=no advertise=no


/ipv6 neighbor print detail
Flags: R - router
0 address=ff02::1:ffa1:1 interface=wan mac-address=33:33:FF:A1:00:01 status="noarp"

1 address=:: interface=sit1 status="noarp"

2 R address=2001:470:fa12:a1::b2 interface=lan mac-address=00:0C:42:30:8C:12 status="stale"

3 address=2001:470:fa12:a1::b1 interface=lan status=""

4 R address=fe80::20c:42ff:fe30:8c12 interface=lan mac-address=00:0C:42:30:8C:12 status="reachable"

5 address=2001:470:18:9f3::1 interface=sit1 status="noarp"

6 R address=2001:470:fa12:a1::b3 interface=lan mac-address=00:04:76:8D:C8:79 status="stale"


From RouterB3:

/ipv6 export
# jun/17/2011 12:03:13 by RouterOS 5.4
# software id = EPHM-CN2V
#
/ipv6 address
add address=2001:470:fa12:a1::b3/64 advertise=no disabled=no eui-64=no interface=wan
add address=2001:470:fa12:b3::1/64 advertise=yes disabled=no eui-64=no interface=lan
/ipv6 nd
add advertise-dns=no advertise-mac-address=no disabled=no hop-limit=unspecified interface=all \
managed-address-configuration=no mtu=unspecified other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=\
30m reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix
add autonomous=yes disabled=no interface=lan on-link=yes preferred-lifetime=1w prefix=2001:470:fa12:b3::/64 \
valid-lifetime=4w2d
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=1w valid-lifetime=4w2d
/ipv6 route
add disabled=no distance=1 dst-address=::/0 gateway=2001:470:fa12:a1::1 scope=30 target-scope=10


/ipv6 route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable
0 A S dst-address=::/0 gateway=2001:470:fa12:a1::1 gateway-status=2001:470:fa12:a1::1 reachable wan distance=1 scope=30
target-scope=10

1 ADC dst-address=2001:470:fa12:a1::/64 gateway=wan gateway-status=wan reachable distance=0 scope=10

2 ADC dst-address=2001:470:fa12:b3::/64 gateway=lan gateway-status=lan reachable distance=0 scope=10
[litu@hsp1] > /ipv6 route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable
0 A S dst-address=::/0 gateway=2001:470:fa12:a1::1 gateway-status=2001:470:fa12:a1::1 reachable wan distance=1 scope=30
target-scope=10

1 ADC dst-address=2001:470:fa12:a1::/64 gateway=wan gateway-status=wan reachable distance=0 scope=10

2 ADC dst-address=2001:470:fa12:b3::/64 gateway=lan gateway-status=lan reachable distance=0 scope=10


/ipv6 address print detail
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local
0 G address=2001:470:fa12:a1::b3/64 interface=wan actual-interface=wan eui-64=no advertise=no

1 G address=2001:470:fa12:b3::1/64 interface=lan actual-interface=lan eui-64=no advertise=yes

2 DL address=fe80::21d:7dff:fe72:75e0/64 interface=lan actual-interface=lan eui-64=no advertise=no

3 DL address=fe80::204:76ff:fe8d:c879/64 interface=wan actual-interface=wan eui-64=no advertise=no

4 DL address=fe80::207:e9ff:fe08:b9ca/64 interface=hotspot actual-interface=hotspot eui-64=no advertise=no


/ipv6 neighbor print detail
Flags: R - router
0 address=ff02::1:ffa1:1 interface=wan mac-address=33:33:FF:A1:00:01 status="noarp"

1 R address=2001:470:fa12:a1::1 interface=wan mac-address=00:0C:42:32:77:A9 status="stale"

2 R address=fe80::20c:42ff:fe30:8c12 interface=wan mac-address=00:0C:42:30:8C:12 status="stale"

3 address=ff02::1 interface=wan mac-address=33:33:00:00:00:01 status="noarp"


This is what the out-put I have got so far.


Best Regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: ipv6 arp entry issue in MT OS 5.4

Fri Jun 17, 2011 4:45 pm

Looks good to me. Is the test pc actually receiving a SLAC address on the link?
 
litu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Thu Jul 08, 2004 7:49 am
Location: Sylhet, Bangladesh
Contact:

Re: ipv6 arp entry issue in MT OS 5.4

Fri Jun 17, 2011 9:53 pm

Dear fewi

Please see the PC that have the following TCP/IP settings:

Windows IP Configuration

Host Name . . . . . . . . . . . . : litu-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-24-1D-3D-9B-D2
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:470:fa12:b3:11fb:d93b:ce52:3eac(Preferred)
Temporary IPv6 Address. . . . . . : 2001:470:fa12:b3:955c:44b3:6516:ea0b(Preferred)
Link-local IPv6 Address . . . . . : fe80::11fb:d93b:ce52:3eac%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.12.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::21d:7dff:fe72:75e0%11
192.168.12.1
DNS Servers . . . . . . . . . . . : 180.211.180.66
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter 6TO4 Adapter:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 9:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:2c5a:1e36:4b2c:4bba(Preferred)
Link-local IPv6 Address . . . . . : fe80::2c5a:1e36:4b2c:4bba%13(Preferred)
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{875FB38D-2E6C-49F7-B399-F4D07EFFB6B1}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes


Regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: ipv6 arp entry issue in MT OS 5.4

Fri Jun 17, 2011 11:50 pm

Looks fine to me. SLAC picked up the global, default gateway is the router's link local. It should work. Maybe someone else sees the problem.
 
litu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Thu Jul 08, 2004 7:49 am
Location: Sylhet, Bangladesh
Contact:

Re: ipv6 arp entry issue in MT OS 5.4

Sat Jun 18, 2011 7:19 am

Dear fewi

Thanks for your help.

Best Regards

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], iDaemon, jaclaz, pturmel, qwertykolea, woland and 235 guests