Questions tagged [routing]

Questions about using a router/networking, e.g. port forwarding, VPNs

2705 questions
192
votes
13 answers

How can I make the Windows VPN route selective traffic (by destination network)?

I want to use a Windows VPN but only for a particular network, so that it doesn't take over my entire network connection. e.g., Instead of the VPN becoming the default route, make it only the route for 192.168.123.0/24 (I can see that there is a…
Legooolas
  • 5,730
  • 6
  • 27
  • 21
134
votes
14 answers

What is the exact use of a MAC address?

I understand that IP addresses are hierarchical, so that routers throughout the internet know which direction to forward a packet. With MAC addresses, there is no hierarchy, and thus packet forwarding would not be possible. So, MAC addresses are not…
Vishnu Vivek
  • 633
  • 4
  • 11
  • 21
117
votes
7 answers

IP address that is the equivalent of /dev/null

Is there an IP address that would result in any packet sent to be ignored (blackholed)? I know I can always set up a router with an IP address and then just have it ignore all packets sent to it, but does such a thing exist to save me the trouble?
Tyler Durden
  • 6,011
  • 19
  • 57
  • 99
92
votes
5 answers

OpenVPN: Only route a specific IP addresses through VPN?

On a remote private network there are two servers -- a file server and a database server (these are both Win machines, in case it matters). The file server has its own fairly robust authentication mechanisms, and allows me to connect directly from a…
Brian Lacy
  • 3,211
  • 3
  • 25
  • 23
78
votes
3 answers

How do you get loopback addresses other than 127.0.0.1 to work on OS X

According to everything I read, the entire 127.x.x.x subnet should loopback. However, on my Mac, I can only ping 127.0.0.1 I know I've done this before (though possibly on another OS) and has come in very useful for developing multiple SSL sites…
66
votes
2 answers

What is the difference between ARP binding and DHCP address reservation?

In my TL-WR1043ND I have these functionalities and both of them pair an IP address to a MAC address. What is the difference? I read that ARP is for security reasons, others say it is for Wake-on-LAN. I also read there is no difference, but in that…
totymedli
  • 5,084
  • 12
  • 36
  • 50
63
votes
9 answers

How to direct IP route through specific interface in OS X?

I'm on a mac and trying to route a particular address though a specific gateway on my wifi connection. I'm using: route add -host 54.81.143.201 192.168.15.1 Sometimes this will work, other times it wont. What I found is that the interface it…
Sean256
  • 779
  • 1
  • 6
  • 11
50
votes
8 answers

How to force split tunnel routing on Mac to a Cisco VPN

Any one know how to hack the routing table (on a mac) to defeat the forcing of VPN routing for every thing over a cisco VPN? pretty much what I want to do is have only 10.121.* and 10.122.* addresses over the VPN and everything else straight to the…
user23601
50
votes
2 answers

Does All LAN Traffic Travel Through A Router

I have a very simple question: if I have a router (DHCP enabled - leasing IP addresses between 192.168.0.2 and 192.168.0.254) with a switch plugged in, and I plug two computers into the switch, will the network traffic (file transfers etc.) be sent…
jrtc27
  • 888
  • 2
  • 7
  • 12
48
votes
9 answers

Why are subnet-masks relevant for the individual computer on the network?

I understand how subnet-masks are used to divide a network into sub-networks, but, why does every computer in the network need to know the subnet-mask and not just the router? I could understand it, if each computer were physically connected to…
Orpedo
  • 602
  • 1
  • 5
  • 8
42
votes
1 answer

iptables vs route

What's the difference between these two tools? Can anybody tell me what the main workflow of networking behind Linux (in relation to IPv4 packet filtering, NAT and IP routing table) is?
Determinant
  • 1,260
  • 4
  • 16
  • 23
41
votes
3 answers

How to route only specific subnet (source ip) to a particular interface?

How to route only specific subnet (source ip) to a particular interface? OS: Linux I know I can do easily by destination IP by using something like route add 1.2.3.4/24 dev eth4 but I do not see how can route based on source IP.
Alex
  • 1,135
  • 4
  • 12
  • 18
41
votes
3 answers

What's 24 in "192.168.15.0/24"?

What's the meaning of /24 in the following command? route add -net 192.168.15.0/24 192.168.8.10
ohho
  • 2,964
  • 10
  • 36
  • 48
39
votes
8 answers

Access internal IP using public IP

I have a DSL modem with a public IP address (201.206.x.x), and I have a web server in my internal network (192.168.0.50). I set up the modem to forward requests to port 80 to my web server, so, if I access 201.206.x.x from outside my network, it…
willvv
  • 683
  • 3
  • 7
  • 11
35
votes
4 answers

How smart is my network?

There is an argument within my office about how smart/efficient the network we have set up really is. We have a fibre line and a cable line running into a load balancing router, which has a hardware firewall, which lastly has a 64 port switch…
bizzehdee
  • 479
  • 4
  • 9
1
2 3
99 100