Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
0
votes
2 answers

What is windows server equivalent for "ip route add X dev X"

I have two subnets in local network - I need access from one to second via local ports without using gateway. In linux I'm using this: ip route add 90.5.5.0/24 dev eth0 (server have IP e.g. 91.6.6.5). Data are sending directly to MAC - "so stay in…
Pavel
  • 417
  • 1
  • 7
  • 17
0
votes
1 answer

Route Table in Ubuntu

I am new in network and I don't know how to config properly. I can ping to server ping -I 192.168.42.1 42.112.178.185 but I couldn't ping ping 42.112.178.185 42.112.178.185 is only allow accept for 192.168.42.0/24. How could I add route table ?…
saturngod
  • 837
  • 2
  • 10
  • 12
0
votes
0 answers

Packets routed through wrong interface

This is a follow up on ip rule shouldn't beat ip route. I've configured everything as per my last question. But... Running: $ ip route get 10.10.10.10 from 10.0.0.13 iif test-interface 10.10.10.10 from 10.0.0.13 via 10.10.10.1 dev eth1 cache iif…
0
votes
0 answers

how to add multiple default routes ubuntu 16.04 lts

I have the following commands and outputs Here are my current commands (this work fine on RHEL system but not on ubuntu) ip route add default via 10.1.1.1 dev eth0 tab 1 ip route add default via 10.1.1.1 dev eth1 tab 2 ip route add default via…
uberrebu
  • 503
  • 6
  • 17
  • 36
0
votes
1 answer

Linux routes for point-to-point Ethernet network in presence of a default route

SOLUTION: There's a typo in the IP address on my laptop Ethernet interface (see the accepted answer). The following writeup is most probably proper setup. I'd like to communicate with Raspberry Pi (rpi) via point-to-point Ethernet between my laptop…
0
votes
1 answer

No Internet access while connected with Cisco AnyConnect VPN client

I joined a Cisco IPSEC VPN (based on Group Authentication). I had to install the VPN using some tricks since is not working anymore on Windows 10. The problem is that once connected in VPN internet is no working anymore. This is my route table IPv4…
0
votes
0 answers

openvpn creates routes that make browsing the internet impossibble

When I connect to VPN network using command sudo openvpn my.ovpn browsing internet becomes impossible I've narrowed it down to incorrect routing table that openvpn makes. - But still it feels more like a wild guess... :/ $ sudo route -n Kernel IP…
sebastian_t
  • 111
  • 1
  • 5
0
votes
1 answer

Configure multiple gateways linux

I have a server with 2 ethernet ports that I would like to configure with multiple gateways. I want port 1 to be the default gateway and I want traffic coming from port 2 to go out on port 2. I followed many guides on how to do this but I can't make…
Machinegon
  • 121
  • 1
  • 6
0
votes
1 answer

Routing a subnet to the internet

Routing Internet traffic through computer on another subnet I have 2 debian boxes and would like to use one of them as a vpn server, and the other as a client. The goal is for the client to access the internet through the server's internet…
Vorac
  • 101
  • 4
0
votes
1 answer

DNS servers provided by dhcp are automatically routed to local MAC address

On my freebsd, when ip and network conf is given by the dhcp, these routes are added for unknown reason : 192.168.138.6 54:a0:xx:xx:xx:xx UHS re0_vlan100 192.168.138.5 54:a0:xx:xx:xx:xx UHS re0_vlan100 The mac address is the one…
0
votes
2 answers

Debian Unable to add a static route: SIOADDRT: Network is unreachable

I've been trying to solve this out by myself but is nearly impossible...the thing is that I have to PCs on the same network, one is running Windows (192.168.61.100) and the other one is running Debian (192.168.61.200). I added a static route to the…
gasparmenendez
  • 63
  • 1
  • 2
  • 6
0
votes
1 answer

Is there a way to create static route to a differente subnet on Linux?

From my point of view, there's no way of doing this, but maybe someone can suggest me a workaround. I have two companies that have a VPN between them, configured on a Mikrotik router. Subnets 192.168.1.0/24 and 192.168.2.0/24 and they are working…
0
votes
1 answer

Which route will be selected?

I was confused by ip route list output on linux box. He is shows route: 172.30.0.0/16 via 117.158.54.60 dev ppp0 src 192.168.200.1 I read in manual the source address to prefer when sending to the destinations covered by the route prefix. Ok,…
user419775
0
votes
2 answers

Can't ping nor connect to my mail server with Outlook but internet works fine

Well, the internet is working flawless, all the sites are fine, and I can use my webmail from the provider website, althought I can't send anything from Outlook, funnily I receive everything, and all computers here use Outlook, also, tried…
Universal
  • 1
  • 1
  • 2
0
votes
1 answer

Subnet is big enough but no connection between two servers (within IPSec vpn)

I could bet that everything is set up correctly. But it doesnt work :-( As you can see the network is quite simple. - I hope. My goal is a connection between Server 2 and Server 4. On Server 2 there is a MySQL server and I will access them from…
Patrick
  • 139
  • 1
  • 1
  • 7