Questions tagged [ip-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
1 answer
2k views

Routing traffic to two NICs on the same network

I have a few linux test boxes on Scaleway, each having 2x NICs that are all connected to the same network 10.0.0.0/8 but each has its own gateway. I want to be able to use both NICs (eth0/eth1) and ...
Vad1mo's user avatar
  • 268
0 votes
1 answer
426 views

Putting ISP public IPs on two different firewalls

Trying to figure out if I need a router or switch for this. Nothing is yet configured, and I can still order equipment. I have incoming: Two internet connections. One (ISP-1) of which has given us a ...
Chuck's user avatar
  • 1
2 votes
0 answers
269 views

How to assign specific ethernet interface to specific user on Ubuntu?

I have an Ubuntu 16.04 server running with multiple ethernet cards all connected to the internet with distinct IP addresses. I want to configure specific user to use specific card so that they will ...
ChromeHearts's user avatar
0 votes
1 answer
1k views

"0/2" IPv4 destination in "netstat -nr" command on Mac OS X to view host routing table

I'm using the command "netstat -nr" to view the host routing table on a Mac OS X system, and here's the output I'm getting: Routing tables Internet: Destination Gateway Flags ...
slantalpha's user avatar
-1 votes
1 answer
80 views

Automatically turn off VPN for select website/IP [closed]

Using a VPN for privacy and security on a Unix machine. There are a few sites that I can only access through my whitelisted IP for work. Is there a way to automatically turn off my VPN (or route ...
9ete's user avatar
  • 117
-1 votes
2 answers
2k views

Debian - Dual WAN - Static Route on a DHCP Interface

I've got two WAN interfaces coming into a Debian 8 VM. WAN 1 - All Internet and local traffic. (0.0.0.0/0) Has a a static IP, thus IP, netmask and gateway are fixed values. WAN 2 - Specific private ...
Indecided's user avatar
0 votes
1 answer
2k views

Configuring routing table with 2 network interfaces

I have a Linux server with two network interfaces: eth0 (connected to internet using a public IP address A.B.C.208) and eth1 (not connected to anything, bind to a private IP address 10.U.V.159). The ...
Laurent Grégoire's user avatar
2 votes
1 answer
3k views

SNAT to from different source IP's to multiple destination IP's

I have a pptp server which issues a local IP to each user on successful auth. These IP's are in the range of 10.1.1.2-10.1.1.254. This all works ok, however I then have a set of 128 public IP's that ...
brightskyapps's user avatar
5 votes
1 answer
2k views

Carrier Grade NAT concepts: IP bans

I'd like to deploy a Wireless WAN using IPV6 for at least the wireless bits given that 6 offers higher through-put. I'm exploring the concept of CGN and what strikes me immediately is the liability. ...
Guitarax's user avatar
1 vote
1 answer
29 views

3 Static IPs, 1 Modem, 1 Dual WAN TP-Link Router

Can I place a hub/non-L3 switch between my Router and Cable modem to utilize the other IPs? I'm interested in using one of the IPs for Direct Access. Thanks
Antwain L. Patrick's user avatar
0 votes
1 answer
306 views

I cannot ping to destination IP even after adding a ip tunnel

So I have a virtual device with ip 192.168.16.15/24(device X). I'm trying to ping this from another device 10.64.95.120/24(device A). This virtual device(device X) is created on another server 10.64....
mac's user avatar
  • 101
0 votes
1 answer
670 views

Keep source IPs of OpenVPN client's subnet

I have configured an OpenVPN network 10.8.0.0/24 (network A) running in Azure. The Linux VM's IP is 10.1.0.4 on the 10.1.0.0/24 network in Azure (network B). I have also configured a router as an ...
Scopperloit's user avatar
0 votes
2 answers
862 views

Route incoming traffic for host1.example.com:80 to a docker container with port 80 bound to 10080

I have an Ubuntu 16.04 machine running Apache2 and Docker (the docker itself is running GitLab from the Docker hub). This box also hosts a Phabricator instance, hence why I have put GitLab into its ...
engsysadmin's user avatar
0 votes
1 answer
478 views

Cisco 3560G not passing IPv6 RA when VLAN without IPv6 address

Problem: When having VLAN without IPv6 address on L3 enabled switch, no RA is passed through VLAN unless there is IPv6 address assigned to the VLAN. Static assigments however are reachable fine. ...
Yarik Dot's user avatar
  • 1,583
0 votes
1 answer
430 views

Do I need to set up static routes between routers for bi-directional device access?

I've got two TP-link routers where one (Remote router 192.168.2.4) is making a WDS bridge connection to another (Main router 192.168.2.2) on a static 2.4 ghz wifi channel. Main router is also doing ...
Peggy Schafer's user avatar
1 vote
1 answer
3k views

Don't get ICMP reply when ping from specific interface

I have a linux machine running under CentOS with 2 ISP. My rollover ISP channel script try to determine when we at secondary ISP channel is there a primary ISP channel get up and vice versa when need ...
user avatar
0 votes
0 answers
49 views

how to access a bridged network within a remote host?

Hypothetical network setup: router ip: 192.168.1.1 host 1: eth0 ip: 192.168.1.2 br0: 172.19.0.1 host 2: eth0 ip: 192.168.1.3 I want to be able to access the 172.19/16 from the host 2. In ...
CaseyJones's user avatar
0 votes
1 answer
198 views

RV325 Router, and Traffic from specfic IP headed outbound

I have a block of IP addresses, and a Cisco RV325 Router. I can do NAT from one external IP to an internal IP. I don't know however how to send traffic from an internal IP through to a specific ...
billsecond's user avatar
-3 votes
2 answers
69 views

How do routers route packets in the event a router goes down?

On the network backbone I mean. If a router goes down will the network reroute the packets around the router?
user1973385's user avatar
1 vote
3 answers
307 views

Routing table with two same static IPs on the network

We need a way to insert a device between a target device and the network, ideally without needing to change any IP addresses. Currently, the situation is (please excuse the ASCII art) ----------- ...
DougN's user avatar
  • 680
2 votes
1 answer
2k views

Kubernetes: Preserving source IP / Passing external IP as source

Sorry if the title, and tags, are a bit vague, I couldn't figure out the correct terms for it, yet. Please advise, and I will change it. I'm implementing a STUN server, boxed in a Docker container, ...
Adam Law's user avatar
  • 141
-1 votes
1 answer
788 views

How to change loopback network mask or redirect subnet to another interface [closed]

I have the following problem. First of all. Here are my interfaces. # ip addr ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd ...
e109848's user avatar
  • 23
0 votes
1 answer
1k views

Policy based routing in linux based on destination address.

I am struggling with a scenario. Suppose we have two systems in same subnet A:- 192.168.1.5 and B:-192.168.1.6 where B is further connected with C:-172.22.1.5 through Openswan. B can ping C but A cant ...
xs2rashid's user avatar
  • 204
0 votes
0 answers
881 views

Static route with local IP does not route locally

VPN client breaks routing table on Server by routing local IP to VPN subnetwork. I can't change anything in VPN client so I'm trying to restore route to my host so that apps using 192.168.1.2 as ...
Zur13's user avatar
  • 101
1 vote
1 answer
838 views

How to create a protocol-based default route using iproute2

I'm trying to create two routes -- Send all packets with IP protocol version 100 to 1.1.1.1 (via device eth1) Send all other IP packets to 2.2.2.2 (via device eth2) Reviewing the man pages of ip-...
Runcible's user avatar
  • 3,255
1 vote
1 answer
6k views

How to make routing between bridges in linux?

i want to create bridge for my virtual machine. And i want to have access in internet from my virtual bridge. What i did: DEVICE=br1 TYPE=Bridge ONBOOT=yes BOOTPROTO=static IPADDR=192.168.1.1 NETMASK=...
Valeriu's user avatar
  • 57
0 votes
2 answers
2k views

How to simply Reroute an IP to another?

Basically, here is my need : Being able to specify an IP address in the DNS Zones of my 60+ domains, and have the ability to redirect this IP to another one (and change it when needed). I'm not the ...
AlexLaforge's user avatar
2 votes
0 answers
3k views

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 ...
papiro's user avatar
  • 159
1 vote
1 answer
126 views

How can destination addresses 132.148.77.28 and 132.148.77.28/32 be use different network interfaces for routing?

The output of netstat -rn on my FreeBSD virtual machine shows that: Internet: Destination Gateway Flags Netif Expire default 10.195.51.254 UGS vtnet0 10....
papiro's user avatar
  • 159
0 votes
1 answer
305 views

route loop while ping one server with 3 NIC in 3 separate networks

I have this server used for testing some network parameters. It has 3 separate network cards, each with the below IP configuration: 192.168.10.150/30 gw 10.149 192.168.152.146/30 gw 152.145 192.168....
PyGuy's user avatar
  • 101
1 vote
2 answers
16k views

OpenVPN Routing to LAN Behind Server

I have a site-to-site VPN configured using OpenVPN. The tunnel seems to come up just fine (and I can ping from one end to another), but I cannot get the networks on the two ends to see each other. ...
Bogd's user avatar
  • 321
0 votes
1 answer
100 views

Cisco Routing beetween VLANs

I'm having troubles routing from two VLANs on Cisco Router here is the config: interface FastEthernet0/1.13 encapsulation dot1Q 13 ip address 192.168.13.254 255.255.255.0 ip nat inside no ip ...
rgomez's user avatar
  • 153
0 votes
1 answer
131 views

Strange routing issue across multiple sites

I'll start with a diagram of what everything looks like today and then get into the history: Diagram From that diagram, from top to bottom: RTR 2 is at a remote site. (Site A) RTR 3 is at a remote ...
CD305865's user avatar
0 votes
1 answer
5k views

Where IP fragments are reassembled into one fragment? [closed]

Reading about IP fragments found controversy between various teaching materials. In book: "Fragments need to be reassembled before they reach the transport layer at the destination." "The ...
user avatar
4 votes
1 answer
3k views

Traceroute time is too long

I m using RHEL 6.5 and eth0 interaface Interface Ip is 100.x.x.x and when i traceroute to 100.x.x.x it showing one hop that too ip address of interface itself. For eg traceroute to 100.65.111.14 ...
bgv's user avatar
  • 77
0 votes
1 answer
687 views

Route IP Traffic using nmcli / Centos 7

trying to create reroute from network 10.0.0.0/24 to 192.168.0.0/24 nave a vps on VM , with 2 nics one connected to 10.x net with IP 10.0.0.3 (NAT) and other to 192.x with IP 192.168.0.3 (host only) ...
user avatar
1 vote
0 answers
210 views

Ubuntu Server 2 NICs use VPN on only one of them

I have a server with two NICs, both connected to the network: eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.1.2 netmask 255.255.255.0 broadcast 10.0.1.255 ...
Simon's user avatar
  • 11
0 votes
1 answer
54 views

How to create a private network with same production ip address? And How to make communication between using linux machine as router?

I have production network in some IP series say 192.168.X.X in Vmware. In this i have some machine. I need to create a test setup. I have created a separate VLAN. Those VLAN were not connected to any ...
Dharani Dharan's user avatar
0 votes
1 answer
52 views

Who holds core Country > IP data?

** Please note I am not after an online conversion provider ** Where does the source data come for an IP > Country lookup? For example the WHOIS database has a Country flag but it cannot be relied ...
Antony's user avatar
  • 149
0 votes
3 answers
752 views

Gre tunnel routing Public IPs between two servers

I want to route public IPs from server A and use them on server B. I created the GRE tunnel and it works. I then setup a route on server A in the following way: (public IP not actual IP) 192.168.11....
Jason's user avatar
  • 1
0 votes
1 answer
1k views

Route Azure Service Bus traffic over ExpressRoute?

Azure Service Bus exposes a publicly addressable HTTPS endpoint. For security reasons we'd like to force Service Bus traffic from on-prem systems to Azure over Express Route rather than over the ...
bowerm's user avatar
  • 3
0 votes
1 answer
2k views

route traffic using the primary or secondary IP windows

I have Primary address 192.168.1.238 which is mapped to our Public IP address 1 and secondary IP 192.168.1.138 mapped to another Public IP address 2. How can I configure static routing of my windows ...
user374691's user avatar
3 votes
0 answers
1k views

linux ping incorrect source ip

I have a Linux box handling routing for my network. Here are some relevant configurations (public IP Addresses masked to 192.0.0.x): IP configuration: [root@gw ~]# ip addr 1: lo: <LOOPBACK,UP,...
fdmillion's user avatar
  • 419
0 votes
1 answer
100 views

Access same windows server via different IPs and gateways

I have Windows server 2012 has One LAN with two IPs as follow IP - Mask - Gateway 192.168.1.100 255.255.255.0 192.168.1.1 50.65.1.52 255.255.255.0 50.65.1.1 and the client 192....
Farahatology's user avatar
1 vote
1 answer
2k views

How to use another IP-address for outgoing traffic?

Background I run a server with two external IPv4 addresses. IP-address A (IP-A) and IP-address B (IP-B). Goal I would like to access IP-A over HTTPS port 443 and SSH port 22 only. IP-B shouldn't ...
Bob Ortiz's user avatar
  • 444
0 votes
1 answer
409 views

iptable and ARP setup of linux router under a wifi network

My problem is the computer under the WiFi network cannot connect to the computer under a Linux hotspot which is connecting to the same WiFi. I am setting up a Linux hotspot under a WiFi network, ...
leochan2k's user avatar
0 votes
2 answers
2k views

"route" sub-command does not exits in "ip" command on Cisco 2960-S

I am new to cisco. I'm running a Cisco 2960-S and defined several VLAN on it. I like to use SVI feature and set 192.168.1.254 ip address for interface VLAN 1, 192.168.2.254 for interface VLAN 2 and so ...
IAmAliYousefi's user avatar
2 votes
1 answer
2k views

Can't access server on loopback address, only on private address

I am running a rails web app server bound to 0.0.0.0 on port 80 like so: sudo rails s --port=80 --bind=0.0.0.0 I can access it at my private address http://192.168.0.13/, normally I can access at ...
david_adler's user avatar
0 votes
1 answer
133 views

Intervlan routing--DHCP offer from server on default VLAN not making it back to newly created vlan via layer 3 switch

Default VLAN: 10.36.0.0/24 New VLAN : 10.36.8.0/24 DHCP server : 10.36.0.17 I can see the DHCP offer packets making it back to my VLAN ip address namely 10.36.8.31 (from dhcp server message log) ...
frodolicious's user avatar
1 vote
1 answer
2k views

Splitting a single fiber connection with multiple public IPs to two separate routers

We have a single WAN connection coming into our office and have 5 public IP addresses from our ISP. We have 2 separate entities underneath our main company and I want to be able to completely split ...
Kyle's user avatar
  • 11