Questions tagged [static-routes]

Manually configured entries in the routing table.

Manually configured entries in the routing table.

176 questions
25
votes
6 answers

How can I set the metric of a manually added route on Windows?

I am using the following command to add a route, but the metric isn't working the way I want it to. I want the route I am adding to have a lower cost. C:\Users\cboyle>route ADD 0.0.0.0 MASK 0.0.0.0 192.168.76.2 METRIC 3 IF 11 …
Corey
  • 1,943
  • 12
  • 38
  • 53
19
votes
5 answers

Windows static routes w/o specifying gateway (next hop)

I have the following scenario: Computer A: 198.51.100.8, netmask 255.255.255.0 Computer B: 203.0.113.9, netmask 255.255.255.0 Both computers are on the same LAN segment; no default gateway is specified in either case. To get these two computers to…
fission
  • 3,506
  • 2
  • 20
  • 27
17
votes
2 answers

Specify route to an interface in Windows cmd

I have a computer with 2 network interfaces. One interface is connected to LAN network with IP 192.168.0.254, and the other is connected to a recorder server (192.168.0.233). 192.168.0.10 is the gateway for the LAN. When I try to ping to…
Davi GN
  • 173
  • 1
  • 1
  • 5
13
votes
2 answers

How should I bridge two networks, given each network has its own subnet & DHCP server?

I would like to join/bridge two different networks, network 1 and network 2: Network 1: A network consisted of a Linux box (with one ethernet) port and multiple clients (connected via LAN switch). The linux box is acting as DHCP server and it's…
Arya S.
  • 141
  • 1
  • 1
  • 5
9
votes
1 answer

CentOS, two nics eth0 eth1 with different subnets aren't reachable outside VLAN/subnet

I am having an issue with a CentOS 6.3 box. We have two NICs (eth0 and eth1) in the server which each have an ip from a different subnet assigned, let's say eth0:192.168.1.2/24 (gateway 192.168.1.1) and eth1:192.168.2.2/24 (gateway 192.168.2.1). The…
Scott
  • 153
  • 1
  • 2
  • 6
9
votes
3 answers

Windows 7: Route single IP over different interface (wlan)

I am connected via Ethernet (10.1.1.1, interface 11) as well as via Wireless LAN (172.22.12.1, interface 12). I trying to route just a certain host (140.239.191.10 - which is whatismyipaddress.com for testing purposes) via the wlan instead of the…
Dennis G
  • 588
  • 3
  • 6
  • 20
8
votes
3 answers

Do not allow domain computers to communicate with each other

Our domain consists of around 60 computers. I have been tasked with making sure that Windows 10 workstations cannot communicate with each other. My manager asked that I create static routes so that computers can only communicate with the network…
taiwie
  • 83
  • 1
  • 4
7
votes
3 answers

How to automatically assign a route to client in Windows Server PPTP VPN?

Is there a way to configure PPTP VPN on Windows Server which automatically tells the client to add a route for the private network? I have to do it manually on every PC (once) using following command for example: route add 192.168.111.0 mask…
splattne
  • 28,348
  • 19
  • 97
  • 147
6
votes
3 answers

Linux adds the wrong default route

For some reason my Centos 5.9 Linux 2.6.18 x86_64 wants me to have two default routes. Whenever I reboot the server, my routing table looks like this: [root@server1 ~]# route -n Kernel IP routing table Destination Gateway Genmask …
Zoon
  • 161
  • 1
  • 1
  • 4
6
votes
1 answer

Routing setup for OpenVPN server on Amazon EC2

Software developer here, trying to get his sysadmin-foo up and running by setting up an OpenVPN server on amazon EC2 to access all the internal resources there. Here's how I envision that on a fresh Ubuntu 12.04 Canonical AMI: Local network …
peritus
  • 163
  • 1
  • 5
5
votes
4 answers

Ubuntu full disc encryption on Hetzner Cloud adding add static route in initramfs

I try to setup Ubuntu with full disc encryption on top of Hetzner Cloud. I got everything to work except the network connection in initramfs. Thanks to the UI console its possible to unlock, but I need SSH (dropbear) in init. I successfully using…
user2638109
  • 153
  • 1
  • 4
5
votes
1 answer

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 ens192 10.15.55.0 0.0.0.0 …
5
votes
1 answer

Route traffic directly between nodes in a cluster

I apologize if this is a really dumb question. Objective Ensure that traffic that is meant to go between nodes in a cluster does not (inefficiently) go outside the cluster and then come back in, but goes directly between nodes. Background We are…
Chris Dutrow
  • 725
  • 7
  • 19
5
votes
2 answers

Routing using Linux with 2 NIC cards

Configured Clear OS to be in Gateway mode on a machine with two NIC cards. eth0:192.168.2.0/24 with ip 192.168.2.27 which is connected to a modem and thus have internet connectivity. eth1:192.168.122.0/24 with ip 192.168.122.10 which is connected to…
Kevin Parker
  • 757
  • 1
  • 13
  • 29
5
votes
1 answer

CCNA Case Study - Static Routes

I'm currently doing the CCNA (Cisco Certified Network Associate) course at school and am a bit stuck on my case study, so I was wondering if anyone could help. I have the following topology: I have set up all the connections to the ones shown…
DJDMorrison
  • 203
  • 2
  • 6
1
2 3
11 12