Questions tagged [routing]

the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.

Modern communication networks are built mostly on the concept of destination routing (although other concepts, such as source routing, do exist). In this concept, the sender of a data packet does not need to know where exactly to find the destination for that packet, all it needs to know is the address of the next router. This router will then decide, based on routing tables and the destination address of the packet, where to send it next (this is called the next hop). This process is repeated until the packet arrives at a router where the destination address is in a directly connected network, and the final router then sends the packet directly to that destination.

Routing decisions are usually based on routing tables, which can be influenced by many factors, such as available links, link quality, routing policies, QOS, etc.

3661 questions
8
votes
1 answer

Strongswan VPN Established but no Packets Routed

I'm setting up a VPN using strongSwan between a Linux instance on an Amazon EC2 instance and a remote network via its Cisco concentrator. I need to route packets from the Linux instance itself a machine in the remote subnet. The connection is…
titusd
  • 181
  • 1
  • 1
  • 3
8
votes
1 answer

Windows VPN server can talk to VPN clients, but won't send packets from its local network to the VPN clients

I want to configure Windows Server 2012, and its Windows 7 and Windows 8 VPN clients, with an SSTP VPN that uses split tunneling and off-subnet addressing, but I'm running into a problem: the RRAS server will not send packets to VPN clients from any…
Micah R Ledbetter
  • 513
  • 1
  • 5
  • 19
8
votes
3 answers

Properly configure two eth interfaces on different subnets

Can anyone with heavy background in both Linux and Networking help me out? I've scoured the Internet looking for a clear answer for this and I've even compared a box I have access to with the same setup and I can't get my box working. The basic…
beaconfield
  • 123
  • 1
  • 1
  • 7
8
votes
2 answers

Permanently adding source policy routing rules

Somebody answered my earlier question by describing how to create a new routing table with source policy routing: echo 13 eth3 >> /etc/iproute2/rt_tables ip route add default via 10.20.0.1 table eth3 ip rule add from 10.20.0.2 lookup eth3 How do I…
Lorin Hochstein
  • 5,028
  • 15
  • 56
  • 72
8
votes
2 answers

Can't ping multihomed Linux machine on non-default interface

I have a multihomed Ubuntu server with a set of interfaces that includes: eth2: 10.10.0.131/24 eth3: 10.20.0.2/24 The default interface is eth2, with a gateway of 10.10.0.1. Here's what the routing table looks like: root@c220-1:~# netstat…
Lorin Hochstein
  • 5,028
  • 15
  • 56
  • 72
8
votes
3 answers

Routing between two networks on linux?

I got stuck with one problem I cant find solution. I have linux pc with two NIC. first nic (eth1) is connected to public ip (probably switch or whatever, doesnt really mater) so eth1 is connected to wan and another eth0 that I connected to switch…
gorgi93
  • 193
  • 1
  • 1
  • 5
8
votes
5 answers

Use specific interface for outbound connections (Ubuntu 9.04)

I have two ethernet interfaces in my computer, which is running Ubuntu 9.04. Both interfaces sport static IPs, but use separate gateways. My /etc/network/interfaces file looks something like this: auto eth0 eth1 iface eth0 inet static address…
Marcus Griep
  • 245
  • 1
  • 5
  • 8
8
votes
5 answers

Routing protocols, distance vector vs link state

I'm trying to figure out the differences(pros/cons) between two routing protocols approach and I would be great-full for any help, advice and explanation. As far I can say that it seems like distance vector is more static and more local based…
Artem Barger
  • 267
  • 1
  • 4
  • 9
8
votes
3 answers

How can I reroute a sub-domain to localhost + port number?

I have several web applications running on my developer machine. They mimic our production web applications which are hosted on sub-domain. For example, consider: api.myserver.com - is mimicked by 127.0.0.1:8000 www.myserver.com - is mimicked…
urig
  • 187
  • 1
  • 2
  • 8
8
votes
3 answers

IPv6 works only after ping to routing box

Situation: There is an ipv4 only router in our network and every computer is connected to it (wifi or cable). A server with ipv4 and ipv6 is also connected to this router. The server has been configured with tunnelbrokers for 6to4 tunneling and…
Ficik
  • 81
  • 1
  • 3
8
votes
2 answers

Is it possible to use proxy-arp back to the same interface?

I have a WiFi Access Point connected to a Linux Router. The Router is itself connected to the Internet. For multiple reasons (mostly to control security and quality of service), I want to force all the users' traffic to go through the Linux…
MiniQuark
  • 3,875
  • 2
  • 21
  • 23
8
votes
2 answers

Openvpn for client/server in same subnet

I'm trying to openvpn into an office network (192.168.1.0/24) from a client sitting on a network with the same subnet (also 192.168.1.0/24). It is a linux (ubuntu 9.10) server and windows client. I followed this ubuntu openvpn community…
fostandy
  • 223
  • 1
  • 2
  • 7
8
votes
4 answers

connect two routers with different subnet

I've seen a lot of questions about this, but haven't really understood/didn't match my issue. I'm a newbie regarding networking. I got two routers, both are connecting to the wan (giving them different external IP). 192.168.0.1 is a vilfo and…
JoBe
  • 276
  • 1
  • 3
  • 13
7
votes
1 answer

Route propagation from virtual private gateway in AWS

I stumbled upon understanding of the idea of the route propagation in AWS. It is said in the documentation: Route propagation allows a virtual private gateway to automatically propagate routes to the route tables so that you don't need to manually…
Andremoniy
  • 224
  • 3
  • 10
7
votes
2 answers

Route Docker container traffic through another container

I'm trying to route tcp traffic of container B (10.10.1.2, custom binary using mysql and running on port 4242) through container A (10.10.1.3, haproxy, setup in transparent proxy mode) to the outside world, they share the same user defined docker…
Tuxity
  • 71
  • 1
  • 4