0
votes
1answer
45 views

Limit on IPs assigned to one interface

I have a unique application where I need to use many IPs on one server. Will Ubuntu networking crash if I assign 2048 IPs to one eth0 interface?
1
vote
0answers
55 views

heartbeat doesn't work on virtual interface

I try to use vertual interface as broadcast for heartbeat(bcast in ha.cf). When I try it I see this message in syslog: May 23 12:17:26 Ubuntu2 heartbeat: [1107]: ERROR: glib: Error setting socket ...
1
vote
3answers
1k views

Block range of IP Addresses

I am getting bombarded with attempted hacks from China all with similar IPs. How would I block the IP range with something like 116.10.191.* etc. I am running Ubuntu Server 13.10. The current line ...
0
votes
0answers
77 views

Edge firewall on Ubuntu, dynamic IP address, static DNS

We're setting up a software firewall, and one of the issues we're facing is that eth0 has a dynamic IP address. In /etc/network/interfaces we've got the following: # The loopback network interface ...
1
vote
2answers
261 views

Arbitrary loopback ip addresses besides 127.0.0.1

I am developing a web app that has to produce different output based on ip. For testing and during development it would help a lot if I could have more loopback ip addresses besides 127.0.0.1. Is ...
1
vote
1answer
92 views

2 servers with 2 ip adresses cant ping each other

I rent 2 root servers from my provider that run Ubuntu 12.04.01 LTS. I ordered a second ip for each of them and configure them in /etc/network/interfaces as follows: iface eth0:1 inet static ...
0
votes
1answer
259 views

Add IP address to Ubuntu 13.10 and separate webserver requests

I've got a Ubuntu 13.10 VPS server with 1 IPv4 (111.111.111.111) (and 1 IPv6 address). I recently requested an extra IP address (222.222.222.222) but I can't seem to figure out how to add the new IP ...
0
votes
1answer
242 views

Ubuntu server not using localhost IP for internal communication

I am using Ubuntu Server 13.04 on my mail system. I am just setting the Postfix and Amavis. In every config for communication I am using 127.0.0.1 as IP address to pass mails to amavis. When I look to ...
0
votes
1answer
148 views

Can't establish connection between my VPS and itself

I have a VPS with two IP addresses: 74.117.158.92 and 74.117.159.204. If you ping them, you'll find they are both responding. I can also ping google.com etc. from either of them. But I cannot ping ...
0
votes
0answers
872 views

Always get “SIOCADDRT: File exists” when restarting networking on ubuntu

I have a problem very similar to getting error "SIOCADDRT: File exists" when trying to restart network on ubuntu, but it is not a duplicate for reasons explained below. My ...
0
votes
2answers
107 views

VPS multiple IP's

I have added 2 more IPs and PHP is not working on those domains. Looks bizarre. I must've done something wrong but cannot figure out what. IPs: 111.111.111.111, 222.222.222.222 and 333.333.333.333 ...
0
votes
1answer
134 views

the network dropped on ubuntu 12.04 server but came back

I have a ubuntu server, type 12.04 that serves as a mysql box and intranet server. Without notice it dropped all packets (www, ping and mysql). What logs should i check - the messages log is not in ...
0
votes
2answers
185 views

Elastic IP on Amazon EC2 - How does this effect rate limiting?

I have been reading about elastic IP's with Amazon EC2 instances. I was wondering, a lot of the stuff I do with my server is based on IP limits, like for example google map geocoding which is limited ...
0
votes
1answer
109 views

Assigning a static IP to a VMWare ubuntu instance? [closed]

I run VMWare on my Mac laptop. What I'm trying to accomplish is that every time I start an Ubuntu virtual machine I created, the same static IP (e.g., 192.168.0.15) gets assigned to it by my Cisco ...
1
vote
2answers
220 views

How can I configure ubuntu to have a static IP address but still use DHCP for other configuration information?

I want to use DHCP to pick up the network configuration information including DNS, but still assign a static IP address. On OS X, this is "Using DHCP with manual address", but I see no similar ...
0
votes
2answers
451 views

Whitelist IP from google-authenticator in sshd pam

My Ubuntu 12.04 server uses the google-authenticator pam module to provide two step authentication for ssh. I need to make it so that a certain IP does not need to type the verification code. The ...
-1
votes
1answer
186 views

Can I allow only TCP connections from inside my network, using iptables on Ubuntu?

Currently, I'm allowing all TCP connections to port 80 on my : -A INPUT -p tcp --dport 80 -j ACCEPT I'd like to allow all TCP connections to port 5432, but only from my local network. Is there a ...
0
votes
3answers
1k views

Ubuntu second static IP, ifconfig, /etc/network/interfaces

I would like to add a second static IP to my local Ubuntu 11.10 desktop machine and have it automatically available after rebooting. So far I am successfully using ifconfig to to temporarily set up an ...
0
votes
1answer
136 views

Configure FTP Server with two different IP addresses on different subnets and separate NICs

I have an FTP server that's on a low bandwidth connection. We want to set it up with a second IP address on a much higher bandwidth connection. I set up the second interface with a static IP address ...
0
votes
1answer
456 views

Ubuntu IP Configuration - multiple subnets & interfaces

Have a 'new' mailserver running postfix on Ubuntu. We are having some problems configuring the subnets & interfaces. Basically 2 subnets (.253. & .254.) need to be connected through the 3rd ...
0
votes
2answers
96 views

multiple ip for a server not reachable

FYI: I've read everything on Serverfault related to this question and have faced a different issue. Simply put, I've got one server (apache2) with couple of sites on it. It currently has 1 ip. I'm ...
-1
votes
1answer
75 views

Binding IPs to non-root users

I want to bind IPs to non-root users so that all outgoing applications will use that IP for the user. I have this: iptables -t nat -A POSTROUTING -m owner --uid-owner xxx -j SNAT --to-source ...
2
votes
1answer
2k views

Why am I seeing dropped packets in the NIC stats on my Ubuntu server?

I see dropped packets using ifconfig on my eth0 interface: eth0 Link encap:Ethernet HWaddr 00:15:17:0d:03:ca inet addr:10.0.1.2 Bcast:10.0.1.255 Mask:255.255.255.0 UP BROADCAST ...
-3
votes
1answer
74 views

Two websites on server with two public IPs Ubuntu server [closed]

I've bought a VPS witch has 2 public IP addresses assigned to it. I want to configure Apache so I can have two different sites (in separated directories), each one available from a different public ...
0
votes
3answers
481 views

Server is accessible through domain name from Outside, but not from inside the Intranet

I have an apache webserver / mailserver (running on Ubuntu) setup like following: Speedport Router with NAT for all required ports DynDNS to get the domain name by using a non-static IP address ...
1
vote
2answers
664 views

Ubuntu server acting as a two interface router

I'm trying to set up a squid proxy server using Ubuntu server 12.04 I'm very new to Ubuntu but I have managed to get some simple things done. I bought a second PCI interface and have managed to ...
2
votes
3answers
2k views

Ubuntu only allow incoming access from 192.168.0.0/8 or server IP address

How can I make it that only approved IP addresses have access to my Ubuntu server 12.04 I only just set it up.
0
votes
2answers
335 views

How to use the 2nd default IP address on Burst.net VPS?

I just bought a VPS from Burstnet. The VPS comes with two static IPs but I dont know how to use the second IP. When I check the IP address, it always shows the first IP. How can I let it show the ...
3
votes
1answer
672 views

iptables preroute localhost

I would like to forward all incoming traffic from a certain port to another one using iptables. The problem is that prerouting doesn't work for traffic from localhost. This topic suggests a solution: ...
1
vote
3answers
5k views

How Do I Block an IP Address on ubuntu?

I have configured Ubuntu machine as router. Steps of NAT configuration are given below: #iptables -F #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE #iptables-save ...
0
votes
1answer
166 views

Ubuntu - New Ubuntu server won't accept new public IP

I'm currently setting up the servers and since I gave server HachiSoftware02 it's public IP it won't let me connect to it via SSH. When it had a local IP it worked fine and I need the server for ...
1
vote
1answer
550 views

Why does my domain resolve incorrectly on the server's network?

I've just set up a home server to host my site. I can access the site fine from any network apart from my home network. I thought it might be an issue with DNS, so I decided to ping my domain from my ...
1
vote
1answer
512 views

Heartbeat ip failover on Ubuntu

I have 3 servers, 1 as load balancer and 2 as web-servers(apache tomcat) hosting some jsp pages. I want to add one more load balancer in active/passive mode to avoid SPOF and below is the expected ...
0
votes
3answers
568 views

Network problems running multiple Virtual Box VM

Is it possible to run multiple Virtual Box VMs on a desktop computer? I am running windows 7 as the host OS and have 3 Virtual Box VMs running Ubuntu Server OS. Each VM works fine on its own when ...
0
votes
1answer
96 views

Strange IP on auto ServerName - Apache2 restart

I'm not sure what to search for on google for this, but something strange happened when I restarted apache2. I'm using an ubuntu server, 11.04, and got this message apache2: Could not reliably ...
0
votes
1answer
219 views

Setup dhcpd without gateway on purpose

I have an XP machine with two network interfaces. One is connected to my company's network (and the Internet). The other is a very local network which connects some hardware with my PC. Both the ...
0
votes
3answers
265 views

IP Binding Issue in IIS with Windows Server 2008

I have 2 servers connected to my router. One is running Windows Server 2008 R2 and the other is running Ubuntu. I have port 80 open on my router and sending traffic to Ubuntu. I have port 801 open and ...
0
votes
1answer
36 views

New portspace for different domains on the same IP

I've purchased a RootServer with one static IP included and the possibility to register up to four. For some extra cash of course. I'm running two different services on this root server with two ...
0
votes
1answer
828 views

Change VPS Default IP Address

I am using Ubuntu 10.10 I want to change my VPS's default IP. My VPS comes with two IPs, but it always show the first IP 184.22.111.120 when I check with this page: http://www.lagado.com/proxy-test ...
1
vote
2answers
222 views

Ssh connecting to Static ip

I have a static IP set on a Planet VRT-311S VPN router and port 22 (UDP and TCP) forwarded to an Ubuntu server on the LAN. I am still unable to connect to the Ubuntu server. I am currently using the ...
4
votes
1answer
2k views

irc2-ircd NickServ and ChanServ

I just set up an IRC server on my laptop for the local network. however, ChanServ and NickServ don't seem to be installed/available. How might I get them?
4
votes
4answers
936 views

change ip to dns in /etc/hosts on Ubuntu 11.04

in ubuntu 11.04, i'm trying to change dns to force it to point to another server let's assume the domain name is www.mysite.com and the ip 96.32.66.xx i changed /etc/hosts but when i open the browser ...
2
votes
3answers
3k views

getting error “SIOCADDRT: File exists” when trying to restart network on ubuntu

Error/stdout /etc/init.d/networking restart * Reconfiguring network interfaces... SIOCADDRT: File exists Failed to bring up eth0. ...done. netstat -nr Kernel IP routing table Destination ...
0
votes
1answer
391 views

Redirect port for specific hostname?

Lets say I have two domains pointing to my IP: first.com and second.com pointing to 127.0.0.1 When someone connects to first.com:6000 it should go to 127.0.0.1:6000. But when someone connects to ...
1
vote
1answer
1k views

Connecting to a KVM guest OS in Ubuntu

I am lost on this. Basically I am trying to set up a Ubuntu Server 10.10 as a virtual machine by using KVM. Everything went smoothly and I can even sudo-apt get packages from the guest OS. Now, ...
2
votes
3answers
2k views

How do I find out my host name and IP address on Ubuntu?

I know Windows has the ipconfig command to find out information about my host name and ip address. On Ubuntu I tried: tpconfig - was not installed on my machine iwconfig - did not give useful info ...
1
vote
2answers
99 views

Networking up 3 pcs issue

I'm feeling a bit stupid because this seemingly simple task is completely stumping me. I have 3 PCs: Client, Gateway and Server. Client needs to connect via Gateway to Server. Both PCs are ...
1
vote
1answer
464 views

Documentation on Kernel variables

I was wondering if some one can point to some good documentation which can give me detailed information about some kernel variable. I am right now mostly interested in the following variables / ...
0
votes
3answers
525 views

DNS for route between WAN & LAN

I have a few machines set up on my internal 192.168.1.* network and i have one public ip, my router is links all ports to on internal linux machine on my network 192.168.1.3. I want to know how to ...
3
votes
5answers
5k views

associate name with ip for ssh?

Let's say I just have an ip address for a server and I don't have a domain with it (it's just a database server, so it doesn't need a domain). I don't want to have to remember the ip address every ...