IPv6 routes too much

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a case wherein I have a route to a network connected to my
linux machine via an interface, which I added like-

route add -inet6 9aa::/16 gw 2001:db8:0:242::2 dev eth0

Now, when I send packets to ipv6 addresses in this network, from my
linux server, I see kernel adding routes for each of these addresses.
Is this behaviour correct. How can it be avoided?

My problem starts when I have millions of addresses in this network
that I am trying to reach.

A look of my routing table shows-
9aa:0:0:250::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:251::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:252::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:253::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:254::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:255::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:256::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:257::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:258::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:259::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:25a::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:25b::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0
9aa:0:0:25c::/128                           2001:db8:0:242::2
             UGC   0      23       0 eth0

like this I get 10k routes
#cat /proc/net/ipv6_route | wc -l
10015


Any help is highly appreciated.

thanks,
Prashant
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs


[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux