Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
2
votes
4 answers
How can I define null route on Windows Server 2008 R2 Standard
How can I define null route on Windows Server 2008 R2 Standard?
I've tried
x.x.x.x is target ip which I'm trying to block
1.1.1.1 is non existing ip
192.168.1.1 is default gw
192.168.1.254 is non existing ip on same subnet
route add x.x.x.x mask…

newbie123_
- 23
- 1
- 3
2
votes
2 answers
How to make incoming and outgoing IP same on a multiple IP binding server
I have a centos 6 VPS configured 1 network interface binding with 4 IPs, for example 172.x.x.11, 172.x.x.12, 172.x.x.13, 172.x.x.14 binding with venet0:0, venet0:1, venet0:2, venet0:3.
I have pptpd service running on the server. Client can connect…

Alex Liao
- 23
- 4
2
votes
1 answer
lxc container not getting default route
I'm running Ubuntu Precise. I understand that my current version of lxc doesn't support gateway/default route assignment (lxc 0.7.5-3ubuntu67).
I've been trying like heck to get a few lines to execute so that the default route can be set in the…

user176373
- 53
- 2
- 4
2
votes
2 answers
openvpn (tun0 + bridge) : Comunication bridge --> tun0 works but not the opposite direction
My network is composed as follows:
Host A with ip 9.x.x.x and vpn ip 192.15.206.x (openvpn client)
Host B with ip 9.x.x.x and vpn ip 192.15.206.1 (openvpn server)
this host has a bridge br0 with ip 192.168.206.1
Host C with ip…

Bemipefe
- 115
- 1
- 11
2
votes
3 answers
OpenVPN - Client traffic is not entirely routed through VPN
I installed OpenVPN on my dedicated server.
Using Viscosity or Tunnelblick on the client, I successfully connected to this server.
However, after some tests, I realized that not all the traffic generated by the client goes through the server.…

Pierre Espenan
- 141
- 1
- 7
2
votes
2 answers
route packets through hardware loopback interface, not lo
My embedded Linux board has 3 interfaces:
eth0 - For all outbound traffic
eth1 - A hardware loopback (traffic leaves board, but comes immediately back in the same port)
lo - Standard loopback interface
ifconfig reveals the following:
eth1 …

Trevor
- 121
- 1
- 3
2
votes
1 answer
route add in rhel with src option
I'm struggling to understand how to add the route options to my routes file in rhel. Let's say I have the route:
ip route:
192.168.89.0/24 via 192.53.28.193 dev eth0 src 192.53.28.216
How can I store that in my static file with the src…

Dan
- 367
- 3
- 4
- 16
2
votes
2 answers
Can't reach network 192.168.100.0/24
In one of our data-centre we've a Debian machine acting as a router. From this network we cannot reach any of the machines found on 192.168.100.0/24 network. E.g The gateway on the 192.168.100.0/24 network is the 192.168.100.10. This gateway is not…

Valentin Bajrami
- 4,045
- 1
- 18
- 26
2
votes
2 answers
static route: why does a destination address needs a subnetmask
When I define a static route, why I have to define a subnet mask for the destination network? What would happen, when I have more than one gateway an the subnet masks of all destination networks are 0.0.0.0?

reneton
- 29
- 1
- 1
- 3
2
votes
2 answers
Routing through subnets, static routes
Topology:
C1 --192.168.111.0/24 -- R1 -- 172.30.0.0/24 -- Switch -- C6
|-- R2 -- 172.30.10.0/23 -- C5
I am a newbie in networking and I have a question about routing through subnets.
I want to ping…

reneton
- 21
- 2
2
votes
1 answer
IP Bridge for KVM with multiple subnets
I have a machine set up running KVM and a bridge on eth0 with the ip address for the machine. The machine has an IP address in a range with no more ip adresses free. I am trying to make a second subnet available for KVM guests to use for their IP…

Christopher O'Connell
- 123
- 5
2
votes
2 answers
How to route UDP traffic from one public IP (linux) to another public IP(Windows)
I want to prevent direct access of my Windows Machine and want to expose some programs running on it via my Linux Machine (which again is accessible by a Public IP).
Is there a way where-in I can configure my Linux Machine (say IP = a.b.c.d) to…

Mahendra Liya
- 339
- 1
- 5
- 13
2
votes
2 answers
Iptables string
I have an iptables rule like this:
iptables -t nat -I PREROUTING -p tcp --dport 80 -s 192.168.1.2 -j DNAT --to-destination 192.168.1.1:80
it works perfectly.. but I want to redirect only for one URL like this:
iptables -t nat -I PREROUTING -p tcp…

Mr. BeatMasta
- 143
- 1
- 6
2
votes
2 answers
Connecting two subnets using an Ubuntu 10.04 LTS as a router
This has been bothering me for a couple of days,
I have two subnets:
192.168.1.0/24 : This is the subnet used by my ISP/router. The gateway to the WAN is 192.168.1.1
192.168.2.0/24 : This is a subnet that I've created on my ESXi 5 virtual…

lloowen
- 21
- 1
- 3
2
votes
3 answers
what's the difference between ICMP prohibited ICMP unreachable?
If I want to forbid a route to response a network, should I use
ip route add unreachable 209.10.26.51 or ip route add prohibit 209.10.26.51?

steveyang
- 673
- 4
- 10
- 16