Results 1 to 7 of 7
Hi,
Does anyone know if there is any way to configure 50K "virtual" IPv6 addresses on loopback device in Linux?
The aim is not to add all 50K IPv6 addresses ...
- 02-02-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 4
How to support 50K IPv6 addresses on a single machine?
Hi,
Does anyone know if there is any way to configure 50K "virtual" IPv6 addresses on loopback device in Linux?
The aim is not to add all 50K IPv6 addresses one by one on the loopback/ETH device which will probably mess up the ip table on the system.
In IPv4, I am able to achieve that by specifying the IP address subnet on loopback device (e.g: "ip addr add 10.1.0.0/16 dev lo").
The same command does not seem to work the same way for IPv6. It only adds a single IPv6 address on loopback device and it automatically adds an "unreachable route" entry on the ipv6 route table for that IPv6 network prefix.
The reason I need this is because I am working on an application which tries to simulate 50K IPv6 addresses on a single Linux box.
The kernel version I am currently using is RHEL 2.6.9.55.
Any help would be greatly appreciated!!
Thanks!
Kai
- 02-06-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Well, that's a pretty old kernel. RHEL is currently at 2.6.18-164.11. It may be that there are updates to the IP network stack since your system was installed/updated which will affect this. Don't know for sure. You need to check w/ Red Hat directly I think. If you don't have an active subscription, you can at least post your question to their user/support forums.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-07-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 4
Thanks for your reply and suggestion.
- 02-08-2010 #4Just Joined!
- Join Date
- Feb 2010
- Posts
- 4
I just tried on RHEL5 (2.6.18-164) kernel and still see the same behavior.
- 02-08-2010 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Well, I'm not familiar with IPv6 on my system as yet - my ISP doesn't support it unless I want to get T1 service - so it is kind of a moot point as far as I'm concerned. As I said, you might want to post your question to the actual Red Hat forums. Someone there likely has an answer you can use.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-08-2010 #6Just Joined!
- Join Date
- Feb 2010
- Posts
- 4
Yup, I have submitted the question to Red Hat support center. Hopefully I can get some answer pretty soon.
Thanks!
- 01-17-2011 #7Just Joined!
- Join Date
- Jan 2011
- Posts
- 1
ipv6 loopback restriction
have you found a neat solution???
proposed solution are cumbersome and are missing the whole ipv4 loopback magic.
I am really missing the multiple ip loopback capability on ipv4; Such you can test application traffic ip handling running locally on the same sytem knowing the whole 127.0.0.0/8 ip range is fully yours, not be worry about outside interference, simulating multiple server working together.
My understanding ipv6 prefix fc00:: was doing the exact purpose, but was scrapped by RFC3879, for concerns which still escape me...


Reply With Quote
