Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
-1
votes
1 answer

Block an IP range with FreeBSD's 'route add'

To block a single IP address I'm using the following: /sbin/route add -host 192.168.0.0 127.0.0.1 Is it possible to block an range of the IP addresses using the route? I have tried the tips found on google like: /sbin/route add…
Lucas
  • 163
  • 3
  • 10
-1
votes
1 answer

Network communication in 2Hosts

We have 2 Linux Hosts each has 2 Nic Cards with below IP addresses,ech0 and eth1 are in different network , Host1:eth1 and Host2:eth1 are connected by direct cable, due to some Hardware issue N/W cable got bad, Is there any way to communicate…
Vijay
-1
votes
2 answers

Adding More IPs to a Netcard on Linux

How do I add more IP addresses to a network card on Linux? Do I use the route command? It's Ubuntu Server 10.04 LTS.
ServerChecker
  • 1,518
  • 2
  • 14
  • 35
-1
votes
1 answer

no ping during routing

I have a computer A (190.21.8...) and B (190.21.5....) and C(222.104.100....) I can mstsc from A to B, and also - I have ping from A to C, and from A to B, but not from B to C? How can this be fixed? For example, is it possible to add a route that…
ComputeALot
-1
votes
0 answers

Add route in Windows

I'm trying to add the rout that is in the picture manually, but I can't do it and I don't know why, i am trying this route add 192.168.17.0 MASK 255.255.255.0 0.0.0.0 METRIC 281 IF 18 enter image description here
-1
votes
1 answer

How to set routes on a linux EC2

How do I set the below values in linux? I'm able to set destination and gateway, but I can't find anything in the docs RE passing a flag for genmask, flags, metric, ref, use or Iface. Can anyone provide the value to pass? I've been able to construct…
CPdev
  • 101
  • 2
-1
votes
2 answers

Multi hop routing

I'm trying to communicate from the tx.py program to send packets (UDP) down to device 1 and device 2 shown in the picture. Currently we have OpenVPN clients running on 2 of our VMs and if I run tx.py on those vms I can communicate fine to each…
Fraggle
  • 61
  • 1
  • 3
  • 10
-1
votes
1 answer

how to save static routes permanently in ubuntu

The current configuration: server1: sudo route add -host 10.0.1.2 dev enp131s0f0 sudo route add -host 10.0.1.3 dev enp131s0f1 server2: sudo route add -host 10.0.1.1 dev enp131s0f0 sudo route add -host 10.0.1.3 dev enp131s0f1 server3: …
Lod
  • 21
  • 6
-1
votes
1 answer

Can I forward VPN traffic to another vpn clients?

I've run OpenVPN server on SERVER-1. Client1(10.8.0.2) and Client2(10.8.0.3) have a connected to OVPN SERVER-1 (pubIP:87.x.x.x | privIP:10.8.0.1) And I've other SERVER-2 with connected 3 VPN clients SERVER_CLIENT1(tun0), SERVER_CLIENT2(tun1) and…
-2
votes
1 answer

Strange IP routing - ping not working

From my server I can't clone repos from bitbucket.org nor reaching bitbucket.org using ping. Everything worked up to now with the current configuration. Here is what I found out up to now: Trying to ping using https://ping.eu/ping to bitbucket.org…
WeSee
  • 486
  • 1
  • 4
  • 10
-2
votes
1 answer

Default Gateway is skipped when adding an additional IP address

I'm currently faced with an issue were when adding an addition IP address, Tracert results to intended IP address but skips the gateway and goes straight to that IP as the 1st/last hop.But when I remove the added IP, then the gateway appears This,…
-2
votes
2 answers

How to route mail server from both internet and intranet?

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 office, head office is connected directly through…
Tasbir
  • 1
  • 1
-2
votes
1 answer

How to block inbound traffic from a host with 'route' in linux

I want to know if it's possible to block inbound traffic to a host but be able to send data only using 'route' command Thanks :)
Rodrigo
  • 267
  • 3
  • 12
-2
votes
1 answer

how to point external domain and ip?

i'm searching 2 days for this question, and i can't resolv this. I have a debian, BIND9 server running, so i create a zone for example www.somewebsite.com and point the domain to my server /var/www/site. the domain somewebsite.com have an external…
-2
votes
1 answer

How can I filter traffic using a layer 3 switch?

I have a layer 3 switch which needs to route traffic to 2 different networks which don't see each other. What would be the simplest and most efficient way to do this? And is there any straight forward documentation I could follow to get this done?
1 2 3
41
42