Skip to main content

Questions tagged [static-routes]

Manually configured entries in the routing table.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
23 views

Ping another network from machine in network behind VPN client

I am trying to ping another network from Windows machine with IP 192.168.0.108 with routes route add 10.8.0.0 MASK 255.255.255.0 192.168.0.112 route add 192.168.31.0 MASK 255.255.255.0 10.8.0.1 ...
Arthur's user avatar
  • 99
0 votes
1 answer
156 views

Routing VM with two IPs in the same subnet

I have two NICs with IPs in the same subnet. IP1: 10.10.10.142 - Gateway: 10.10.10.129 - dev: ens192. IP2: 10.10.10.143 - Gateway: 10.10.10.129 - dev: ens256. I want to configure static route to the ...
Aboelnoor90's user avatar
0 votes
0 answers
223 views

Adding static route between two VPN servers

I have two VPN servers (Wireguard and OpenVpn) and my goal is that the clients connected to both the servers should be able to communicate between them. Say laptop A is connected to wireguard VPN ...
Kavitesh Singh's user avatar
0 votes
1 answer
178 views

tun0 configuration via script using nmcli

Background For work I have to use Appgate SDP which is a VPN client. It creates a tun0 device, adds a bunch (300+) routes and is supposed to setup the DNS servers with domain search for tun0. At some ...
John the Ripper's user avatar
1 vote
1 answer
243 views

Alma Linux - Gateway fall back is not working, when gateway IP with lower metrics is down

Currently I am using Alma-Linux, where I need to create 2 default gateways for the same NIC. Main intent of 2 default gateway configuration is.. when any one of the gateways is down then it will fall ...
cpp_learner's user avatar
1 vote
1 answer
528 views

Alma Linux -Static route configuration is not working as fall back mechanism, when default gateway is down

Currently I am using Alma-Linux, where I need to create 2 default gateways for the same NIC. Main intent of 2 default gateway configuration is.. when any one of the gateways is down then other one ...
cpp_learner's user avatar
0 votes
1 answer
47 views

Ubuntu can't communicate between two servers

I have 3 servers: Server #1 runs among other things a MongoDB database Server #2 runs some apps that connect to server #1's mongodb, everything works fine Server #3 is a new server where more apps ...
Julien's user avatar
  • 252
0 votes
1 answer
3k views

How to NAT-route network to Tailscale?

EDIT: I already spent 3 days going through different possible ways of handling this and settled on iptables. This is like the biggest-kept secret to me. No matter how much I read, I feel like I'm ...
Sawtaytoes's user avatar
0 votes
1 answer
1k views

Static route via nftables firewall

I have a gateway "X" with 2 NICs enp0s3 (192.168.0.100) connected to 192.168.0.0/24 (let's assume this is a WAN network) enp0s8 (172.16.0.1) connected to 172.16.0.0/24 (presumably a LAN ...
asteway's user avatar
0 votes
0 answers
247 views

Windows Server 2016 unpredictable static routes

I am configuring routes on a Windows Server 2016 machine. I've already set up a Lan to Lan VPN as follows on a DrayTek router: Local network: 10.23.42.96/29 Remote networks: 10.41.73.0/24, 10.41.86....
Hackjaku's user avatar
0 votes
1 answer
272 views

Unable to reach different network using ubuntu server as a router in gns3

My network is shown in the picture, I am trying to ping from a windows vm to an ubuntu vm in a gns3 network. But I get: "Destination host unreachable". Network: https://i.stack.imgur.com/...
Sergio Loza's user avatar
1 vote
1 answer
7k views

Redirecting Netflix and Youtube traffic to another gateway by IP addresses on Mikrotik router

I help a friend in taking care of the network with few buildings with appartments for rent. During the holiday season all apartments are fully booked, and that means we have 40-60 guests. There are 18 ...
Kamil's user avatar
  • 157
0 votes
1 answer
885 views

Windows 10 ignoring routing table

I have a Windows 10 PC that has 2 network interfaces. One of those interfaces goes into the main LAN where the fileserver, dns and the router for the internet are located. The second interface is a ...
kruemi's user avatar
  • 111
1 vote
1 answer
749 views

2 Remote Sites, 2 Different Subnets, with interconnectivity. How to create a single subnet for servers at both locations?

Current Environment: We currently have 2 remote sites, both with their own LAN subnet and servers hosted at each site. Currently each site is using 1 subnet for the clients and servers. Both sites are ...
qroberts's user avatar
  • 285
0 votes
1 answer
873 views

Windows static routing not working as expected

I have three routers: Router 1 has an external internet connection. It has LAN IP 192.168.0.1 and gives IP addresses in the 192.168.0.* subnet. Router 2 accesses the internet via Router 1. It has WAN ...
cfp's user avatar
  • 101
0 votes
0 answers
205 views

Red Hat 8 - Policy-based Routing

I have a issue with routing inside the RH8 server. So the concept is: 1x Red Hat server with 2 interfaces (different VLANs; 150 & 160) interfaces teamed like: IP 192.168.50.150 - interface: team0....
alwaysatfire's user avatar
2 votes
0 answers
244 views

Routes in route6-eth0 don't apply [closed]

I made a file /etc/sysconfig/network-scripts/route6-eth0 with the following contents: default dev eth0 src ****:****::**** metric 50 pref medium However, it doesn't show up when I execute ip -6 route:...
Bas's user avatar
  • 21
0 votes
1 answer
6k views

How to add route with "metric" in network-scripts with metric on Centos 7?

On centos 7 server, I'd like to set the follow routes 172.22.55.0/26 via 10.1.1.6 dev eno5.xxx metric 100 172.22.55.0/24 via 10.1.1.5 dev eno5.xxx metric 200 in the /etc/sysconfig/network-scripts/...
surfcode's user avatar
  • 245
0 votes
2 answers
1k views

How to Set up Site-To-Site VPN using a VPN client as a gateway

I have a remote L2TP VPN which my synology diskstation connects to. I would like to use my synology diskstation then as a gateway to get to hosts on this VPN. The VPN assigns addresses in the 10.0.0.1 ...
User7391's user avatar
  • 143
0 votes
2 answers
2k views

Static ARP Entries aren't being added

So I'm trying to create a static ARP Entry with the ip and MAC Address of my router. I'm currently using admin command prompt and the command arp -s [ip] [mac address], but it isn't working. Every ...
Ryan Ding's user avatar
0 votes
0 answers
43 views

Static routes sync between windows servers

Is there a way to run a "ROUTE ADD -P........" on a single Windows 2012 and higher servers, in a domain environment and have that route populate or sync with another server or servers in the ...
liquidspook's user avatar
-2 votes
1 answer
557 views

Connect Router on Different Subnet [closed]

I see people genuinely helping out here but please stop with down-votes.I wouldn't have posted on server fault if this wasn't really a business problem.I am going to upgrade this network with a ...
Dushyant Deshwal's user avatar
-1 votes
2 answers
229 views

3 router 2 networks want to see each other + share internet [closed]

I am trying to get my main network to see my homelab network (separate subnets) and both networks have access to the internet. I have tried several approaches and now have 4 routers in the ...
Ian Cox's user avatar
0 votes
1 answer
1k views

nginx - can a hyphen in a prefix match confuse try_files?

context I am using nginx and a simple prefix match to serve a single page application. To match the business' style guidelines the url should be hyphenated (https://host.tld/my-app). I am using the ...
oclyke's user avatar
  • 103
0 votes
0 answers
128 views

Is it possible to define "excludes" for check-static in uwsgi settings?

I have an application which I don't want to modify. It has multiple directories with static files which are defined as static via check-static directive in uwsgi's .ini-file. My problem is that each ...
strizhechenko's user avatar
0 votes
1 answer
852 views

How can I create two different subnets for 2.4 and 5GHz WiFi, and maintain communication between them?

I have two routers that are interconnected via Cat5 cable: a TP-Link Archer C7 and an old Netgear V7610. I am trying to create two subnets on the same LAN, and maintain communication between all nodes,...
Kenny83's user avatar
  • 103
1 vote
2 answers
1k views

Static route - gateway not used

I'm trying to use gateway address 10.10.121.10 in order to forward TCP traffic via this machine. I would like to make that traffic from my machine is going over 10.10.121.10 and that machine 10.200.32....
Bojan Vukasovic's user avatar
0 votes
1 answer
2k views

use dns instead of ip address windows static route add

I need to add some static route with this command on a Windows command prompt: ROUTE ADD -p IPADREESS GATEWAYIP But what I want is to use Dns instead of Ip address Is there a way ? How ? For example:...
Hamid Shoja's user avatar
1 vote
0 answers
948 views

Manual route doesn't work in Windows 10

I'm struggling to make a static route working in Windows 10 and on a specific PC: it doesn't seem to do its job. Here's the route table before: C:\WINDOWS\system32>route print ====================...
virtualdj's user avatar
  • 111
0 votes
1 answer
258 views

Which Static Route to Add in Windows to access resources on VPN

I have a VPN Connection, Initially when i was connecting to VPN my internet connectivity was lost. Then i read about disabling the "use default gateway on remote network" check. When i unchecked that ...
Bhavesh's user avatar
2 votes
2 answers
872 views

OpenVPN client lan to reach Server lan

I have OpenVPN Server running in VPC and client running in office network. Have following table on 10.24.11.37 # route -n Kernel IP routing table Destination Gateway Genmask ...
rp346's user avatar
  • 81
0 votes
1 answer
2k views

Ubiquiti EdgeRouter uses default route over static when responding to ICMP

I need to have a working connection between two router devices and the subnets behind them. Everything else in the setup seems to work except one static route. Here is the basic information about my ...
nyoatype's user avatar
1 vote
0 answers
2k views

Static route not working in CentOS 7.6

UPDATE: There was nothing wrong with the OS. The gateway for the static routes had some double NAT rules which caused the traffic to be dropped. I have a simple network setup on a CentOS server. ...
Fanttazio's user avatar
1 vote
1 answer
337 views

RHEL 7.4 adding permanent static route error

I need to add a static route to my system. I can do it with no problem at the command line with: ip route add 10.126.2.0/23 via 10.126.1.5 src 10.2.14.205 To make it permanent I created the /etc/...
Paolo Sestini's user avatar
1 vote
0 answers
1k views

Squid: Setup reverse proxy based on url path

I'm currently trying to bypass browser security, by hosting a static html page under all (external) domains. e.g. Given a webpage hosted at http://myinternalserver/mypage.html When I request https://...
Nick Grealy's user avatar
0 votes
1 answer
93 views

4 NICs, 2 gateways, only two interfaces see network

I have a centos7 os with 4 interfaces and 2 gateways, 2 network ranges. one interface has it's own gateway and works, no problem there. the other 3 interfaces should be using a single gateway, but ...
senaps's user avatar
  • 143
0 votes
1 answer
169 views

VPS - how to allow different vpn subnets to comunicate?

I have a VPS A (kvm with Ubuntu 18.04) with VPN server VPN server 10.50.0.0/24 All the vpn clients can ping each others And other VPS B (kvm with Ubuntu 18.04) with vpn server and vpn client from ...
plopes's user avatar
  • 11
0 votes
0 answers
372 views

Automatic re-adding default gateway for NIC in Windows 10

I have a problem with odd behaviour with gateway settings being auto-added. I have two integrated NICs on my windows 10 PC with same gateway IP address. One NIC is for ATM KVM (Intel VPRO), second ...
adroman's user avatar
  • 11
1 vote
3 answers
12k views

How do I make my default GW route permanently on Linux Ubuntu?

I have 2 EC2 instances that run Ubuntu (VM1: 172.0.1.11 and VM2: 172.2.1.12). I want to make a default Gateway to my Routers R1which its addresses are the following respectively 172.0.1.8and 172.2.1....
Tim Luka's user avatar
  • 147
0 votes
0 answers
828 views

OpenVPN server unable to ping network behind client VPN, Clients can ping server network fine

My OpenVPN Network <-- See image of my network What i want to achieve is for the server to gain access to all clients including any client which is connected to the clients modem, and that all ...
rsleek's user avatar
  • 1
-1 votes
1 answer
198 views

Static routing in Linux (as a router)

Currently I have a physical Linux machine (Centos7) with two physical interfaces. On the eth0 interface I have 3 virtual interfaces - eth0.66, eth0,67, eth0.99 (vlan interfaces). wlan0 is the internal ...
kellyredbook's user avatar
0 votes
1 answer
3k views

How to multiple incoming from interface[s]

I have 3 interface(2 wan, 1 local) and enabled forward, but only one incoming interface(ppp0) can to local destination, the following is my iptable command: iptables -t nat -A PREROUTING -i ppp0 -p ...
Cloud's user avatar
  • 1
0 votes
0 answers
153 views

How to add permanent route AFTER VPN up?

I have a server with a vpn (is vpn server also). For some reasons the vpn is disconnecting occasionally. I have a route that i add manually afte getting up as I need to see from the server (cloud) ...
Antonth's user avatar
1 vote
2 answers
2k views

How can additional routes be added to anaconda kickstart?

I frequently build centos7 servers and have a few special networking requirements. For example, I may want to use nameservers or repositories in private ranges that can't be reached via my normal ...
Jarrod's user avatar
  • 131
1 vote
2 answers
495 views

VPN client unable to access LAN

I have a server on the office lan with a public ip running open vpn. External vpn clients can connect to the vpn via the public ip. But once connected they are unable to connect to other servers on ...
user618509's user avatar
-1 votes
1 answer
4k views

static routes and iptables

I have this situation: LAN1 (10.0.0.x) Subnet 255.255.255.0 Gateway 10.0.0.1 Gateway "WAN" 192.168.1.210 LAN2 (10.0.1.x) Subnet 255.255.255.0 Gateway 10.0.1.1 Gateway "WAN" 192.168.1.211 By "...
Gioele Frapolli's user avatar
3 votes
2 answers
19k views

Add static route (default gateway) on Ubuntu 16.04 server

I have set up Ubuntu 16.04 VM server, and I'm trying to change default GW on it. (all traffic should be redirected to another gw - because of whitelisting problems). Incoming traffic will come from ...
Goran Keleković's user avatar
1 vote
1 answer
5k views

RouterOS push static route for IPSec IKEv2 VPN

Can't find a solution how actually I can push a static routes to VPN clients, when they connect via VPN. Configuration from here RouterOS, IPSec, IKEv2. Clients mainly macOS users via standard soft. ...
Alex Ivasyuv's user avatar
0 votes
0 answers
1k views

2 Offices, 2 Internet Connections, 1 leased line connecting the offices: How to route LAN traffic?

We have 2 offices, each with their own internet connection. We also have a leased line/LAN extension provided by the ISP at each location as well. The way this works is that the ISP provided us a ...
qroberts's user avatar
  • 285
0 votes
1 answer
5k views

centos 7 persistent static route

I have a centos 7 server, with 4 interfaces. i am trying to give each of these interfaces a different ip, gateway and netmask. I want each interface to respond requests itself. so if a request has ...
senaps's user avatar
  • 143