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
5
votes
1 answer

Site-to-site IPSec routing (Ubuntu, StrongSwan)

I am stuck in trying to connect two networks. SiteA: is a number of VPS in different locations and office workstations connected with OpenVPN in a private network 10.113.0.0/24. Each has it's own internet access and default gateway. OpenVPN server…
Ivan Yaremchuk
  • 153
  • 1
  • 1
  • 5
5
votes
1 answer

Routing traffic to two NICs on the same network

I have a few linux test boxes on Scaleway, each having 2x NICs that are all connected to the same network 10.0.0.0/8 but each has its own gateway. I want to be able to use both NICs (eth0/eth1) and their IPs for communication. So if applications…
Vad1mo
  • 268
  • 2
  • 15
5
votes
3 answers

IP Routing - For Office Move

We are looking to move office and wanted to know if it was possible to relocate some servers at a time and still keep the network working? (this is to try and avoid a major move) I have a 24 bit subnet (255.255.255.0), So lets say I have a network…
D-W
  • 321
  • 1
  • 5
  • 11
5
votes
1 answer

Network Drive attached as SCSI Dropping the W/R speed on bigger files

I'm having Network disk attached a SCSI disk When copying smaller files like 700MB or even 1 GB, speed is high , from 90MB/s to 120 MB, so I'm capable to benefit from 1Gbit network. But if files is around 4 GB, the speed is dropping in 10 Seconds…
user387694
5
votes
2 answers

AWS: Error accessing the Internet with a custom Network ACL

I've been stuck looking at my screen for about 2 hours trying to figure out why this is not working. I'm building the typical VPC with a private and public subnet and trying to lock it down as much as possible. I have a few security groups, but I…
Augusto
  • 225
  • 2
  • 10
5
votes
8 answers

Help putting together a server for Routing/Firewall/VPN purposes

we're currently in the process of putting together our own server Firewall/Router. We were going to use a dedicated solution from someone like Juniper or Watchguard, but it is going to be a lot more cost-effective if we use a server machine we were…
Django Reinhardt
  • 2,286
  • 3
  • 38
  • 58
5
votes
2 answers

Incoming packets don't hit iptables INPUT chain

I'm running a VPN client in a docker container. I'm trying to connect from the host to a web server running in the docker container over port 8080. When I try to connect, I see my incoming packet on port 8080 via tcpdump, but the web server never…
user875729
  • 79
  • 1
  • 4
5
votes
4 answers

openvpn: How to not use VPN for domains with multiple IP addresses

I want to route around openvpn for a specific domain. I have tried: allow-pull-fqdn route specificdomain.com 255.255.255.255 net_gateway But this simply does a DNS lookup of the domain and adds whatever IP it gets to the routing table to use a…
5
votes
3 answers

Forward traffic between VLANs with iptables

We're having the following 4 VLANs on my network, connected to an Ubuntu Linux box with DHCP. This Linux should act as the L3 router as well. VLAN 10 on interface eth1.10 with subnet 10.10.10.0/24 VLAN 20 on interface eth1.20 with subnet…
AirPett
  • 201
  • 1
  • 2
  • 9
5
votes
1 answer

Overcome asymmetric routing while migrating between sets of ISPs

We are migrating from one set of addresses to another set, both /24, and trying to minimize any down time during the migration. Ideally we'd run both for a period of time as we shut down the old circuits. There are a total of 4 internet…
fullstop
  • 51
  • 5
5
votes
1 answer

IPv6 Neighbor Discovery/Routing Failing for Kernel 3.10

Stupid mistakes led to all of this, read Update 5 Intro I'm trying to setup a Linux Router (LXC, 3.10.0-123.el7.x86_64) with IPv6. The provider is Hetzner and I got 2 subnets, one /56 and a /64. They have setup the routing to my LL Address and my…
5
votes
2 answers

How to get public IPs on ESXi VMs?

We have a dedicated server with a hosting provider. We are running ESXi 6.0. The server has a single public IP which is currently being used for the management interface. The provider has also assigned us a /29 block so our VMs can have public IPs.…
user284587
5
votes
1 answer

Make LXC containers directly accessable with ipv6

First off I have a special IPv6 address allocated to my dedicated server, just 1. A ::1/128 one. But I can assign addresses to eth0 (eg ::2/128, ::3/128, etc). Now I would like to run LXC containers on that server but I would like them to be first…
harm
  • 181
  • 1
  • 1
  • 11
5
votes
1 answer

Possible to have DHCP hand out different DNS server address when using different tunnel?

We have several ASA 5505 deployed. Currently, we have a setup where the local ASA is answering DHCP queries and is configuring clients with two DNS servers: our DR site DNS server (we use AD) and a public DNS. We need to give clients access to "the…
brandeded
  • 1,845
  • 8
  • 32
  • 50
5
votes
2 answers

How to find which routing protocol a router is using. And if found how to test it

I was recently asked a networking question in an interview which I did answer but the interviewer was not pleased. The question was : "Given an actively running router, how would you know what routing protocol is the router using, specifically how…
pradaa
  • 51
  • 1
  • 1
  • 2