Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
2
votes
1 answer

What's the difference between "route default gw and route default via"

What's the difference between these two commands? ip route add default gw 192.168.0.1 ip route add default via 192.168.0.1 I've seen both being used to solve the same problem, but don't understand the difference... Basically, I wanted to know the…
JoBe
  • 276
  • 1
  • 3
  • 13
2
votes
0 answers

multiple socksproxies bridged to vpn tunnel

I've bought vpn access from a vpn provider. I'm able to have 5 concurrent vpn sessions within the subscription. I'm trying to do following setup: 1..n socks-proxy -> 1..n openvpn client tunnels to (different) serverlocations. You can specify the…
lama1234
  • 21
  • 1
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
  • 15
2
votes
1 answer

Why Linux continues to use disconnected ethernet interfaces?

I have a Linux system with two ethernet interfaces, eth0 & eth1, which are used on the same subnet. At times, I see that even when one of the interfaces is disconnected (cable unplugged), Linux continues to use its IP address. For example, if eth0…
2
votes
1 answer

How to remove stale routes during Windows Cluster RESTART?

BACKGROUND I have a Windows Cluster (2016) with four nodes (3 NICs each). When I try to restart any of the cluster host server, the whole cluster going down and other nodes are randomly failing. When I logged a case with Microsoft, they said it is…
2
votes
1 answer

The command route the "Use" field is only zeroed, it does not count the route searches chosen

The route command output shows me the "Use" field but it always goes to zero, would not it be the route lookups because it does not count would it have something to activate so that it starts counting?
2
votes
1 answer

ip rule shouldn't beat ip route

I'm running CentOS and are using ip route and ip rule for routing. I've currently got an ip rule from 10.8.23.0/28 table 1234 and ip route default via 10.8.23.254 eth1 10.10.10.10 via 10.10.10.1 eth1 10.0.0.0/14 dev test-interface table 1234 It…
2
votes
3 answers

Add IP Routes and Rules at Startup

I’m currently routing some marked packets via eth0. However, I have to apply the routing rules every time the system reboots. The two commands I always have to re enter are ip rule add fwmark 3 table 3 ip route add default via 192.168.0.1 table…
Zaden
  • 23
  • 1
  • 1
  • 3
2
votes
2 answers

I can ping Web, but not browse it -- why are my DNS settings failing?

Update 6 @ 2:56p on Nov 21 I am working on a creating a small network of virtual machines and containers. So far, I am stuck configuring the host though. There is no virtual machine involved in this connection. Though there are two bridges in…
gbambo
  • 21
  • 1
  • 4
2
votes
1 answer

NATting through different gateway than default gateway?

I have a bit of a tricky setup on my Synology NAS: There is a VPN tunnel up and running which also acts as default gateway (tun0, GW: 10.129.15.229). This is intended and should stay like this so that everything that is initiated on the NAS is…
Tobias
  • 161
  • 1
  • 6
2
votes
0 answers

Changing the interface of a IPV6 route on AIX

My current IPV6 routing talbe: Route Tree for Protocol Family 24 (Internet v6): ::/96 0.0.0.0 UC 0 0 sit0 - - => default link#2 UC 0 0 en0 - - ::1%1 …
wangx1ng
  • 21
  • 2
2
votes
1 answer

static routing - multiple subnets through 1 server

I'm wanting to establish a static route to a separate subnet, routing through a vpn. Debian linux. Machine A: vpn IP 10.1.1.10 --> machine b (server) ip 10.1.1.2 Machine B: 3 network interfaces: eth0 LAN1 (172.x.x.x), tun/tap VPN (10.1.1.2),…
ideal_
  • 21
  • 2
2
votes
2 answers

add default route for redhat permanently

I have a cluster consists of several RedHat_7 PCs. The master node connects to two networks(Internal and Internet). I used to utilizing NAT to provide Internet service for all the computers. For some reason, this method doesn't work now. The NAT…
stupig
  • 23
  • 1
  • 1
  • 4
2
votes
0 answers

In the output of netstat -r, what is the meaning of the "Netif" column and how does it differ to the "Gateway" column?

I can find virtually no documentation of the meaning of the column "Netif" in the output of netstat -rn. Googled for it, searched through the netstat(1) and route(8) man pages and found the following sentence as the clearest bit of information on…
papiro
  • 159
  • 1
  • 8
2
votes
2 answers

Connection refused on shared internet connection

The following picture shows the topology of my network. I now want to route all http traffic from 10.8.0.15 via 10.8.0.42 to the outside world, using wlan0. Unfortunately, I am a noob when it comes to iptables and routing. Can anyone point me into…
Coxer
  • 187
  • 1
  • 14