Sei sulla pagina 1di 3

//CentOS 5.

6 virtual machine does not have IPv6 networking, even though IPv6 mod ules are loaded. bash-3.2# /etc/init.d/network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] FATAL: Module off not found. CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support Bringing up loopback interface: [ OK ] Bringing up interface eth0: FATAL: Module off not found. CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support [ OK ] FATAL: Module off not found. CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support //POPRAVITI U FAJLU modprobe.conf ~# cat /etc/modprobe.conf alias scsi_hostadapter ata_piix options ip_conntrack ip_conntrack_disable_ve0=1 options ipv6 disable=1 //STAVITI #options ipv6 disable=1 //Enable global IPv6 initialization nano /etc/sysconfig/network NETWORKING_IPV6=yes

nano /etc/sysconfig/network-scripts/ifcfg-eth0 //konfiguracija interejsa DEVICE=eth0 ONBOOT=yes BOOTPROTO=static HWADDR=01:B0:D1:E7:7F:78 IPADDR=192.168.21.75 NETMASK=255.255.255.128 IPV6INIT=yes IPV6ADDR=1234:470:e1ce:1::100/64 IPV6_DEFAULTGW=1234:470:e1ce:1::1 ############################## ###### IP #################### ############################## //Adding an IPv6 address to an interface ip addr add 2010:AAA:1::100/64 dev eth0 //Removing an IPv6 address from and interface ip addr del 2010:AAA:1::100/64 dev eth0 //Adding a route ip route add 2010:BBB:1::1 dev eth0 ####################################### ##### /etc/sysconfig/network ########## ####################################### Controls global IPv6 configuration NETWORKING_IPV6

yes Enable global IPv6 initialization no Disable global IPv6 initialization [default] IPV6FORWARDING yes Control IPv6 forwarding (box acting as router) no Disable global IPv6 forwarding [default] IPV6_AUTOCONF Control IPv6 autoconfiguration globally (e.g. accecpt router advertisements) yes Enable global IPv6 autoconfiguration (only, if global forwarding is disabled ) [default] no Disable global IPv6 autoconfiguration (only, if global forwarding is disable d) IPV6_AUTOTUNNEL Control IPv6 automatic tunneling (device sit0) yes Enable automatic IPv6 tunneling no Disable automatic IPv6 tunneling [default] IPV6_DEFAULTGW [optional] Control default route setup <ipv6address[%interface]> Specifying gateway address <interface> Specifying gateway device only IPV6_RADVD_PIDFILE [optional] Location of radvd's PID file (needed, if default isn't valid) <pid-file> Specify filename

######################################### ###### ICMPv6 ########################### ######################################### //Kada se konfigurise IPv6 rutiranje na ruteru tada je i omogucen ICMPv6 protoko l koji je pandan ICMP za IPv4 ICMPv6 ima istu ulogu koju ima ARP za IPv4. Kada se na mrezi pojave dve IPv6 iste adrese kako nebi doslo do konflikta ruter preko ICMPv6 protokola koristi "IPv6 Router Advertisement Message" koji ima vrijednost 134 "ICMPv6 Type = 134" i sa ovim paketom krajnjim hostovima nudi sledece informacije: 1.One or more onlink IPv6 prefixes that nodes on the local link can use to autom atically configure their IPv6 addresses {na ovaj nacin krajnji host uzme prefix od difaltnog gateway i na njega doda s voju mac adresu kako nebi doslo do konflikta medju adresama } 2.Lifetime information for each prefix included in the advertisement 3.Sets of flags that indicate the type of autoconfiguration (stateless or statef ull) that can be completed 4.Default router information (whether the router sending the advertisement shoul d be used as a default router and, if so, the amount of time, in seconds, that the router should be used as a def ault router) 5.Additional information for hosts, such as the hop limit and MTU a host should use in packets that it originates %%%%%%%%slika ICMPv6%%%%%%%%%%%%% IPv6 Router Advertisement Message se moze onemoguciti na interfejsu sa sledecom komandom: hostname(config)#int f0/0 hostname(config-if)# ipv6 nd suppress-ra

Potrebbero piacerti anche