So i just purchased a linux (centos) server with /64 IPV6 subnet. I want to use these IP's for outgoing requests especially.  How on earth can we add that many IP addresses to the network interface? Are there any workarounds for this?
7540
I know that the ip tool lets you bind multiple addresses to an interface (eg, ). Right now, though, I'm trying to build something on top of IPv6, and it would be really useful to have an entire block of addresses (say, a /64) available, so that programs could pick any address from the range and bind to that. Needless to say, attaching every IP from this range to an interface would take a while.  Does Linux support binding a whole block of addresses to an interface?
110914
According to my IPv6 tunnelbroker  the world will end in approximately 712 days when we finally run out of IPv4 addresses.  Would it be possible to enable IPv6 access to the Stack Exchange family of websites?
59507
I have a Linux server (Ubuntu 12.04) I'm using to learn as much as I can about server management. I've got as far as getting a full LAMP setup running, but have hit a dead end trying to get a domain name to point to my server.  I've set up a virtual host in an Apache .conf file, and set up the IP address in the hosts file with the domain name, and have pointed the A record to the IP address with no luck. I've also installed bind9, but thought I'd see if I'm going in the wrong direction rather than messing anything up with that.  What is the best way to get a domain name up and running - ideally in a way that would be production ready rather than a temporary setup  EDIT: Thanks for the tips - just to better inform the situation - I have a few spare domain names registered that I can use, and I'm renting a VPS to play with. Currently I have the DNS * and @ A record pointing to the IP, but the nameservers are with the registrar if that makes a difference?
48486
I'm doing some computer network homework and I'm supposed to develop some sort of Peer to Peer file sharing software, and when I wanna test it I need to run a few (5) instances on my linux/Ubuntu 11.10 . which means each one need to has a unique IP address. I heard I can do that but I dunno how. how can I have many IP addresses on a single computer? thanks
119051
Why is IP Address listed with this notation 172.18.0.150/24? I mean the ip is 172.18.0.150 only why it haves /24?, and then whatever what subnet that is on should be someone else's worries, no?  3: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether f8:b1:56:ba:ae:ee brd ff:ff:ff:ff:ff:ff inet 172.18.0.150/24 brd 172.18.0.255 scope global eth0   If I want to reach 172.18.0.150 on some interface (ethX) on another computer I could add in the routing table of that computer:  ip route add 172.18.0.150/25 dev ethX or ip route add 172.18.0.150/24 dev ethX or ip route add 172.18.0.150/23 dev ethX or ip route add 172.18.0.150/8 dev ethX    right? So what does /24 really have to do with my address on my NIC? It seems it only has to do with routing, no? So why list it in ip addr?  Is 172.18.0.150/24 on the same "net" as 172.18.0.150/8 or are these two completely different IP addresses?
103063
I was putting the following in /etc/sysctl.conf in Ubuntu 16.04 and ipv6 was disabled.  net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1   In Ubuntu 18.04 I have to add the following to grub.  GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"   Just wanted to have confirmation whether this is the new way in Ubuntu 18.04 to disable IPv6.
124207
The situation may be resolved by my intention to purchase an IPv6 prefix for the VPS, but in the mean time I'd quite like to know if this is possible.  Basically what I want to achieve is a simple interface to Node.JS apps running on the VPS via domain names, so that for instance I could have "steak.chaos-kitten.com" pointing to one node.js app and "lister.chaos-kitten.com" pointing to another, and perhaps "chaos-kitten.com" itself pointing to a third.  I know you can't use DNS to point to a specific port, but is there some software solution I can employ that will redirect incoming GET requests to the appropriate node.js app based on the domain name?
75379
From my understanding, all IP addresses of the form 127.x.y.z are loopback addresses. Now that seems to be quite a waste to me; indeed, already more than one address seems like a waste.  Is there any use in having so many loopback addresses?
34104
I made a server and used my IPv4 address for the IP. I decided to scratch that server and make a Bukkit server so I can use plugins. I tried to use my IPv4 address which I used for my other server but I keep getting the message [17:31:15 WARN]: ****FAILED TO BIND TO PORT!  Is there any thing I can do to get a new address to use or is there a way to delete the old server? Do I need to use a different computer? Please help! I've don't know how to fix this problem. If you have any suggestions please tell me and I'll give it a try.
65246
Ubuntu provides some good information on how to enable UFW and on how to enable IPv6 with miredo:       But what is missing is information on how to properly configure UFW to let Miredo work, as as soon as I enable UFW IPv6 stops working:  $ ufw disable $ ping6 ipv6.google.com PING ipv6.google.com(2a00:1450:8004::93) 56 data bytes 64 bytes from 2a00:1450:8004::93: icmp_seq=1 ttl=56 time=1886 ms $ ufw enable $ ping6 ipv6.google.com PING ipv6.google.com(2a00:1450:8004::6a) 56 data bytes ping: sendmsg: Operation not permitted   So how do I properly configure both Miredo and UFW together that basic IPv6 is working, but with all other incoming traffic being blocked?
16180
I want to run a minecraft server (port 25565) and have it send to my external address for others to play, then to my hostname (I am assuming this is automatic - Do I need a rule for this too?).  But I need to map my ipv4 address (or port 25565) to my external address. I have opened the ports on my router config, so this is all I need. Thanks!
78065
one of my servers (Debian 5.0.6) has two public ip-address on the same interface. This used to work well for months but suddenly it is using "the wrong" ip addresses for outgoing connections. This is a problem because the reverse lookup will not match and emails therefore get spam points.  eth0      Link encap:Ethernet  Hardware Adresse 00:1b:21:14:8e:9c             inet Adresse:81.169.180.51  Bcast:81.169.180.51  Maske:255.255.255.255           inet6-Adresse: fe80::21b:21ff:fe14:8e9c/64 Gültigkeitsbereich:Verbindung  eth0:0    Link encap:Ethernet  Hardware Adresse 00:1b:21:14:8e:9c             inet Adresse:85.214.157.120  Bcast:85.214.157.120  Maske:255.255.255.255   Kernel-IP-Routentabelle Destination     Router          Genmask         Flags Metric Ref    Use Iface 81.169.180.1    0.0.0.0         255.255.255.255 UH    0      0        0 eth0 0.0.0.0         81.169.180.1    0.0.0.0         UG    0      0        0 eth0   Currently it is using 85.214.157.120 for outbound connections. How do I get it to use 81.169.180.51?  Edit: The netmask of 255.255.255.255 is consistent with both documentation and DHCP response of the hosting company. Calling /etc/init.d/networking restart multiple times will eventually end up with the correct ip-address for outbount connections. But that is obviously not a stable solution. /Edit  Edit 2: To make sure that the host route is not related to my issue, I setup a local test network:  eth0      inet Adresse:192.168.0.2  Bcast:192.168.0.255  Maske:255.255.255.0 eth0:0    inet Adresse:192.168.0.3  Bcast:192.168.0.255  Maske:255.255.255.0  192.168.0.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0 0.0.0.0        192.168.0.1     0.0.0.0         UG    0      0        0 eth0   If anyone has an idea how to make sure that source ip-address 192.168.0.2 is used on outbound tcp connections, I'd be thankful. /Edit 2
36120
My ISP has started blocking port 25 so I can not send email through my dedicated server any more.   I have several options:   Send email through the SMTP server provided by my ISP. Any problems with this? Setup mu server so that it receives email on another port instead of port 25     No one else sends email through my server so it should be OK. How do I do this on a Linux server? Buy a static client IP - these are not being blocked so far.   Which one is preferable?
94622
I have written an app which will run on a server. I have little experience with network configuration and such things.  Now I have set-up the server and everything works how I want however I want 2 things   set the ip of my server to a static ip ideally be able to acces the server with a url like mytestserver.test or something like that   I do have experience with command line linux and windows but never needed to do anything with networks as I usually work with embedded systems  e\ my distribution is debian on the raspberry pi
81238
I have an Ubuntu server behind a NAT router / firewall. I would like to add another server, serving content from both servers over http(s). As I understand it I can have the "main" server request data from another IP depending on which vhost is being called.   However I need to understand how that is done and which kind of setup is needed. Is the data being routed through the "main" server or is the data served directly from server 2? Is there any other sharing needed to happen between servers like access to the files?
123706
I am wondering if there is anything (software or hardware) out there that can do something I think I may have made up, Dynamic Static IPs. The idea is that when a new device connects to the local network this device/software acts as a DHCP server, if the device is new then it dynamically assigns it a new address that has never been used before and stores this MAC Address IP Address combination in a database, if the device's MAC is in the database the devices gets the same IP as before.  I am aware this is similar to sticky IP allocation but I don't want the IPs to stick for a while I want them to be superglued on for ever.  Bonus question: Is this possible using a Raspberry Pi running Raspbian on a network with around 100 devices? The RPi is already acting as the DHCP server and the router has this capability but it is turned off.  Many thanks in advance for any and all help offered!
114948
I know about the "hosts" file that can map ips to static names.  But I want to do the same thing inside the router, so I can access this "hosts" file by any computer on that LAN. I have D LINL router. how can I achive my target?