A route is the path through the network packets take in order to reach their destinations. The route command lets the user view and modify the IP routing table

learn more… | top users | synonyms

2
votes
1answer
13 views

Per user routing on wifi

I'm using vpn but i want to have one user that could access network not through vpn but using my real ip address. The problem is that all solutions i found by quick google'ing, for example this ...
0
votes
1answer
17 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
1
vote
1answer
19 views

How to add static route in Virtual Guest to reach Host network?

I have a Linux mint virtual machine running with public IP as 203.x.x.x with bridge mode Ethernet adapter whereas my physical machine IP Address is 145.17.x.x subnet. To access my physical PC's ...
1
vote
2answers
28 views

How to use routing to use the next available inetface

My system has 2 interfaces (eth0, eth1). I open a socket and bind it with an ip attached to eth0, now I want the OS to route the packets to another ip (which attached to eth1 but i'm not sure it's ...
0
votes
0answers
22 views

Can't access http anymore

My computer A is connected to an AP with an access to the internet. (interface called new0) I cannot have more than 1 computer connected to this AP. (authentification) I wanted to share internet, so ...
2
votes
1answer
17 views

route some traffic in subnet to other gateway

I want to route traffic destined for 192.168.5.0/24 to a gateway of 10.1.10.24, but all other traffic to a gateway of 10.1.10.1. I tried: ip route add 192.168.5.0/24 via 10.1.10.24 but it seems to ...
1
vote
0answers
18 views

Relationship bettwen route flags using route versus route flags using cat /proc/net/route

When you enter route in the command line, for flags it prints out U, UG, etc. In the file for route it stores flags as a number 0001, 0003 etc. How are the numbers for flags in the file ...
1
vote
3answers
199 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
0
votes
1answer
71 views

route -n gives output “route: fscanf”

If I boot my system and no interface has an IP address I get the above output. However if I give an interface an IP, even if I remove it again, this will disappear. Why does this happen? Is it that ...
0
votes
2answers
16k views

Delete Static Routes on Solaris 10

I have the following routes that I wish to delete: 10.250.0.0 10.250.0.37 UG 1 0 I have run the following to delete this with failure. bash-3.2# route delete ...
0
votes
1answer
34 views

Forwarding traffics come from SSH tunnel to VPN tunnel on a Linux device

I want to route network traffic that comes from one end of ssh tunnel (constructed by ssh dynamic port-forwarding) into one end of VPN tunnel. Given four linux devices A, B, C and D, for example, I ...
0
votes
0answers
28 views

Kernel routes not loaded to Quagga ospfd process (freeBSD)

I'm trying to redistribute kernel routes that are added using the route command. For example: route add -net 2.0.0.0/24 -interface em0 I'm using Quagga ospfd under pfsense to redistribute the ...
0
votes
1answer
39 views

Debian network disappearing

I'm running Debian v8 (systemd purged and systemV installed ... works fine). It is a clean installation (Debian v7 used to be on this machine) The harddrives failed after numerous power failures on 1 ...
0
votes
0answers
40 views

Where is the route table file in SUSE?

According to the documentation at http://www.softpanorama.org/Net/Linux_networking/Suse_networking/suse_etc_sysconfig_network_route.shtml there should be a table containing the routes at ...
2
votes
1answer
50 views

How to connect between two Linux machines VIA Linux router machine

I have three Linux machines that connected as the following: Linux_machine1 --> Route_linux_machine --> Linux_machine2 How to ssh from Linux_machine1 to Linux_machine2 Only VIA ...
1
vote
1answer
110 views

Where is routing table stored internally in the Linux kernel?

When I execute route -n, from where exactly (from which structs) is the information displayed retrieved? I tried executing strace route -n but I didn't help me finding the right place it's stored.
1
vote
1answer
52 views

Connect to offline network on second interface

I would think there's likely a dupe of this around but I cannot find it. I have an offline router I'm using to connect a remote wireless device. The router cannot be configured as an access point, ...
0
votes
0answers
25 views

How to tune dhcp networks configuration?

I'm not sure how should I configure my guest VirtualBox networks. So far, I figured out how to override this configuration so that I can connect to machines on both networks. But I'm manually ...
5
votes
3answers
27k views

how to ping & use specific network card

i have 3 network cards , 1 Lan (wired) , 1 wireless network card & 1 is wireless usb how do i ping from specific network card ? & how do i use specific network card for specific ...
1
vote
2answers
187 views

Linux lock down route to avoid changes to the default route

I have a problem that every time I connect my Android phone with USB tethering it hijacks my computer's internet connection. Even if the phone's WIFI is off. I try to manually remove the default ...
1
vote
1answer
47 views

Can't use 2 interfaces at the same time

I can't get eth0 and usb0 (same with wlan0) working at the same. When I activated the Android Tethering, I did route add default gw 192.168.42.129 usb0, and so, route -n outputs: Table de routage IP ...
0
votes
1answer
54 views

Connect through different interfaces to the same server

i have two pppoe interfaces - ppp0 and ppp1. I would like to reach the same server on both interface. I added the desired ip address to the route table: route add 10.88.40.13 ppp0 And I could ...
0
votes
0answers
249 views

iptables - hairpin NAT dual WAN

Here is my lab Client LAN: 192.168.150.95 Gateway: 192.168.150.1 RDP Server LAN: 192.168.150.2 Gateway: 192.168.150.1 Linux Router WAN: 177.129.XXX.XXX Gateway: 177.129.XXX.XXX LAN: 192.168.150.1 ...
0
votes
0answers
83 views

how to set a route and firewall for a static ip

These directions on setting the static ip address for vicidial seem at once very specific and overly broad: Type 'yast lan' and press ENTER Optionally, you can type 'yast' and navigate to the ...
0
votes
1answer
440 views

Problem with routing tables network interface in Centos 6.6

I've problem with the routing tables, I've 2 network interface. (2 interfaces with 2 difference network address IP address: 112.xxx.xxx.xxx: static IP and 10.xxx.xxx.xxx local IP) 1: IP address is: ...
1
vote
1answer
33 views

Gateway configuration is not working

I have three virtual machines, vm1, gwvm and vm2. gwvm has two interfaces, one connected to vm1 and other connected to vm2. Following image has IP and route details, Here vm1 and vm2 are in ...
2
votes
2answers
161 views

which order is the route table analyzed in?

On my pc I have to following routing table: Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 ...
0
votes
0answers
115 views

OpenVPN Server only Serves traffic from Google.com to Client

So I am pretty sure this is a routing/config problem. Whenever my client (Android OpenVPN) connects to the OpenVPN server it can only retrieve traffic from google.com searches. Whenever I try and ...
1
vote
1answer
8k views

CentOS 7 persistent routing issue?

I have Googled a lot but still can't find a working way on how to make some persistent routes on centOS 7. [root@asd network-scripts]# route -n Kernel IP routing table Destination Gateway ...
3
votes
0answers
64 views

delay in IP route deletion

(Apologies if this is the wrong StackExchange for this question, but there does seem to be some confusion regarding appropriate targeting of IP networking questions) I am very much a network newbie, ...
2
votes
1answer
1k views

proper syntax to delete default route for a particular interface?

summary: me@client:~$ sudo route del default ppp0 SIOCDELRT: No such process me@client:~$ sudo route del default dev ppp0 SIOCDELRT: No such process me@client:~$ sudo route del -net default dev ppp0 ...
2
votes
0answers
72 views

Binding to a VPN interface not working

so I've been working on setting up a Raspberry Pi running Raspbian lately, and I have almost everything set up the way I want. I plan on using it headless, but I've been using X11 forwarding to view ...
2
votes
0answers
231 views

Connecting to two ISP in local network using two different network

We have two ISP 1. BSNL (INDIA), 2. Airtel (INDIA). we getting Bsnl internet through D-Link DSL 2750U modem which holds the IP 192.168.1.1, Airtel internet modem with 192.168.2.1 IP address, Here it's ...
10
votes
2answers
29k views

iptables --set-mark - Route diferent ports through different interfaces

Short story, 3 interfaces, eth0 (LAN), eth1(ADSL), eth2(4G). eth0 -> eth1: Works (ports 80, 443, 4070) eth0 -> eth2: Doesn't happen This is a graphical representation of the idea: Port 80 & ...
1
vote
2answers
7k views

Route add gw: how to

I'm in a network with IP 10.0.1.X (pc A). There's another sub-network: 10.0.3.0 I can ping pc B connected to this network: ping 10.0.3.X ---> OK Now, B is connected also in wifi to a network ...
2
votes
0answers
133 views

Default iterface/routes metric in Linux

When I run ip route on my Linux machine, I see default via xxx.xxx.xxx.xxx dev eno1 metric 202 I wonder, where this 202 metric is configured and what other ip commands use it.
2
votes
1answer
5k views

How to add ipv6 default route

I have the following setup Linux 1 Linux 0 eth1 eth0-------------------eth0 14.14.14.80 19.19.19.20 19.19.19.10 2005::5/64 ...
0
votes
0answers
112 views

connected to ethernet and wifi, “route” browser's connection to wifi only

Sometimes, in my company, I have to work with a different network (through ethernet) that has no internet. On the other hand, I do have access to out Wifi, which has internet. Since I have to spend a ...
2
votes
1answer
146 views

Bring network interface down if physical connectivity is lost

I have a headless Debian server with two network cards: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000 link/ether 01:02:1d:54:7c:01 brd ...
3
votes
0answers
671 views

OpenVPN and routing problem on OpenWRT

My home topology: router1 (192.168.1.1) - D-Link dsl2540u server with static IP available from Internet (ADSL via ppoe). 4 LAN ports. router2 (192.168.1.2) - D-Link DIR-300 with OpenWRT. Plays ...
3
votes
2answers
4k views

Static routes in route-eth0 ignored

Why might route-eth0 be ignored but route-eth1 not? Might be because eth0 is using DHCP and eth1 is statically-configured? I have some static routes configured in ...
2
votes
0answers
156 views

forward virtual interface network in KVM guest to the physical interface in the host machine

I am trying to experiment with Linux IP routes. This is what I have so far. I have a host machine whose network details are as below. wlan0 inet addr:192.168.1.9 Bcast:192.168.1.255 ...
2
votes
0answers
368 views

Forward multicast between two LAN segments (Chromecast)

I've found some rules but most are inconclusive. Chromecast uses DIAL and discovers via multicast from what I've understood.. I have an Ethernet-connected computer which I would like to route via my ...
3
votes
3answers
268 views

Change routes for VPN

I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network. How does a script look like, that ...
2
votes
1answer
274 views

How to check and set “rhash_entries” parameter?

I'm reading this article, and it says: rhash_entries is the size of the hash table. If you don't specify it on the kernel command line, it is computed dynamically based on the memory available on ...
0
votes
1answer
205 views

/etc/sysctl.conf Fedora {17-20}?

Since Fedora 16 or 17 there no longer file /etc/sysctl.conf. How do I setup net.ipv4.ip_forward = 1?
3
votes
1answer
157 views

IP rule table look up does not seem to work

I have a sytem with three network interfaces. Below is the configuration that I'm trying to set up. wlan0 (its actually an WiFi AP interface) - other devices connects via this interface. net1 - ...
2
votes
2answers
395 views

How to use a defined local IP instead of external one

I have a Gentoo Linux server. Server is connected to two networks: internal and external. Internal network ip: 192.168.1.200 External network ip: 192.168.0.2 If I'm trying to make request from ...
2
votes
0answers
264 views

KVM guest as default gateway for bridged network

I currently have two vm's both on kvm (virt-manager), both running on separate virtual interfaces (virbr0 and virbr1). The IP of virbr0 is 192.168.122.0; the IP of virbr1 is 192.168.123.0. Both VMs ...
2
votes
2answers
6k views

Packet loss with RX error packets

I am seeing packet loss from all my blade servers within the HP Blade C7000 enclosure. # ping 192.168.2.140 PING 192.168.2.140 (192.168.2.140) 56(84) bytes of data. 64 bytes from 192.168.2.140: ...