1
vote
1answer
921 views

Change default route to DHCP interface without a route push?

How can I change the default route to utilize eth1 (DHCP), instead of eth0 (static)? I want this to be a permanent solution persistent through reboots. Kernel IP routing table Destination Gateway ...
0
votes
1answer
46 views

change route to website - Gateway timeout [closed]

My website has to connect to a web service, but sometimes it is receiving a Gateway Timeout, sometimes it works allright. I'm guessing the route it's going on is wrong. Right now, the traceroute is ...
0
votes
0answers
300 views

Ubuntu 12.04 64 server eth0 DHCP, eth0:1 alias static set primary

Existing /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp auto eth0:1 iface eth0:1 inet static ...
0
votes
1answer
228 views

Using iptables to forward traffic to a single IP address

The setup: Debian; acting as the network's router using iptables, fail2ban Because of external requirements, both networks are 192.168.1.x. eth0: 192.168.1.1 eth1: 192.168.1.2 Ubuntu (192.168.1.3) ...
0
votes
1answer
55 views

Setting Gateway In Linux

i am having Ubuntu box with two nic,eth0:for private and eth1 for public with static ip assigned. on eth0:192.168.30.1 eth1:x.x.106.111 I want to set this box as Default gateway for all the other ...
1
vote
2answers
360 views

no route to default gateway

I just lost about all my hair on this one: I got an ubuntu 12.04 machine on ip address 192.168.0.100, gateway 192.168.0.1 A router on 192.168.0.1, running a forwarding dns ping 192.168.0.1 - or ...
1
vote
2answers
2k views

Stop local emails being sent to relay host with postfix

I've recently signed up to SMTP2GO (smtpcorp). I've setup postfix on one of EC2 servers and have pointed it to my smtp2go account: relayhost = [smtpcorp.com]:2525 Now all my mail is being routed ...
0
votes
1answer
132 views

Route local traffic to ip1:port to extern ip2:port

I have a service setup that redirects after a succesfull login (Couchbase), but the IP it transfers to is an local one, where the client that is connecting to cannot reach. How can I setup iptables ...
1
vote
2answers
590 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 ...
1
vote
2answers
295 views

Can't route specific subnet thru VPN in ubuntu

I'm having issues routing traffic thru VPN. Here's my setup I have 3 hosts, let's call them A, B and Z B and Z have a VPN connection in the 10.10.10.x SUBNET A and B have a direct connection in the ...
-1
votes
2answers
121 views

Adding More IPs to a Netcard on Linux

How do I add more IP addresses to a network card on Linux? Do I use the route command? It's Ubuntu Server 10.04 LTS.
1
vote
3answers
137 views

Routing / binding 128 IPs to one server

I have a Ubuntu server with 128 ip's (static external ips 86.xx.xx.16), and I want to crawl pages thru different ip's. The gateway is xx.xxx.xxx.1, the main ip is xx.xxx.xxx.16, and the other 128 ip's ...
4
votes
1answer
611 views

Default route is missing

I upgraded my server from Ubuntu 8.10 to 9.04 and now my default route is missing. So every time I boot I have to manually add it back with the command: sudo route add default gw 192.168.10.1 How ...