Questions tagged [static-routes]

Manually configured entries in the routing table.

Manually configured entries in the routing table.

176 questions
4
votes
3 answers

Prohibiting an IP range from going out to the Internet in Red Hat/CentOS Linux

I have a VPN, and my server frequently sends data to a private IP address that routes over the VPN. When the OpenVPN gets established or dies, it enables/disables the routes. I want to null-route that private IP range from going out over the main…
Crash Override
  • 571
  • 1
  • 8
  • 20
3
votes
2 answers

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 10.50.x.x network, but outgoing should go trough…
Goran Keleković
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

Traffic via static route on router does not find its way back

this one bugs me for a couple of days now and I cannot find a solution. Sorry for the strange title. This isn't my main field of work and I currently cannot think of a better title. Some facts: I'm a user on a shared openstack environment I cannot…
malte
  • 296
  • 3
  • 9
3
votes
0 answers

Multiple Subnet, Same Gateway

I have a nexus3000 switch that has a L3 connection with an uplink switch. (172.18.186.129-130/30) ... In downlink, I have multiple servers and VLANs and I have a range of IP-addresses (172.18.186.0/25) which I want to subnet and use in my network.…
Ryan
  • 31
  • 3
3
votes
1 answer

Linux static route configuration via DHCP

I have a bunch of RedHat VMs that I need to set a static IPv4 routing table. I want to centralize this configuration and it came to my mind the DHCP service that could provide this information (see RFC3442). Does any of the DHCP clients that came…
Mircea Vutcovici
  • 16,706
  • 4
  • 52
  • 80
3
votes
2 answers

Static Routes on Windows - Computer with two NICs connected to two routed networks

I asked this on another site recently, but I figured this might be a good place to ask this as well: Please take a look at the diagram below. My question is in regards to computer "C" in the middle of the diagram. It has three NIC cards. It needs…
jstevens13
  • 145
  • 1
  • 1
  • 5
3
votes
2 answers

Automatically set static routes between two networks without dhcp or default gateway

I have a windows domain network with two different subnets. Both are connected trough VPN gateways. DHCP and default gateway is an exiting router blackbox. Unfortunately I have very limited control over it. It is not possible to add a route there or…
Roman
  • 372
  • 1
  • 7
  • 19
3
votes
1 answer

Static route in conflict with a route

I have a route configured. 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1 I'd like to add a static route to pass traffic destined for 192.168.1.51 via a load balancer's redundant virtual interface at 192.168.1.2. ip route add…
Athanasios
  • 355
  • 1
  • 2
  • 7
2
votes
2 answers

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 Flags Metric Ref Use Iface 10.24.11.0 0.0.0.0 …
roy
  • 119
  • 1
  • 2
  • 12
2
votes
1 answer

is the use of link-local address mandatory for IPv6 static routing next hop?

The RFC for Neighbor Discovery (RFC4861), in section 8 states: "A router MUST be able to determine the link-local address for each of its neighboring routers in order to ensure that the target address in a Redirect message identifies the…
networkIT
  • 91
  • 1
  • 1
  • 6
2
votes
2 answers

Static route in initramfs

My hosting provider unfortunately requires the use of static routes for network configuration (gateway is on a different subnet than the host IP). For that purpose I added the following lines to the network configuration file…
Alec Hans
  • 21
  • 3
2
votes
3 answers

pfSense - Traffic to subnet not being routed by static route

pfSense version: 2.3.4-RELEASE We recently converted over from a WatchGuard firewall to use pfSense. We've almost got everything working the way that we want it but there's this small thing that we can't seem to get working. We've basically got…
greyseal96
  • 143
  • 1
  • 7
2
votes
1 answer

Can not add static route in my Ubuntu, SIOCADDRT: Network is unreachable

I'm trying to add a static route in my VPS to a client that is on the other side of the VPN tunnel to my VPS and forwards it's traffic through the tunnel. This is the setup of my destination that I'm planning to add a route to. The Raspi acts as a…
Bahador
  • 21
  • 8
2
votes
0 answers

what is the "ip route" equivalent of "route add -host" in linux?

Specifically, route add -host allows me to specify the host via hostname to add a route to a host, e.g., route add -host www.google.com gw 192.168.1.1 However, I cannot find a way to do this using ip route. The closest I can get is ip route add…
2
votes
1 answer

how to configuring secondary IP subnet that is directly routed to WMware ESXI main IP

I have a ESXI 5.1 which comes with a /29 Block IP (EX. 70.60.50.0/29) and the ESXi management address is frist usable addres 70.60.50.2, also i have a secondary /27 IP block (10.20.30.0/27) which is static routed to the primary (first usable) IP…
1
2
3
11 12