From: Kosta Pribić Date: Fri, 16 Oct 2009 13:01:08 +0000 (+0200) Subject: quaggini pokusaji da digne IPv6 interfaceove i route rezultiraju s greskom (-EINVAL... X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=956fe950fa10029f7b47886b1567b3660f401a73;p=imunes.git quaggini pokusaji da digne IPv6 interfaceove i route rezultiraju s greskom (-EINVAL), pa zakomentiravamo --- diff --git a/linux/quagga.tcl b/linux/quagga.tcl index ecc5e1d..e36edee 100755 --- a/linux/quagga.tcl +++ b/linux/quagga.tcl @@ -93,10 +93,11 @@ proc $MODULE.cfggen { node } { if { $addr != "" } { lappend cfg " ip address $addr" } - set addr [getIfcIPv6addr $node $ifc] - if { $addr != "" } { - lappend cfg " ipv6 address $addr" - } +# TODO: IPv6 Quagga support +# set addr [getIfcIPv6addr $node $ifc] +# if { $addr != "" } { +# lappend cfg " ipv6 address $addr" +# } if { [getIfcOperState $node $ifc] == "down" } { lappend cfg " shutdown" } @@ -117,9 +118,10 @@ proc $MODULE.cfggen { node } { foreach statrte [getStatIPv4routes $node] { lappend cfg "ip route $statrte" } - foreach statrte [getStatIPv6routes $node] { - lappend cfg "ipv6 route $statrte" - } +# TODO: IPv6 Quagga support +# foreach statrte [getStatIPv6routes $node] { +# lappend cfg "ipv6 route $statrte" +# } return $cfg } @@ -231,9 +233,10 @@ proc $MODULE.start { eid node } { upvar 0 ::cf::[set ::curcfg]::[set node]::node_id node_id nexec vzctl exec $node_id sysctl -w net/ipv4/ip_forward=1 - nexec vzctl exec $node_id sysctl -w net/ipv6/conf/all/forwarding=1 +# TODO: IPv6 Quagga support +# nexec vzctl exec $node_id sysctl -w net/ipv6/conf/all/forwarding=1 - puts " $eid $node ima aktivan IPv4 & IPv6 forwarding" + puts " $eid $node ima aktivan IPv4 forwarding" }