Routing (in IP-based networks) is the process of selecting paths in a network along which to send network traffic.

learn more… | top users | synonyms

0
votes
1answer
24 views

Linux not using default route [on hold]

I'm no Linux expert, though I use it regularly. So can someone throw some light on the following behavior. I would expect traceroute to have the first hop as 192.168.1.160 ian@ubuntu-mini:~$ ...
0
votes
1answer
42 views

Linux Source Routing, Strong End System Model / Strong Host Model?

Can a multihomed Linux machine implement a true Strong ES Model? Specific Use Case I have a system with five different interfaces, each connected to the same subnet, thus the same gateway to the ...
0
votes
1answer
25 views

Does “ip_forward” need to be enabled for any iptables SNAT/DNAT (postrouting/prerouting) rules?

I remember I had to enable ip_forward kernel parameter in the past in order to run SNAT/DNAT rules in iptables successfully. Today I was reading this post: ...
0
votes
0answers
10 views

iptables: route back to source

How can I have iptables route a source back to its source on the same requested port? Example: X.X.X.X comes in on port 22; I want to route X.X.X.X back to X.X.X.X on same requested port; how do I do ...
4
votes
0answers
16 views

Reassemble images forwarded though Linux router? [migrated]

In 2003-2004 I used a Linux app that reassembled images from HTTP traffic forwarded through a Linux router, displaying them live. Just a command line app that threw up an X window, showing the images ...
0
votes
2answers
29 views

IP routing not working

I configured network bridge for my VM. VM can ping host but can't ping anything from internet. My configuration: # ip route default via 192.168.1.100 dev wlp3s0 192.168.1.0/24 dev wlp3s0 proto ...
0
votes
0answers
29 views

Centos 7 persistent static routes for any interface

I am trying to set up some static routes in a CentOS 7 box. The official RHEL says it is possible to add files in /etc/sysconfig/network-scripts/route-interface. This approach works, however I need ...
0
votes
0answers
26 views

How to route mail server from both intranet and internet?

We have a mail server configured in Ubuntu 12.04 with postfix, dovecot and roundcube. It has two interfaces, one with real IP and one with private LAN IP. Incase of intranet we have branches and head ...
0
votes
0answers
40 views

pfsense: Network freezes when squid service started in bridge mode

We are using pfsense firewall in bridge mode. When squid service with Transparent proxy option is started the network freezes. On routing mode, squid works pretty well. Squid setup is as below: ...
0
votes
0answers
33 views

Ubuntu routing tables problem

I'm having an issue with ubuntu's server network traffic rules. Ubuntu server's version is 14.04. I have a zabbix server monitoring serveral hosts. 2 days ago, about 14 hosts started reporting down. ...
0
votes
0answers
20 views

How do I change NAT type for UDP to be more P2P-friendly?

On gateway I do iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE, and on device I have this: $ stun stun.counterpath.net STUN client version 0.96 Primary: Indepndent Mapping, Port Dependent ...
1
vote
1answer
39 views

Nothing happens when trying to add/set default gateway

I'm connected to a network using VPN (Managed byt NetworkManager, Fedora 23), and I want to route all traffica via the VPN network. But for some reason nothing happens when I run ip route add or ip ...
4
votes
1answer
25 views

How can I tell which IP address is used to connect to another machine?

I have several computers that are multi-homed, and have different static IP addresses for each of several network connections. How can I tell which of these IP addresses is used when I'm connecting to ...
1
vote
3answers
52 views

Routing to different subnet via single NIC to another box

I have a home network with 3 subnets (I like to play around!) I've been struggling with something that I thought would be easy, but after a few days I'm no closer to the answer. My network is ...
1
vote
1answer
29 views

How to get numerical output in `ip route` command

When using route command, -n switch does the trick. How to get numerical output using ip route command? It's man page does not mention anything similar. Specifically I need 0.0.0.0 instead of default. ...
0
votes
1answer
30 views

Linux routing IPv6 packets through incorrect interface

I have a Arch Linux system where link-local packets are not being routed properly. I have 4 interfaces on this machine (wan, lan0, lan1 and lan2). All three of the lanX interfaces are bridged ...
3
votes
2answers
65 views

Linux static routing : Ping a private network(Network Diagram Attached)

In the Network Diagram above my aim is to ping 192.168.20.20 from System A. I do not want to configure the router. For that to happen All the traffic to 192.168.20.0/24 should be first forwarded ...
1
vote
0answers
23 views

Bridging two interfaces with iproute2 doesn't work

I'm trying to create a bridge between eth0 and eth1 with iproute2, but there's always the error: RTNETLINK answers: Operation not supported when I use the command:ip link add name br0 type bridge. ...
1
vote
0answers
30 views

Not permitted to add eth0 to bond0

I'm trying to add an interface to my bond0 but I always get the error. sudo ip link set dev eth0 master bond0 RTNETLINK answers: Operation not permitted I already tried it with sudo and with ...
1
vote
0answers
42 views

ip link add gives me an error that it's not supported

I would like to set up a bridge with iproute2 like this: Adding bridge : ip link add name br0 type bridge Bringing bridge UP : ip link set dev br0 up Adding interface to bridge : ip link set dev eth1 ...
0
votes
1answer
29 views

SSH tunnel between 3 box to get internet access

The network looks like this : Server X -- My machine -- Server Y My machine has SSH access to both boxes. Server Y has internet but not server X. How can I make a tunnel so server X can acces the ...
1
vote
0answers
60 views

Quagga ebgp routes not advertised to ibgp peers

I am trying to achieve http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13762-40.html#conf3. Only difference from the setting is that the ISP is sending full BGP table instead ...
1
vote
1answer
50 views

Modifying existing route entry in linux

what is the command to modify metric of an existing route entry in linux? I am able to change gateway of an existing entry using "ip route change" command as below but not able to change metrics. Is ...
0
votes
1answer
29 views

Adding route entries to the routing table

I have a device that has a default IP address of 10.1.1.102 with netmask 255.255.255.0. Rather than changing it, I tried to add a routing entry to my routing table using route add. sudo route add ...
2
votes
1answer
89 views

Linux ignoring multicast route over loopback

I'm trying to test some multicast code on a single machine. I'm trying to get the packets sent over the loopback device (lo) instead of the default eth1. Googling keeps turning up the incantation ...
0
votes
1answer
57 views

Linux Forward Packets between interfaces

I would like to forward packets between interfaces without using iptables. I am not against iptables per se, I just believe that for my simple needs it's not necessary. However I am unable to do so. ...
1
vote
1answer
74 views

OpenVPN connection help. Multiple Tunnels

i have a system setup, mostly from reading posts and instructions and am having a bit of trouble. My basic setup multiple openvpn clients, e.g. macbook, android phone dd-wrt router / firewall ...
0
votes
3answers
58 views

Unable to figure out how to route a packet through a multi-homed nic

The environment is FreeBSD for the most part and looks like this: HOST_A <-> ROUTER <-> LOKI <-> HOST_B Minimally, I would like to be able to ping ROUTER from HOST_B. ROUTER is ...
0
votes
0answers
29 views

Hang routing cache

Recently I've started to get the following message in my syslog "kernel: [274521.629591] dst cache overflow". Short investigation led to some troubles with routing cache. This is what I found: On ...
0
votes
1answer
30 views

Route Locally generated packets to different gateway [duplicate]

I need to send the packets of specific port to different gateway. This is the situation: The server has different services, like http, dns, and mail (smtp,pop,imap), and it has two gateways. eth2: ...
0
votes
0answers
79 views

How should a two nic gateway be routed (FreeBSD 10.2)?

I am trying to set up a freebsd router that sits between the cable/dsl modem and my lan machines. Here is the logical setup: Cable/DSL modem connected to internet: gateway 192.168.0.1 FreeBSD ...
0
votes
2answers
25 views

Debian : 2 Nic 2 different networks switches - kernel sees a bad network

Hello Here is the situation : - VMplayer with 2 physical NICs (network interface cards) on the Windows host - VM Debian 64bits - On VM settings: both NICs are configured to replicate on the physical ...
1
vote
0answers
57 views

Configure Linux PC as router

Consider the below network configuration. wan ----[WAN router] <----> [eth1 (PC2) eth0]<---->[eth0 (PC1)] wan ----[WAN router 192.168.169.1] <--> [192.168.169.5 (PC2) 10.1.2.3] ...
0
votes
2answers
71 views

Direct connection w/ ethernet cable

This is for "research" not pragmatic purposes -- I want to know how this is supposed to work, since my guess below does not. In other words, I do not want an answer that involves ...
3
votes
0answers
143 views

Debian 8 : where are default static routes set?

i'm facing a strange problem with my newly installed Debian 8 box : default static routes are missing the 0.0.0.0 destination route. $ sudo route -n Kernel IP routing table Destination Gateway ...
0
votes
0answers
49 views

How to delete gateway from default routing table use systemd

There are two physical interfaces on my machine, both with DHCP, so my default routing table looks like this: Destination Gateway Genmask Flags Metric Ref Use Iface default ...
0
votes
1answer
163 views

how to configure multiple interfaces with systemd-networkd

I have three physical network interfaces one my machine, they are all connected to different subnets, the first interface is eno1 with IP 10.10.24.157/24, the second one is eno2 with IP ...
2
votes
0answers
19 views

DNS lookup with different Port

I have 2 interface. interface_1 ip address 10.192.0.1 --- interface_2 ip address 192.168.10.2 gw 192.168.10.1 --- default gateway. Not I want to pass my url lookup (keeping 4.2.2.2) with ...
0
votes
1answer
40 views

how to add default drop route in custom routing table?

Am trying to learn using policy based routing which is based on fwmark as below. Need to forward traffic by using default entry in table1, if table1 doesnt have a default entry, then that particular ...
1
vote
0answers
21 views

Conditional routing according to protocol HTTP/S

There is a wifi corporate network which is reasonably fast but does not allow ssh connections. I want to be able to web browse using both that network and a ssh tunneled mobile USB tethering in my ...
3
votes
0answers
46 views

Routing on per application basis

I'm using a proprietary VPN client on my Ubuntu Linux work station (Astrill) which support several types of VPNs. One of these VPN types is OpenVPN, which creates a virtual interface tun0 when ...
2
votes
1answer
116 views

Can't delete default route on linux

I have two default routes and I want to delete one of them, but can't. I get no error message and the route is still there. Am I doing it wrong? Is NetworkManager screwing with me? ...
1
vote
2answers
101 views

Can't access my device via SSH over internet

I'm running sshdroid server on my android device at port 22 and I get this while I use my pc to connect to it via ssh (LAN) root@kali:~# ssh -l root 100.107.219.116 The authenticity of host ...
3
votes
0answers
251 views

About tun2socks (BadVPN) SOCKS proxy

I am not very experienced with socks proxy. Recently I found the tun2socks. If you open the link, in the 1st paragraph it says : It implements a TUN virtual network interface which accepts all ...
-1
votes
1answer
39 views

How do I configure my server to stay hidden unless it receives correct password?

The server is supposed to silently ignore any requests (including ping) unless it receives correct credentials with initial request. Nobody else can tell that the host even exists. I am talking about ...
0
votes
0answers
73 views

Sniff on SWITCH(lan) traffic openWRT

Is it possible to sniff (with tcpdump) or mirror LAN traffic that doesn't get routed to WAN using openWRT? Say I have two PCs connected to LAN ports and I want to sniff on traffic one PC is sending ...
3
votes
1answer
84 views

add route in Linux if sub-net, where gateway is situated, is not configured

I have a PC which has 192.168.1.1/24 configured to eth0 interface. Now if I try to add routes via 10.10.10.254, the ip utility reports that No such process: root@PC:~# ip neigh add 10.10.10.254 ...
0
votes
1answer
80 views

Access my web server publicly

On my Debian server I have a eth0 interface (192.168.10.x) and I just added eth1 (176.31.36.x). I would like to set up a public access for ssh, web, ..etc. allow-hotplug eth1 iface eth1 inet static ...
0
votes
0answers
46 views

Incoming internet SSH traffic to eth0 and outgoing internet traffic to wlan0

I have this setup: kali linux on raspberry PI connected to eth0 and wlan0. eth0 has internet access and public ip with port 22 open. wlan0 has internet access. I want to be able to connect to my ...
1
vote
2answers
67 views

Meaning of address netmask without route to subnet?

My understanding is that the netmask of the interface tells what subnet the interface belongs to. Meaning of this information is that the routing system knows that packets to this subnet should be ...