Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
0
votes
1 answer
Adding static routes to remote networks
Having:
My local machine (A)
A remote router (B) who knows a remote network/subnet (X)
My local machine's is located at the default router's (C) subnet, who know the remote router (B), but has no reference to the remote subnet (X)
Can I enter a…

ralftar
- 43
- 1
- 6
0
votes
1 answer
How can I tell what's happening to my packets?
I'm trying to bring up a little box on my network. I just reflashed the firmware and it's supposed to come up as 192.168.1.1 by default. My router is a DSL modem at 192.168.0.1; it usually uses a netmask of 255.255.255.0, so I can't talk to the new…

Adam Bliss
- 131
- 5
0
votes
2 answers
dynamic 'route add' command doesn't work but static is working
i am having a situation where
route add
is not working but if i add that as a static entry in sysconfig/network-scripts/route-eth0
its working
Network details:
IPADDR=198.x.x.1
NETMASK=255.255.255.255
BROADCAST=198.x.x.1
if i add a static route…

chemical X
- 3
- 2
0
votes
0 answers
route command displays gateway backward
Very puzzling problem on CentOS 6. After I issued this command:
route add -net 190.160.190.0/24 gw 191.160.203.254
I then check with the route command, but the gateway IP appears backward:
Destination Gateway Genmask Flags…

Luke
- 1
0
votes
1 answer
set route on OpenWRT for PPPoE and LAN
I have a HUAWEI wireless router running OpenWRT.
The router accesses the Internet with PPPoE.
Meanwhile it has an Ethernet address with the following configuration in a LAN (Local Area Network):
Address: 10.100.219.174
NetMask:…

onemach
- 23
- 2
- 9
0
votes
2 answers
Can I configure a connection a network with a gateway with a static ip to a network where the gateway address is assigned via dhcp?
I have two networks with each gateway on a separate network device on a single computer.
One is a static ip network on the ethernet device, the other is a wifi connection to a router that is assigning dhcp with internet access. I have no control…

Matty H
- 103
- 2
0
votes
4 answers
Create IP nullroute blacklist from text file
I've seen various guides out there for how to nullroute a single IP address, and I've done that before. However, I'm not sure how to nullroute a group of IP addresses. Going through each one individually would be too tedious.
If I have a text file…

Joey Miller
- 111
- 5
0
votes
0 answers
pfSense LAN network unable to communicate with remote network on OpenVPN TAP connection
I set up pfSense to connect to a remote network (192.168.122.0/24) that only accepts tap connections.
The connection is being initiated successfully.
pfSense (192.168.1.1/24) itself can connect to remote hosts:
pfsense# traceroute -n…

user569825
- 351
- 3
- 6
- 12
0
votes
1 answer
Routing tables in OS/X Mavericks - causing traceroute: sendto: Cannot allocate memory
OS/X does most of its routing based on the order of the interfaces in 'Network Preferences'.
I need to separate traffic, so I've put the default route first, and then routed traffic to the second interface.
The problem is that, after using the route…

Peter Brooks
- 101
- 2
0
votes
1 answer
squid3 with tcp_outgoing_address could not connect to anywhere
I have one server with 3 interfaces (3 physical lan card), which are connected to 3 different routers. Each router has a different subnet, i.e. the 3 interfaces of server belong to 3 different subdomains:
eth0 192.168.1.42 #default interface
eth1…

Walty Yeung
- 131
- 8
0
votes
2 answers
Route/IPtables Question
I have the following setup -
Verizon Fios Router - WAN - Public IP Address
Verizon Fios Router - LAN - 192.168.1.1
This connects directly to an internal Linux Router -
Internal Router Linux - eth0 - 192.168.1.2
Internal Router Linux - eth1 -…

jchawk
- 348
- 1
- 6
0
votes
1 answer
how to completely quit openvpn, make network work normal
I use a openvpn config file connect to a vpnserver successfully.
But after I ctrl + C quit openvpn, ubuntu counld not access network.
I think the route table is wrong or openvpn is not shutdown correctly, but I don't know how to deal with it.
Detail…

Mithril
- 503
- 1
- 7
- 10
0
votes
0 answers
Routing traffic based on source (Linux)
I have two interfaces on my server; eth0, wich has one public IP address; and eth1, on which 3 IPS are attached. What I'd like to achieve is route traffic coming to the public address configured on eth0 to the IPS configured on eth1, based on the…

arnaud briche
- 123
- 3
0
votes
1 answer
uk vps server route to thailand?
I'm just a Javascript developer using node.js...
My host has got me a vps sever in england. I have had someone test my site loading in england and it is lightning fast. I've also had someone test in italy and they said its almost instant. Right now…

Ben Muircroft
- 105
- 5
0
votes
2 answers
Accept incoming connection from a second gateway
I searched a lot about the question, but can't find solution for my situation.
We've got a Windows 2003 server that runs Advantage Database Server (ADS) through which our site connects to our accounting system. The site connects to static IP…

pablomedok
- 133
- 1
- 11