Monday, September 8, 2008

Howto IPV6 on XP, FortiOS

Compare V4 and V6
Ipv4 IPV6
Ethernet II: type field=0x800 Type field=0x86DD
Address: 32 bits in length 128 bits in length
Public address Global unicast address: 2000::/3
169.254.0.0/16 (address autoconfig process) Link local address: FE80::/64
Private address Site local address: FEC0::/64
ARP request(broadcast) multicast (ff02, neighbor solicitation)
arp reply (unicast) unicast (neighbor advertisement)

Note: If use link local address to test, the command need to specify the port:
FGT#exe ping6 -I port1 fe80::1


1, XP =>172.18.9.28
a, C:>ipv6 install
b, C:>ipv6 if
c, C:>ping6 ::1
d, C:>netsh interfa ipv6 add address 172.18.9.28 2001:0:0:89::28
e, C:>netsh interface ipv6 show interface
f, C:>netsh interface ipv6 add route ::/0 172.18.9.28 2001:0:0:89::1 store=persistent

2, FortiOS

config system interface
edit "vlan89"
set vdom "root"
set ip 172.18.9.86 255.255.255.0
set allowaccess ping https ssh snmp http telnet
config ipv6
set ip6-address 2001:0:0:89::36/64
set ip6-allowaccess ping
end
set interface "internal"
set vlanid 89
next
end

config router static6
edit 1
set device "port1"
set gateway 2001:0:0:1::37
next
end


3, Linux ==>172.18.9.13
http://tldp.org/HOWTO/Linux+IPv6-HOWTO/x1052.html

# /sbin/ifconfig inet6 add ipv6address/prefixlength
# /sbin/route -A inet6 add 2000::/3 gw 2001:0db8:0:f101::1
# /sbin/route -A inet6 del 2000::/3 gw 2001:0db8:0:f101::1

No comments: