Networking :: Support 50K IPv6 Addresses On A Single Machine?
Feb 2, 2010
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.
View 6 Replies
ADVERTISEMENT
Sep 18, 2010
I'm trying to assign like 80 IPv6 addresses on eth0 for virtual webhosting, but after 55 addresses I get the following error:# ip addr add 2a01:9f8:a171:1651::4b:a8af dev eth0 RTNETLINK answers: File exists.What's the problem? I don't understand that error message at all. Is the number of IPv6 addresses per device somehow limited?Ubuntu 10.4.1 server, 64 bit.
View 1 Replies
View Related
Feb 4, 2011
I am able to retrieve IPv4 addresses with ioctl. But it is not returning IPv6 addresses. My requirement is to get both IPv4 and IPv6 addresses. I can not use getifaddrs() since it has to be common code between linux, solaris and aix. Solaris and AIX are not having getifaddrs(). Following code is returning only IPv4 addresses.
Code:
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netdb.h>
[Code]....
View 1 Replies
View Related
Mar 8, 2010
We have connected two systems with ethernet cables and have configured the two systems with ipv6 addresses. The IP of one system is 2001:0db8:0:f101::1 (let's say X::1) (This system runs OS Fedora 10) and the other is 2001:0db8:0:f101::2. (Let's say X::2) (This system runs OpenSuSE 10.3) We are able to ping from both systems to the other. We are able to ssh into the one with IP X::2 from the one with IP X::1, but not vice versa.
We have disabled iptables on both systems by using the following commands:
/etc/init.d/iptables save
/etc/init.d/iptables stop
on the fedora 10 system and
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P FORWARD ACCEPT
# iptables -P OUTPUT ACCEPT
on the openSuse system.
The error we get in trying to ssh from the openSuse system to the fedora system is:
ssh: connect to host 2001:0db8:0:f101::1 port 22: Connection refused
We're trying to write server and client code to send data from one system to the other using SOCK_DGRAM. The code works fine when we run both the client and server on the same system. However, we are not able to send data from one system to another when we use the IPv6 addresses to run the client and server programs.
The error we get is:
sendto(): Operation not permitted
The codes we are using for the server and client programs can be found here in beej's guide here : [URL]. We've only substituted the appropriate addresses in the right places... We've disabled the iptables...
View 1 Replies
View Related
Jun 23, 2010
I am trying to use link scope IPv6 addresses to permit two machines to connect using IPv6, but I cannot figure out how to do it without specifying the interface to use on every connection. Here is an example ping:
[root@ppatel-brn1 ~]# ping6 -c 3 fe80::204:75ff:feb6:2994
connect: Invalid argument
[root@ppatel-brn1 ~]# ping6 -c 3 -I eth0 fe80::204:75ff:feb6:2994
PING fe80::204:75ff:feb6:2994(fe80::204:75ff:feb6:2994) from fe80::214:22ff:febd:7c1f eth0: 56 data bytes
64 bytes from fe80::204:75ff:feb6:2994: icmp_seq=0 ttl=64 time=0.836 ms
64 bytes from fe80::204:75ff:feb6:2994: icmp_seq=1 ttl=64 time=0.286 ms
64 bytes from fe80::204:75ff:feb6:2994: icmp_seq=2 ttl=64 time=0.280 ms
[Code]...
View 3 Replies
View Related
Aug 25, 2011
I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:
Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000
he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[Code]....
View 2 Replies
View Related
Sep 25, 2010
My machine has ONE ethernet card and is on a LAN.IP address is assigned to hosts using DHCP.I can have more than one MAC address on LAN by running Virtual Machine and setting network to bridged. This way, my virtual machine simply acts like there is one more machine in the network.Running VMWare for this job is a a bit heavy on resources. Is there a way so that I can I can have 2 or more ip addresses with different MAC address on the same machine without having to run VirtualBox.
By googling, I think its related to bridging and tap. And, I am sure thatts NOT IP-ALIASING because in ip-aliasing both the ip addresses have the same MAC address.Basically, I want my system to have interfaces like:-eth0 - which was originally presentlo- thats always present :|newint0 - New interface with new MAC address and IP addresses which can access my LAN directly. Its like if I bind, let us suppose curl to this interface, its like a different connection
View 6 Replies
View Related
Jul 7, 2010
I want to know if sysklogd supports IPv6? I have downloaded latest version of sysklogd, which is 1.5 version. But, I didn't see any information about ipv6 support.
View 1 Replies
View Related
Apr 7, 2010
My router doesn't support IPv6. I'm wondering could IPv6 support be provided by just upgrading the firmware? I thought it was just a protocol. Also how does not having IPv6 support affect home users?
View 3 Replies
View Related
Apr 30, 2010
I get errors trying to virtual IPv6 Addresses i a lab environment. It works fine up to 2033 (?) adrressses, but when I try to add more i get "Cannot allocate memory" error:
# ifconfig eth0 add 2001:1b70:8282:2021:18:0:20:1
SIOCSIFADDR: Cannot allocate memory
This is on Ubuntu Server 9.10 (64-bit).
View 6 Replies
View Related
Feb 16, 2010
I recently installed Ubuntu Server 9.10 with the intent of using it as a platform for running a couple of Windows XP virtual machines along with Linux/Ubuntu.
I had no problems getting the server installed. Had no problems getting the network up and running so that I had access to both my internal network as well as external connectivity to the internet. Had no problems getting a VM installed and putting Windows XP inside of it. Had no problems setting up a bridge between the WinXP virtual machine and the physical ethernet card (eth0).
What Im having trouble with is figuring out how to bridge from multiple VMs AND Ubuntu natively through one physical ethernet card.
When I set up the bridge, it knocks out the static IP address of the ethernet card that was set up initially with Ubuntu when first installed before the VM was created and installed. Therefore, connectivity within Ubuntu natively is lost.
Similarly, am having trouble figuring out how the second VM (also going to be running WinXP) is going to get its connectivity since it doesnt seem to like me setting up 2 bridges to the same physical ethernet interface card.
I need all 3 machines to have static IP addresses and be visible/accessible from the external network for either web/mail/dns/etc servers on the Ubuntu side and for remote PC control functionality on the VM side.
I have tried setting up alias ethernet interfaces (eth0:1, eth0:2, eth0:3) with static addresses which work fine from native Ubuntu in presenting multiple IP addressees, but it seems that Im not permitted to bridge to these alias interfaces.
View 5 Replies
View Related
Feb 19, 2010
How do I assign IPv4 and IPv6 static addresses permanently in OpenSUSE 11.2? Currently I am only able to assign either IPv4 or IPv6 static address not both. I cannot find even the interfaces file(/etc/sysconfig/network/interfaces).
View 2 Replies
View Related
Dec 13, 2010
I am find myself in need of building what amounts to 3 ip networks on 1 physical lan.
first LAN is another companies network on the 10.0.0.0 network a mix of pc's and equipment
second is LAN new company network 192.168.168.0/24
third network is an ip phone system for both i would like to use 192.168.200.0/24
i am hoping to use the same dhcp server to do this, assigning address to the old company's 10. network via mac address reservation.
View 9 Replies
View Related
Jul 22, 2009
I used to play with gw6c ( a client for tunnel broker ) It works well with fedora9 , fedora 10, but not with leonidas. my rpm is gw6c-6.0-0.4.beta4.fc9.i386.rpm ( a little old!) when I tried to install i have got this: libcrypto.so.7 est ncessaire pou w6c-6.0-0.4.beta4.fc9.i386 I try to make a soft link to libcrypto.so.0.9.8k, but nothing; The question :-Is there a solution for that pb - did you know a better client for non native ipv6 connectivity?
View 2 Replies
View Related
Aug 31, 2011
I have been struggling to get FC15 to act as an IPv6 router for a while now, am sure I am missing something trivial.. The idea is that I have a ppp / adsl connection (this works fine), use the wireless card on my pc with hostapd and dhcpd to provide connections to other pcs (works fine), and radvd to delegate ipv6 addresses.
The issue seem to be that as soon as I turn on ipv6 forwarding (net.ipv6.conf.all.forwarding =1), the ppp connection no longer gets an IPv6 address. This means the router cannot ping any ipv6 address outside my network.
If I disable ipv6 routing, my router gets an IPv6 address on its ppp connection, and can ping things such as ipv6.google.com just fine, however (of course) no packets are forwarded from my network and radvd complains that forwarding is disabled.
View 1 Replies
View Related
Aug 4, 2010
Our system uses email to send fairly time-sensitive status messages between programs running on various servers on a WAN. Each email message is sent to two addresses (different servers). The problem occurs when one of the destination mail servers is off the network. I think because it's trying to send one email to two addresses, sendmail attempts delivery to the first address, then to the second address (i.e., serially). When this happens, it hangs for two connect timeout (CONNECT_TO) periods trying to connect to the offline destination, then after the timeout, it then delivers to the other destination. I'm trying to figure out how to work around that connection delay so it doesn't delay delivery to the other destination.
I'm working with the network guys to enable the right ICMP messages that signal when a network is unavailable, but I would also like to try having sendmail split the emails into two envelopes, then use parallel, independent connections for delivery.
After days of reading through the docs (O'Rielly Sendmail book + sendmail docs) I think one way to do this is to use multiple mail queues, but I can't decipher exactly how to do that from the docs.
There might be other, more elegant ways to do the same thing, but again, trying to decipher the docs has my head swimming. (This is my first experience with sendmail.)
View 1 Replies
View Related
Dec 29, 2010
Support for ipv6 keeps being put into the kernel and now into browsers.I blacklisted ipv6 in Slackware and that solved the slow internet response until I updated to the latest Opera and Firefox browsers. Both were horribly slow again. Firefox could be reconfigured to kill ipv6 by running about:config as a url and disabling ipv6.
The new Opera 11 is different. I can't find any config to disable ipv6. Does anyone have an idea?I reverted to Opera 10.11 in order to have zippy internet access again, and not "dialup modem" speeds.
View 5 Replies
View Related
Feb 12, 2016
I'm restoring an old TI Silent 700 terminal [URL] ... and have connected it to an RPi running the debian based Jessie release using a serial converter. After learning more than I wanted to about serial settings and support I now have it interfaced and communicating bidirectionally but have one last hurdle - proper support for a single case (uppercase only) terminal in agetty.
With the -U flag on it seems like the the login name is detected as needing conversion because lowercase login names work - but lower case passwords do not and once I get a bash prompt all input comes in as upper case. So the -U agetty flag only seems to apply to login name and is then forgotten (not passed on to login process or bash?) and various settings in stty like iuclc, xcase, iexten don't seem to work.
I'd really like to get this terminal working with native support but I'll also take a kludge of some kind (I've tried a tr pipe for example).
Here is what I think is the relevant portion of my systemd generator:
Code: Select all[Service]
ExecStart=-/sbin/agetty -U 300 %I $TERM
Type=idle
Restart=always
UtmpIdentifier=%I
TTYPath=/dev/%I
[Code] .....
View 1 Replies
View Related
Jan 9, 2010
I've recently bought the "new" Macbook from Apple. It obviously came with OSX preinstalled. And I'm obviously not satisfied with the way it works, I also need a FAT32 partition so I can share my files between all three OS's. Tricky business. And I thought later on I might try and create me a nice LFS system to learn about Linux and show of to my mates. But doesn't a single hard drive only support up to 4 partitions? So off I went and got Ubuntu running besides Mac. It wasnt recognized by neither the default boot-loader nor rEFIt straight away. I had to hold alt to come up with the special BIOS or something every time I needed to use Ubuntu (always).
I got up to a point where I could run Ubuntu with wireless, sound and pretty much everything working. Until the kernel updates were installed. Somehow I (or maybe it) managed to screw up and booting had become impossible, for it would crash halfway through with kernel errors and other undefined weirdnesses. Meanwhile I had tried installing Windows 7 on a different partition. Which I found to be catastrophic also. I was forced to put up with OSX, which in my opinion is fine at what it does but it doesn't do very much for me. After a couple of tries I had to give up on fiddling with Ubuntu for I needed Windows 7 to run software for school. So my current partition layout looks like this......
View 9 Replies
View Related
Apr 16, 2010
I just installed Fedora 13 on my ESX box.I have Fedora 13 Machine which was early having 1 network adapter.I added a new Interface type: e1000 to this VM.Now,My ifconfig says:
Code:
[root@fedora-13 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:BA:00:15
inet6 addr: fe80::250:56ff:feba:15/64 Scope:Link
All i was trying to provide IP to eth0 and eth1 through dhcp.is it possible to provide two IP address to eth0 and eth1 both through DHCP.
View 4 Replies
View Related
Jan 3, 2010
I am running Ubuntu 9.10 x64 on a relatively old laptop and I find Grub is taking about 20 seconds to initially load before booting the system. The laptop only has a single 120GB hard drive, and I chose the "use entire disk" option when installing, so I do not have any fancy partitioning scheme.When the system boots I get the "LOADING GRUB" text displayed and then shortly after it just shows the flashing cursor with no text, and stays there for about 20 seconds. After that it finally starts loading the system.All the searching I have done only turned up solutions relevant to people with multiple hard drives. This was not an issue on Grub 1.
View 1 Replies
View Related
Feb 3, 2011
Can I have 3 drives in one physical server and treat each drive like a server?
If so, would I install the operating system on each drive, and give each drive an IP address?
I was wondering if I could run a webserver emailserver and dbserver on a single machine? Then later on, move the drives to their own hardware.
View 9 Replies
View Related
Jan 27, 2011
i wonder how i can update one single thing on my debian machine? without apt-get upgrade. lets say i just want to update my awstats install but not my php install, or my kernel version but not someting else, how can i do this ?
View 12 Replies
View Related
Oct 26, 2009
I have apache server running on Fedora 11. I want to test Self-signed certificate for SSL setup with Apache.HOw can I setup?
View 1 Replies
View Related
Apr 4, 2011
I have a network of 100 machines, all with ubuntu Linux. Is there a limit to the number of machines that can connect to one single machine (at the same time)? For example, can I have 99 of my machines maintain continuous ssh connection to the 100th machine? Can I have every one of my machines (every one of the 100) maintain a continuous ssh connection to all other 99 machines? How much memory does each such a connection take?
View 2 Replies
View Related
Jun 14, 2010
I always keep my headphones as well as my 2.1 speakers connected simultaneously on my PC (Gigabyte motherboard). Both these audio devices work fine simultaneously on my Windows 7, but in Ubuntu, only my headphones work, speakers don't work at all. I tried changing some settings in SOUND PREFERENCES as well as ALSA SOUND MIXER, but not luck so far.
View 1 Replies
View Related
Sep 29, 2010
I want to know the configuration steps for 2 mail servers on diferent IPs. But I want this setup on single vmware machine(debian).
View 3 Replies
View Related
Jun 1, 2010
I have this intra net server project going on and now I moved to 10.04 however there are still some things that I would like to see clarification and instructions on. I am interested to set up multiple parallel websites for my apache server, however I am not sure how to do this exactly. Now I have solid address rivera.wippies.net and port 80 redirecting to my server. What I would like to get done is that I get multiple independent of each other websites for my server I was thinking of making websites like this
/var/www/site1 (which would be as rivera.wippies.net)
/var/www/site2 (which would be as rivera.wippies.net/othersite)
/var/www/site3 (which would be rivera.wippies.net/secondothersite)
etc, so that I have multiple "individual" websties for my server. Requirements would be that each of these websites could have SSL encryption as needed available too, since some of the website could have confidential information.
View 9 Replies
View Related
Mar 8, 2011
I have few virtual machines running on one of xen servers & I'm experiencing a problem booting up one of clients "domain".
How can I force this machine to boot up to runlevel 1? I can't see grub menu when first booting it up!
View 6 Replies
View Related
Jun 23, 2010
If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other clients? I have an existing 802.11g ADSL router, and I'm going to be building an HTPC which will have 802.11n. My laptop also has 802.11n, but at the moment it only connects at 54Mbps because thats what the AP supports. I'd like to be able to have the HTPC be a client of my ADSL router, but have my laptop be a client of the HTPC, so copying files to it will be faster.
View 1 Replies
View Related