Questions tagged [static-routes]
Manually configured entries in the routing table.
184
questions
0
votes
1
answer
49
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 ...
0
votes
0
answers
65
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 ...
0
votes
1
answer
41
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 ...
1
vote
1
answer
109
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 ...
1
vote
1
answer
134
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 ...
0
votes
1
answer
32
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
346
views
How to router from external IP to internal IP using opnsense
What rules do I need to create in OpnSense firewall to allow routing of packages from external interface to internal, without masquerade?
Let me explain: I have an gateway running OpnSens with a valid ...
0
votes
1
answer
616
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 ...
0
votes
0
answers
192
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....
0
votes
1
answer
219
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/...
1
vote
1
answer
5k
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 ...
0
votes
1
answer
714
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 ...
1
vote
1
answer
500
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 ...
0
votes
1
answer
573
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 ...
0
votes
0
answers
79
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....
2
votes
0
answers
206
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:...
0
votes
1
answer
4k
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/...
0
votes
2
answers
998
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 ...
0
votes
2
answers
1k
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 ...
0
votes
0
answers
25
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 ...
-2
votes
1
answer
494
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 ...
-1
votes
2
answers
190
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 ...
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 ...
0
votes
0
answers
109
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 ...
0
votes
1
answer
743
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,...
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....
0
votes
1
answer
1k
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:...
1
vote
0
answers
682
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
====================...
0
votes
1
answer
214
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 ...
2
votes
2
answers
771
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 ...
0
votes
1
answer
1k
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 ...
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. ...
1
vote
1
answer
254
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/...
1
vote
0
answers
979
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://...
0
votes
1
answer
80
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 ...
0
votes
1
answer
160
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 ...
0
votes
0
answers
315
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 ...
1
vote
3
answers
10k
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....
0
votes
0
answers
776
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 ...
-1
votes
1
answer
158
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
127
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) ...
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 ...
1
vote
2
answers
484
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 ...
-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 "...
3
votes
2
answers
18k
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 ...
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.
...
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 ...
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 ...