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
1
vote
1 answer

Linux route cache seems to load outdated settings

On SLES 11 SP3 (Kernel 3.0.101-0.46) I see the following route behavior: When I set a route specific MTU once via ip route change ... mtu lock 1500, everything works as expected (setting an MTU of 1500 on a dev configured with MTU 9000). I then…
skulli
  • 21
  • 2
1
vote
1 answer

Why does a router ping failure respond using a different IP?

From Windows CMD, when trying to ping another computer on our internal LAN, the IP obviously fails to respond. However the reply of "Destination host unreachable." comes from yet a different IP, and not that of the router. In my network, the…
drodecker
  • 51
  • 4
1
vote
1 answer

VPN client acting as gateway for the rest of the LAN

To have a simple scenario, let's say we have: Office: Four computers running Debian and another computer running CentOS. HQs: A Debian running the VPN server which is located at the central HQs. The target is to establish VPN connection from the…
Raj
  • 11
  • 1
1
vote
0 answers

Routing Issue - can't ping gateway from other routers in full mesh

I am setting up a new network. I have 4 routers in a full mesh. Edge1, Edge2, Client1, Client2. This are Mikrotik Cloud Core Routers (not that it matters). They are set up with OSPF (distributing connected and static routes) and MPLS, and…
1
vote
1 answer

What's the difference between a private and public subnet?

For the purposes of learning, I'm trying to setup a public/private VPC in AWS without using the wizard, and I'm trying to determine how AWS decides if a subnet is private/public. For argument sake, let's say I have in my vpc 1 ig, 2 routing tables,…
Drew
  • 263
  • 3
  • 11
1
vote
2 answers

Route external ip through internal network windows

How can I route an external ip from one server by first forcing it to go through another internal ip? In our network setup, the source server is connected to the internet on one network card. The destination server is also connected to the…
Andrew
  • 121
  • 4
1
vote
0 answers

How can I proxy requests to a specific IP to a different IP on OS X?

On OS X how can I setup a route so that when I make a request to 10.0.0.1 it is redirected to localhost? Right now I can do curl localhost:3000 and get back a blob of HTML from my running node web server. I'd like to be able to do curl 10.0.0.1:3000…
CatDadCode
  • 265
  • 3
  • 10
1
vote
0 answers

Linux tun interface packet routing

I have questions on the ip packet flow for the following scenario. The scenario is : A tun0 (10.0.0.2/8) interface and a physical wireless lan card wlan0 (ip address not fix) on the client side, wlan0 could connect to the internet, Another tun0…
user1129812
  • 173
  • 1
  • 1
  • 6
1
vote
2 answers

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 way to preserve this state than by calling the ip…
user20329
1
vote
1 answer

VPN client can ping LAN machines but no other TCP/UDP service works

After just having succesfully configured my VPN server to connect my VPN clients to my LAN ( Expose internal LAN to VPN using CentOS FirewallD ) I find that pinging is the only thing that works. I can't reach any machine that I can ping over SSH,…
Alex
  • 389
  • 9
  • 23
1
vote
2 answers

Get Windows Firewall to allow connection from user coming in via VPN (Routing and Remote Access)

A single NIC Windows Server has a number of services, for example FTP. The same machine is also running Routing and Remote Access to provide VPN/NAT services to remote users. Meaning users who connecting who then browse the internet see the servers…
user97069
1
vote
1 answer

Multiple smtp servers postfix - one mail domain

How can I separate mail server into multiple physical machines using postfix? I wish that some users were on one server and some on the other and that there were no problems with the verses 5xx. I would like to do something like Postfix cluster. Or…
yavorr
  • 19
  • 2
1
vote
0 answers

how multicast stream passes when receiving locally

If suppose I have TX application which transmits UDP multicast to 239.0.0.1:1234. And I have RX application which joins multicast (239.0.0.1:1234), and receives this multicast (239.0.0.1:1234). I have this RX application running in different…
nullptr
  • 151
  • 7
1
vote
2 answers

Rotating outgoing IP's

I want to rotate IP addresses for web-scraping, and here is my setup: I have configured multiple IP addresses as below in my /etc/network/interfaces file: # The loopback network interface auto lo iface lo inet loopback # The primary network…
iTech
  • 355
  • 4
  • 15
1
vote
1 answer

OpenVPN site to site VPN tunnel with Windows Server 2012 R2

This is my clients setup: Site A Site B 192.168.2.0/24 192.168.0.0/24 Client A1 --|-- Server A Server B --|-- Client B1 | (192.168.2.2) …
Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89