1
vote
3answers
113 views

Setting up gateway on different subnet than IP address

My provider has a (stupid) setup where the IP address for the gateway is on a totally different IP range than the assigned IP address. They insist on doing this for whatever reason. I'm trying to get ...
1
vote
1answer
177 views

PFSense Different Gateway for different Hosts

I have a firewall software currently in use, however I am looking at replacing this with PfSense. I am looking to effectively replicate some of the settings on the current firewall we have in place. ...
1
vote
0answers
106 views

Proper way of setting gateway outside of subnet on FreeBSD?

I have a VPS running FreeBSD 10 and it is located in OVH's BHS datacenter. The gateway for my VPS is not in the same subnet as my IP address and when I went to set the gateway the usually way, it ...
0
votes
0answers
201 views

Some client in my network, sometimes can't ping Gateway and DNS server

I've a local network with 100-150 clients, one Core Switch and 10-12 switch that Switchs are connected to the Core Switch and clients are connected to switchs. In my network sometime some clients ...
0
votes
2answers
244 views

OpenVPN client as gateway for other clients

I have OpenVPN network with one server and two clients. When I setup my default route on C1 to go through S (which does have ip forwarding and NATing enabled), everything works as expected. The ...
0
votes
2answers
198 views

Accept incoming connection from a second gateway

I searched a lot about the question, but can't find solution for my situation. We've got a Windows 2003 server that runs Advantage Database Server (ADS) through which our site connects to our ...
0
votes
1answer
61 views

arpspoof: fetch packets of different gateway

I have to test a network which have 5 different gateways. I am connected to one of the gateway and I am able to ping the other gateway in the network. It is possible to generate fake arp request using ...
0
votes
0answers
40 views

Two network interfaces access from the third subnet

I faced the following problem. There is server (Ubuntu 12.04) with two NIC that have IPs 192.168.40.147 (eth0) in 192.168.40.128/27 subnet and 192.168.40.165 (eth1) in 192.168.40.160/27 subnet. Now we ...
0
votes
1answer
125 views

Server with two default gateways won't listen on the second gateway

I am testing a redundant internet connection setup that works like this - I have a network segment, 192.168.80.X It has two gateways - 192.168.80.1 - a FW connected to a frame relay line ...
1
vote
1answer
173 views

OpenBSD: Gateway outside subnet (works in Linux)

We need to set up an OpenBSD host to use a default gateway that's outside of it's subnet. This is all I need to do on Linux (not the actual IPs) to achieve it: ifconfig eth0 33.33.33.33/31 up route ...
0
votes
0answers
33 views

Remote domain clients use remote gateway instead of local gateway

I've a remote office, connected via VPN LANtoLAN to the main office where is located a server with 2003 SBS. In the remote office there is a dozen of clients not joined to the domain, that use local ...
1
vote
1answer
196 views

Two network cards - two routing tables?

I have sporadic routing problems in my setup which I suspect to be an issue with the routing and two network interfaces. I'm running two maschines with XenServer They both have a public NIC with an ...
0
votes
2answers
435 views

Two routes for localnet, how to delete the one without GW?

I have a system were I get sporadic routing issues. When looking into the routing table I get the following: localnet static.xx.xx.x 255.255.255.192 UG 0 0 0 eth0 localnet ...
1
vote
1answer
166 views

Configuring Debian as a gateway for two networks

Having a debian server with multiple NICs (eth0 and eth1) acting as a gateway. How would I be able to configure these NICs, so they can route the traffic from one to another. Network layout: ...
-7
votes
1answer
121 views

Use of 0.0.0.0 as Default Gateway? [closed]

Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 169.254.0.0 0.0.0.0 255.255.0.0 ...
0
votes
2answers
105 views

how to configure default gateway

On a RHEL6 server I added a 2nd nic and have configured it to use a static ip on a different subnet. $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric ...
0
votes
1answer
610 views

iptables with DNAT and multiple gateways: How to route replies to correct gateway?

I have a problem setting up iptables rules and routes on a Linux client for a scenario with DNAT and multiple gateways: We have two gateways to the Internet. The first has a fixed IP, the second ...
1
vote
4answers
412 views

What does gateway mean in linux route table?

Does it mean the next hop of the route? Can the gateway be the next next hop, if there is an internal router in the private network?
1
vote
0answers
267 views

Using iptables to route all internal data to tun0 from eth0

Looking for a few answers ;) I'm running Zentyal on a gateway. The gateway is also an OpenVPN client, to a server I run out of another country. Interfaces are thus : External : eth1 (dhcp from the ...
1
vote
1answer
2k views

Specifying Gateway for VPN Connection

I'm not very familiar with networking really, so go easy on me! I need help enabling Split Tunnelling for client connections to my newly created VPN server. I've un-ticked the Use Default Gateway on ...
1
vote
2answers
328 views

If I have computers linked through a switch, will they communicate directly? [closed]

If I have a network like: Group1 -> Switch -> Switch -> Server (configured as gateway by DHCP) Group2 -> Switch -----^ (Hope that makes sense...) When computers in each group send ...
4
votes
1answer
217 views

ping request not forwarded in one direction

Edit: I solved my issue just as I was finishing this insanely long post. I had simply not enable ping reply in my windows firewall which is why I could not ping a computer on network 0 from network 1 ...
1
vote
1answer
134 views

Route Traffic Through Linux Server With Two Devices

Here is my current setup (all servers are Ubuntu Server Edition 12.04): Server 0 has two devices, eth0 and eth1. eth0 is connected to the wall (the internet), and eth1 is connected to a switch. ...
3
votes
2answers
132 views

Preventing endless forwarding with two routers

The network in quesiton looks basically like this: /----Inet1 / H1---[111.0/24]---GW1---[99.0/24] \----GW2-----Inet2 Device ...
0
votes
1answer
730 views

Ping reply not getting to LAN machines but getting in Linux router Gateway

I have configured Ubuntu 12.04 as Gateway machine.its having two interfaces eth0 with ip 192.168.122.39(Static) and eth1 connected to modem with ip address 192.168.2.3(through DHCP). ...
1
vote
0answers
260 views

Clear OS Community and packet time out in client machines only

I am having Clear OS Community Edition running as router with 2 network interfaces. Interface eth0 is connected to LAN with ip 192.168.122.2 and interface eth0 with ip 192.168.2.2 is having internet ...
2
votes
2answers
194 views

Default route not on LAN

I have a network that in principle looks like this: H1---\ /----Inet1 H2---->---GW1---< H3---/ \----GW2-----Inet2 H1 and H2 = Hosts that need access to internet with GW1 ...
1
vote
0answers
117 views

Configuring linux gateway to forward packets

I have a windows box with a wireless card (ip 10.10.96.22) configured with a default gateway of 10.10.96.21/24 (this is my linux laptop's wireless ip). From the Windows box I can ping my linux laptop ...
1
vote
2answers
378 views

Gateway redundancy on a single subnet

I'm trying to discover if there are any methods to have more than 1 default gateway (in a fail-over strategy) on a single subnet. If one gateway goes down then I would like to have servers fail-over ...
2
votes
1answer
352 views

I need to change the external IP address based on source IP address

I'm running an iptables firewall with 5 aliased ip addresses (actual ip 10.64.18.1). This machine is also my gateway out for all internal machines (192.168.18.*). My problem is, when 192.168.18.65 ...
0
votes
1answer
256 views

Add IPv6 support to DirectAdmin server

I just set up an new DirectAdmin, and I want to prepare it for IPv6 use. My ISP have gave me an range of IPv6 addresses that I can use. Lets say that address is 2a01:7c8:**:1f::. My neworkadapter ...
2
votes
1answer
1k views

Centos 6.2 Fresh 'Basic Server' install networking issues

I've had a /29 provisioned on a network port for a server and am trying to at least configure the machine so I can ssh into it. It's Centos 6.2 x64 with the Basic Server install. Currently not able to ...
0
votes
2answers
182 views

Routing table gateway

I have a VPS (CentOS 5.6). Here is my routing table. Kernel IP routing table Destination | Gateway | Genmask | Flags | Metric | Ref | Use Iface 192.x.x.0 | 0.0.0.0 | 255.255.255.0 | U | ...
0
votes
2answers
195 views

Routing traffic so that it appears to originate from a single (static) IP address

We have three sets of computers: clients, a single proxy and multiple servers. The clients (many) want to connect to the servers (many) using TCP on a specific and consistent port. Currently they do ...
1
vote
2answers
785 views

Selecting gateway on application level on Linux

I want to decide on application level which gateway to use to connect to the internet. It can't be done by simple subnet rules, because it is really the application which should be able to decide ...
-1
votes
2answers
2k views

Why do I get HTTP Error 504: Gateway Timeout on accessing public IP over Android

Question: When I start a webserver on my machine (on port 80), and then try to access it via my public IP, I get HTTP error 504 (Gateway Timeout). Why ? This only happens when I am connected to the ...
0
votes
2answers
146 views

Linux as a router for public networks

My ISP had given me a /30 network. Later, when I wanted more public ips, I requested for a /29 network. I was told to keep using my earlier /30 network on the interface which is facing ISP, and the ...
1
vote
2answers
5k views

How can I share my internet connection to my LAN with Debian?

I'm trying to make my Debian server the router for my LAN. I got two interfaces: eth0 connects to internet through PPPoE, eth1 to LAN. I switched on forwarding in sysctl net.ipv4.ip_forward=1 and ...
1
vote
2answers
839 views

Checkpoint R75 Security Gateway without default route

I've set up a virtual lab network in vmware with two networks. vmnet2 (192.168.100.0/24) and vmnet3 (192.168.200.0/24). My R75 is having the ip addresses 192.168.100.1 and 192.168.200.1, and is the ...
0
votes
3answers
1k views

Ubuntu 10.04: Two interfaces on a same subnet with a same gateway

My ISP has given me a 187.x.x.224/29 subnet. The gateway is 187.x.x.225 I have a Ubuntu server with 6 ethernet ports. The server does NAT routing and also acts as a webserver. My plan is to have eth1 ...
2
votes
4answers
2k views

Linux Ubuntu - Two NICs separate lan

I have this /etc/network/interfaces (IPs on eth1 are fake) auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 gateway ...
0
votes
1answer
900 views

Trixbox CentOS Default GW Problem (Multi-homed server)

I'm having an issue with a CentOS trixbox server which is dual-homed (one private facing NIC [eth1], one internet-facing NIC [eth0]). I can't seem to get the default gateway to set properly to our ...
2
votes
3answers
2k views

Force Windows Local Subnet Traffic through a Gateway

We are attempting to route all traffic from a certain machine to a gateway. This works ok for traffic destined for subnets outside of the machine's subnet. However, traffic to machines in the same ...
1
vote
3answers
1k views

How to setup Mac server to use two gateways

I recently asked this question: How to set Mac server to use different Gateway for internet bound traffic The answer given works but has presented me with another issue that I didnt make clear in ...
0
votes
2answers
360 views

How to make Intranet accessible from WAN

We have an intranet webserver https://intranet.example.com that should be accessible from outside (only for our own people) under the same domain name. This is necessary, so all the links and urls ...
1
vote
1answer
403 views

Ubuntu server - Problem of routing

I have setup a Ubuntu server with Ubuntu Enterprise Cloud. The server is connected to a private LAN with DHCP and Internet access (via a gateway). At first, the server was working fine. It can ping ...
1
vote
4answers
1k views

Two Routers, Two Internet (1 Open, 1 PPTP) - Routing?

I'm trying to setup two routers - one to route specific sites to a always-on PPTP VPN connection, the other for open internet access w/ firewall. First router is connected to Internet w/ built-in ...
1
vote
2answers
2k views

One linux server, one network, two gateway - can server handle connections coming from both gateways?

We have OpenSUSE server with a service running on it. We have two gateways on the network. One of these gateways is set as a default gateway for the server. In this case server can accept connections ...
1
vote
2answers
948 views

preserving a multi-homed setup across reboots

Having read "two gateways / two providers with different ips", and the Clinton East article that it links to, I have successfully set up a multi-homed RHEL5 system. However, I am hoping for a better ...
2
votes
2answers
8k views

Routing decision when there are two default gateways on windows

My windows machine has two network cards, both have default gateways. How does windows determine which gateway should it access when sending a packet to a remote endpoint? More precisely, here's my ...