Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ip-routing]

The tag has no usage guidance.

1
vote
1answer
28 views

Windows Server 2016 Hyper-v host 3 websites in 3 VM with One Public IP

Installed is Windows Server 2016 DCE as host OS. I want to host three websites on three different guest VMs under this host. I got one public IP (5.189.175.xxx), which is assigned to the host. No ...
1
vote
1answer
38 views

Route internet traffic through one nic and local traffic through a second nic

I am trying to route traffic through a specific interface based on its destination. OS is CentOS 7. I am setting up a mini MPI farm where I have 2 slave workers and one master. The master and slaves ...
1
vote
0answers
25 views

Windows Server - Redirect Traffic To Another Subnet

on windows server 2012 I have 2 network cards, one of them connects directly to the router on static ip 192.168.1.11 and that second card I have a second ip set as 192.168.1.12. From the router I ...
0
votes
0answers
53 views

IP routing issues in Ubuntu

I have four servers: VPN Server (10.12.96.5/28)eth5 & 10.8.0.1(TUN0) Web Server 10.12.96.4/28 Proxy Server 10.8.0.4/24 PBX Server 10.12.96.3/28 PROXY-----VPN-----WEBSERVER VPN-----PBX The VPN ...
0
votes
0answers
15 views

Routes: can ping through wlan0 but not eth0 (unless I disable wlan0)

This is a resin os (from resin.io) running on a beaglebone green. eth0: root@9d8b22c:/mnt/boot/system-connections# ifconfig eth0 eth0 Link encap:Ethernet HWaddr F0:45:DA:80:C8:E5 inet ...
0
votes
1answer
39 views

DITG (ITGSend, ITGRecv) via two network interfaces of the same machine

I have a server on which a transmission benchmarks shall be performed. This server has 3 network interfaces (172.16.10.205 for SSH, 10.0.4.105 for sending, 10.0.8.105 for receiving) ...
0
votes
1answer
158 views

Ubuntu defaults to IPv6, should default to IPv4

Ubuntu 16.04.5 with kernel 4.4 used to work as intended: IPv4 is default. Since changing to kernel (hwe) 4.15, it uses IPv6 as default. It has IPv6 available via Tunnelbroker, broadcasted by the ...
0
votes
0answers
177 views

ISP /29 Public IP not working on pfsense

recently I have purchased a block of /29 Public ips from our ISP. I have my network setup whereby the isp modem (SmartRG 360n) is in bridged mode which feeds a pfsense firewall. The wan is configured ...
1
vote
1answer
59 views

Forward traffic to remote external IP through a specific interface

Network Diagram I have 3 servers with two interfaces each, as shown in the diagram. The servers communicate with each other through the interface enp1 and to the world through the interface enp0. For ...
0
votes
1answer
206 views

Link VPS Dedicated IP / Port to Internal Tinc VPN IP Port

After a couple of days research I've completely rewritten my question to make it easier to answer, and hopefully clearer of what I'm looking for. I have an Ubuntu 18.04 VPS server with a dedicated ...
0
votes
1answer
102 views

Synology Route traffic to Docker

I have: +------+ +-------------+ | +NIC1 (192.168.1.100) <--> Router <--> (192.168.1.2) NIC1 + | | PC | ...
-1
votes
1answer
36 views

what is the route table file

When I run the below command, where is it stored? Or it remains in the memory until a reboot? ip rule add from x.x.x.x table 1 I just wanted to use a custom name for IPV6 which would separate it ...
2
votes
1answer
64 views

KVM guest can't connect to itself after DNAT

Network Description Virtual hosting environment (KVM): Guest: Ubuntu 14.04.5 LTS \n \l Linux ari 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i686 GNU/Linux Host:...
0
votes
0answers
73 views

Cisco 887va VDSL2 with public static /29 net and 2 vlans

I've a working config that allow internet traffic trought a firewall that is direct connected to 887 fa3 (vlan2 - public ip). Now I would to connect a "guest" wireless network that has to bypass ...
0
votes
0answers
29 views

Multi-gataway routing over one network card

community, On my office network I have: Router1, router connected to the internet at 2mbps of bandwidth (192.168.0.1) Router2, router connected to the internet at 2mbps of bandwidth (192.168.0.2) ...
0
votes
0answers
50 views

How to make a IP route permanent on CentOS7?

I have a CentOS 7 machine which is connected to the internet through a WiFi device, the machine also is connected to an OpenVPN server, these are the network adaptors that it has: 1: lo: <LOOPBACK,...
0
votes
0answers
190 views

Windows routing without gateway (but through interface). Is it possible?

I have a custom network setup. My servers have what I would call "main IP" with gateway for example: Main IP: 67.166.214.148 Netmask: 255.255.255.0 Gateway: 67.166.214.1 And then I have ...
0
votes
0answers
205 views

Forward Traffic between Namespaces

I have 3 interfaces: eth0 eth1 eth2: eth0 is directly connected to the Internet. eth1 and eth2 are connected to an external switch with no Internet connectivity. My goal was to connect eth1 and eth2 ...
1
vote
1answer
478 views

RedHat 7: SIOCDELRT: No such process

[user@telco-aa1]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default gateway 0.0.0.0 UG 100 0 0 ...
10
votes
5answers
1k views

How does an IP packet know which gateway to take?

Suppose two gateways exist on the same network. If I understand correctly, the IP routing table on sender's computer decides which packets get routed through which gateway. IP routing tables contain ...
4
votes
0answers
83 views

How long is an (accepted) ICMP redirect observed for, and how can I shorten that time?

If a Linux host receives and accepts an ICMP redirect (accept_redirects=1 on the interface in question), how long is this route being cached for and observed? Can I lower that time? I am asking ...
0
votes
1answer
53 views

IPv6 issues while assigning Ipv6 address to the interface

Whenever I am trying to assign a Ipv6 address to the interface I get the following error: If Don't use "via" option then it works fine. vk8-2-ext-rtr:~$ sudo ip -6 addr add 2002:2:1:1::/64 via fe80::...
0
votes
0answers
30 views

Routing table configuration double switchs

I have 3 switches (X, Y and Z) and each one has 2 interfaces. In the X switch I have my WAN connection (10.1.0.1), and I can connect to any host in the 10.2-4.0/29 networks and to the internet, but my ...
1
vote
0answers
58 views

IP packets does not respect ip rule

I'm running Linux and have the following ip rules ip rule list 0: from all lookup local 150: from 217.31.55.96/28 lookup custom 32766: from all lookup main 32767: from all lookup default ...
1
vote
0answers
24 views

static IP handling

I have two IPs on one interface, when the packets are sent out it is always picking first IP but I want the packets to be sent out on second IP I have two servers in HA (Active-standby) configurtion. ...
5
votes
1answer
801 views

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 ...
0
votes
1answer
106 views

Putting ISP public IPs on two different firewalls

Trying to figure out if I need a router or switch for this. Nothing is yet configured, and I can still order equipment. I have incoming: Two internet connections. One (ISP-1) of which has given us a ...
2
votes
0answers
60 views

How to assign specific ethernet interface to specific user on Ubuntu?

I have an Ubuntu 16.04 server running with multiple ethernet cards all connected to the internet with distinct IP addresses. I want to configure specific user to use specific card so that they will ...
0
votes
1answer
247 views

“0/2” IPv4 destination in “netstat -nr” command on Mac OS X to view host routing table

I'm using the command "netstat -nr" to view the host routing table on a Mac OS X system, and here's the output I'm getting: Routing tables Internet: Destination Gateway Flags ...
-1
votes
1answer
69 views

Automatically turn off VPN for select website/IP [closed]

Using a VPN for privacy and security on a Unix machine. There are a few sites that I can only access through my whitelisted IP for work. Is there a way to automatically turn off my VPN (or route ...
-1
votes
2answers
562 views

Debian - Dual WAN - Static Route on a DHCP Interface

I've got two WAN interfaces coming into a Debian 8 VM. WAN 1 - All Internet and local traffic. (0.0.0.0/0) Has a a static IP, thus IP, netmask and gateway are fixed values. WAN 2 - Specific private ...
0
votes
1answer
389 views

Configuring routing table with 2 network interfaces

I have a Linux server with two network interfaces: eth0 (connected to internet using a public IP address A.B.C.208) and eth1 (not connected to anything, bind to a private IP address 10.U.V.159). The ...
2
votes
1answer
765 views

SNAT to from different source IP's to multiple destination IP's

I have a pptp server which issues a local IP to each user on successful auth. These IP's are in the range of 10.1.1.2-10.1.1.254. This all works ok, however I then have a set of 128 public IP's that ...
5
votes
1answer
819 views

Carrier Grade NAT concepts: IP bans

I'd like to deploy a Wireless WAN using IPV6 for at least the wireless bits given that 6 offers higher through-put. I'm exploring the concept of CGN and what strikes me immediately is the liability. ...
1
vote
1answer
25 views

3 Static IPs, 1 Modem, 1 Dual WAN TP-Link Router

Can I place a hub/non-L3 switch between my Router and Cable modem to utilize the other IPs? I'm interested in using one of the IPs for Direct Access. Thanks
0
votes
0answers
36 views

SSH needs to go though different interface other than VPN

Im hoping someone can point me in the right direction. I have a ubuntu 16 server which connects to an OpenVPN server at boot, the config file it pulls routes all traffic though the VPN connection - ...
0
votes
1answer
69 views

I cannot ping to destination IP even after adding a ip tunnel

So I have a virtual device with ip 192.168.16.15/24(device X). I'm trying to ping this from another device 10.64.95.120/24(device A). This virtual device(device X) is created on another server 10.64....
0
votes
1answer
276 views

Keep source IPs of OpenVPN client's subnet

I have configured an OpenVPN network 10.8.0.0/24 (network A) running in Azure. The Linux VM's IP is 10.1.0.4 on the 10.1.0.0/24 network in Azure (network B). I have also configured a router as an ...
0
votes
2answers
222 views

Route incoming traffic for host1.example.com:80 to a docker container with port 80 bound to 10080

I have an Ubuntu 16.04 machine running Apache2 and Docker (the docker itself is running GitLab from the Docker hub). This box also hosts a Phabricator instance, hence why I have put GitLab into its ...
0
votes
1answer
171 views

Cisco 3560G not passing IPv6 RA when VLAN without IPv6 address

Problem: When having VLAN without IPv6 address on L3 enabled switch, no RA is passed through VLAN unless there is IPv6 address assigned to the VLAN. Static assigments however are reachable fine. ...
0
votes
1answer
70 views

Do I need to set up static routes between routers for bi-directional device access?

I've got two TP-link routers where one (Remote router 192.168.2.4) is making a WDS bridge connection to another (Main router 192.168.2.2) on a static 2.4 ghz wifi channel. Main router is also doing ...
0
votes
1answer
759 views

Don't get ICMP reply when ping from specific interface

I have a linux machine running under CentOS with 2 ISP. My rollover ISP channel script try to determine when we at secondary ISP channel is there a primary ISP channel get up and vice versa when need ...
0
votes
0answers
24 views

how to access a bridged network within a remote host?

Hypothetical network setup: router ip: 192.168.1.1 host 1: eth0 ip: 192.168.1.2 br0: 172.19.0.1 host 2: eth0 ip: 192.168.1.3 I want to be able to access the 172.19/16 from the host 2. In ...
0
votes
1answer
62 views

RV325 Router, and Traffic from specfic IP headed outbound

I have a block of IP addresses, and a Cisco RV325 Router. I can do NAT from one external IP to an internal IP. I don't know however how to send traffic from an internal IP through to a specific ...
-5
votes
2answers
47 views

How do routers route packets in the event a router goes down?

On the network backbone I mean. If a router goes down will the network reroute the packets around the router?
1
vote
3answers
278 views

Routing table with two same static IPs on the network

We need a way to insert a device between a target device and the network, ideally without needing to change any IP addresses. Currently, the situation is (please excuse the ASCII art) ----------- ...
1
vote
1answer
673 views

Kubernetes: Preserving source IP / Passing external IP as source

Sorry if the title, and tags, are a bit vague, I couldn't figure out the correct terms for it, yet. Please advise, and I will change it. I'm implementing a STUN server, boxed in a Docker container, ...
-1
votes
1answer
227 views

How to change loopback network mask or redirect subnet to another interface [closed]

I have the following problem. First of all. Here are my interfaces. # ip addr ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd ...
0
votes
1answer
493 views

Policy based routing in linux based on destination address.

I am struggling with a scenario. Suppose we have two systems in same subnet A:- 192.168.1.5 and B:-192.168.1.6 where B is further connected with C:-172.22.1.5 through Openswan. B can ping C but A cant ...
0
votes
0answers
273 views

Static route with local IP does not route locally

VPN client breaks routing table on Server by routing local IP to VPN subnetwork. I can't change anything in VPN client so I'm trying to restore route to my host so that apps using 192.168.1.2 as ...