Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
-1
votes
1 answer
How to understand this output of ip route list table 255
broadcast 100.125.71.152 dev rmnet_data1 proto kernel scope link src 100.125.71.153
local 100.125.71.153 dev rmnet_data1 proto kernel scope host src 100.125.71.153
broadcast 100.125.71.155 dev rmnet_data1 proto kernel scope link src…

iseki
- 13
- 2
-1
votes
1 answer
ovh's fail-over ip as a gateway
I own one of OVH's VPS instances. It's located in France. I've deployed an application which connects to a service located in Poland. The problem is the service rejects any connections from foreign countries.
I've acquired a faillover ip located in…
-1
votes
2 answers
Route to VPN server
Something wrong with routing tables, cannot sort this out :( Need a hint, do not know where start to dig.
I have two openVPN clients - one is under Win10 wich works good, the second(DD-WRT) can't even ping the server.
OpenVPN Server(TAP)
Local…

danilabagroff
- 113
- 4
-1
votes
2 answers
ip route add: RTNETLINK answers: Network is down
I'm quite new to networking and I really can't figure this out.
I am trying to add a static route so that all traffic to aa.aa.aa.aa goes through eth0:0 interface
root@LSW-199:~# ifconfig
eth0 Link encap:Ethernet HWaddr 80:c1:6e:6f:f8:68
…

samgreeneggsham
- 1
- 1
- 1
-1
votes
1 answer
How to change loopback network mask or redirect subnet to another interface
I have the following problem.
First of all. Here are my interfaces.
# ip addr
ip addr
1: lo: mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
…

e109848
- 23
- 1
- 4
-1
votes
3 answers
Is there a way to ssh using hostname alias without modifying the etc/hosts file?
I spent hours researching how I can automate 100s of hosts that are all under one local domain. (i'm on a ubuntu linux 17.04 machine)
For example, I have node1.domain.org, node2.domain.org, and the list goes to node100.domain.org
it is practically…

Harish Chennamsetty
- 83
- 2
- 8
-1
votes
1 answer
Windows setup up bad route
I am seeing a weird problem on a Windows 7 x64 PC.
The PC has two network interfaces: 10.0.7.80 and 169.254.198.30
For some reason when 169.254.X.X interface comes up Windows sets up incorrect route for it.
The route print command shows that…

Alex Gdalevich
- 101
-1
votes
1 answer
routing all network traffic over a internet host
i would like to replicate what openvpn redirect-gateway does, routing all traffic over a internet server into the internet and back.
my client pc -> home router -> internet -> 1.2.3.4 -> internet
this is my normal "route -n" output with a working…

Julius Junghans
- 49
- 1
- 5
-1
votes
1 answer
Static routing is redirecting
I have one PC with 192.168.x.135 as IP and 192.168.x.33 as gateway; and a Windows Server 2008 with the IP 192.168.x.33.
Now I want to route all packages with the destination 14.x.x.x to 127.x.x.x.
So I added this route :
But the server is not…

npit
- 11
- 4
-1
votes
1 answer
Dynamic NAT configuration
I am using two routers and one host (computer), I connected fast Ethernet 0/1 of router A with the host and fa0/0 of the router A with the router B
I have configured gateway as last resort on both routers, I tried to ping host with router B and it…
-1
votes
1 answer
Can 192.168.20.4/24 describe a network or only a host?
As I understand it IP 192.168.20.4/24 can only describe a host (24) on net 192.168.20.[1-254].
Now when describing a net; can 192.168.20.4/24 be a valid network ID, or should such a network ID always end with 0, as in 192.168.20.0/24, where 0…

JohnyTex
- 101
- 5
-1
votes
2 answers
CentOS: Can't add route after deleting the /24 rule from main routing table
As the title says, after deleting a rule from the main routing able I am not able to add any route till I do
service network restart
or
ifup eth0
To reproduce the problem:
ip route list table main
192.168.2.0/24 dev eth0 proto kernel scope…

chandank
- 847
- 3
- 14
- 31
-1
votes
1 answer
aws route 53 and vistualhost in ubuntu apache
I have added domain name in route 53 and creating a sub domain to land into virtualhost with a port. I am trying to add a sub domain as cname and cname is my servername in virtualhost. I am on ubuntu apache. Any help will highly be appreciated.

Krishna Bhatt
- 3
- 4
-1
votes
1 answer
Enable route between subnet
I have a Centos server with three NIC cards.
ETH0 Public IP xx.xx.xx.xx1/xx.xx.xx.xx2 (with two public IP)
EHT1 Local Subnet 192.168.80.0 (DHCP server listening on this interface)
ETH2 Local Subnet (10.0.1.10) Connected to printers/file…

Pratap
- 695
- 6
- 22
-1
votes
1 answer
Centos 6.4 2 NIC same gateway
I'm having a problem with my centos server setup, i have 2 public nic and they have the ip from 209.59.252.0/24, with the same gateway. The problem is that only eth0 works, the other one doesn't. They have both the same configuration. Gateway is in…

Alin Andrei
- 127
- 9