Questions tagged [iproute]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

Ubuntu Routing: Dual Nics with 2 Vlans

I am new to linux routing. I have an architecture similar to this . I realize this network architecture is fundamentally flawed however I am not permitted to change the architecture. I did some ...
2
votes
2answers
214 views

OpenVPN client lan to reach Server lan

I have OpenVPN Server running in VPC and client running in office network. Have following table on 10.24.11.37 # route -n Kernel IP routing table Destination Gateway Genmask ...
1
vote
0answers
61 views

Static route not working in CentOS 7.6

UPDATE: There was nothing wrong with the OS. The gateway for the static routes had some double NAT rules which caused the traffic to be dropped. I have a simple network setup on a CentOS server. ...
3
votes
2answers
390 views

Linux GRE - ip tunnel vs ip link

Can someone please explain the difference between linux ip tunnel and ip link command when it comes to configuring tunnels (such as GRE, IPIP, or VXLAN)? I can see that I can configure a GRE tunnel, ...
1
vote
1answer
363 views

From specific source IP to specific destination IP with ip route or ip tables

Problem I've already created different IP aliases, (each with a different virtual Mac Address too) this way on my shell: ip link add link eth0 address 00:11:11:11:11:11 eth0.1 type macvlan ifconfig ...
1
vote
1answer
210 views

hostapd not working anymore

I had a working hostapd file and a functioning wifi hotspot (device is busybox, iMX6 board). While the hotspot was up and running, I was doing manual routing connected to the device via ssh (I'm able ...
2
votes
1answer
519 views

Why Linux continues to use disconnected ethernet interfaces?

I have a Linux system with two ethernet interfaces, eth0 & eth1, which are used on the same subnet. At times, I see that even when one of the interfaces is disconnected (cable unplugged), Linux ...
0
votes
1answer
72 views

rhel7 default gateway in the route table

After restarting network/rebooting the server, the default gateway IP address is also getting added as a route Destination in RHEL7. How can I prevent this? We have not specified this setting and not ...
0
votes
1answer
325 views

Ghost ping on a multi-NIC Linux system

I have a Linux system with 3 NICs & all 3 are on the same subnet. I've setup policy routing on the system with ip rules & ip routes using 3 tables. These are the IPs of the 3 NICs. ETH0: 192....
5
votes
1answer
1k views

Routing traffic to two NICs on the same network

I have a few linux test boxes on Scaleway, each having 2x NICs that are all connected to the same network 10.0.0.0/8 but each has its own gateway. I want to be able to use both NICs (eth0/eth1) and ...
1
vote
1answer
1k views

OpenVPN with same subnet on two remote sites

i have some issue with an OpenVPN concentrator while using TUN device. The scenario is that: OpenVPN Server VPN Subnet: 10.10.10.1/24 PC1 OpenVPN Client VPN IP: 10.10.10.50 PC Local subnet/IP: 192....
1
vote
1answer
487 views

IP Rules and Tables Confusion

After using openVPN, I have a new TUN device. I also followed some steps online to allow incoming transmissions into my server, however, I don't understand how it's working. ip addr: 1: lo: <...
8
votes
1answer
40k views

Use ip route add to add multicast routes to multiple interfaces

TLDR: Is there a way to use "ip route" to add multicast routes for multiple NICs? We have software that uses two multicast groups to communicate with two different groups of devices on two separate ...
0
votes
1answer
4k views

script exited with error status 127

i wrote some scrip for setting route on specific interface on linux (CentOS 6.0) and put them into Networkmanager script path (/etc/Networkmanager/dispatcher.d) with highest prefix number.(i give ...
0
votes
0answers
461 views

TWO ISP internet connections on CENTOS6. Can't ping on client

I have two internet connections, from two different ISPs and I need failover host for my local network between the two ISPs. I am using CentOS6. eth0 – ISP 1 eth1 – ISP 2 eth2 – local network ...
2
votes
0answers
216 views

NAT for multiple servers with iptables over OpenVPN

I have successfully created an OpenVPN Network (server hosted in a VPS) 10.8.0.0/255.255.0.0 for my home needs, and clients that support OpenVPN clients can connect through the server and connect ...
0
votes
1answer
113 views

how should I divide a network into several smaller vlans on a extreme switch?

I get a C-network from my ISP, and there's a static route in ISP side pointing to one ipaddress(192.168.0.2) in my C-network so that this C-net can be reached from outside world. I use a Extreme X460 ...
-1
votes
1answer
2k views

SAVE IP ROUTE RULES AFTER REBOOT

I have two internet connections from two different ISPs and I need to balance & failover the traffic originating to and from my network between the two ISPs. My settings: FIRST ISP (eth0): 152....
1
vote
0answers
535 views

Linux: even with route, packets not going over the interface

I apologize but this is a question I jotted down when debugging another problem, so I can't provide any additional information. Anyway: suppose we have no firewall rules, and the following route ...
0
votes
2answers
2k views

Ubuntu Iptables Dual Wan - Forward wan 1 & 2 to an internal server

I'm having problems configuring iptables rules on a double wan setup. The OS is Ubuntu 12.04 LTS. I have 2 Wan connections, both with static IP. Wan-1 is on eth2, Wan-2 is on eth4. I want both of ...
3
votes
0answers
566 views

“ip route get” on Ubuntu returning default instead of static route

We've been trying to solve this seemingly simple routing problem for days. We are trying to route traffic through an OpenVPN tunnel. Specifically, traffic to 10.0.1.136 should be routed through our ...
2
votes
2answers
1k views

ip route get recognizes address as anycast

# ip route get 1.2.3.4 anycast 1.2.3.4 dev eth0 src 5.6.7.8 and the question is how does it know the address is an anycast ? (which apparently is true). UPDATED: Present as anycast route: root@...
0
votes
1answer
139 views

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 ...
0
votes
1answer
296 views

IP routing Solaris 9 access the internet from local network

I am trying to configure the NICS on the Solaris Sparc server. My problem lies in getting out to the "Internet" from the local network. I have requested the NIC to receive a DHCP server address #...
6
votes
3answers
12k views

Multiples ip address on interface. I want to specify one of them for output

I ran curl on curlmyip.com, and I got the wrong output ip address. My systemd service file is: [Unit] Description=Wired Networking Wants=network.target dibbler-client.service Before=network.target ...
0
votes
1answer
271 views

playing with ip route to connect to VPN and lost local internet

I'm following this tutorial about openVPN, every goes good until this following step on client (just before autostart section from wiki): # ip route add VPNSERVER_IP via LOCALGATEWAY_IP dev eth0 ...
0
votes
1answer
218 views

Redirect remote desktop traffic with 2 WANs and 1 LAN

Im configuring a linux centos sever for testings and the network configuration for it is: WAN 1= 192.168.1.103/24 eth0 WAN 2= 172.16.1.249/16 eth1 LAN = 192.168.10.1 eth2 server is configured to be ...
1
vote
1answer
393 views

Selectively route traffic to interface

I have set up a separate routing table (tovpn) #echo 200 tovpn >> /etc/iproute2/rt_tables Now I assign routes to it. Where 10.0.0.1 is the tun2 P-t-P and 10.0.0.2 is the inet #ip ...
-1
votes
1answer
271 views

ip routing policy in linux

I have a linux system with two network interfaces (eth0 in x.x.x.0 and eth1 in x.x.y.0). Is there any posibility to add some route policy to send all the traffic to network x.x.y.0. I would like even ...
1
vote
2answers
3k views

Is Traffic Control (tc) broken in Fedora 17?

After upgrading from Fedora 16 to Fedora 17, Traffic Control no longer seems to work. Running # tc qdisc show will output: qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priopmap 1 2 2 2 1 2 0 ...
4
votes
1answer
1k views

Linux: ip alias versus iproute

When setting up a web server with multiple IP-based virtual hosts, I've always used the eth0:x alias notation in /etc/network/interfaces. The wiki on my hosting provider states however that this is ...
5
votes
1answer
2k views

iproute: disable “tc” command

I'm after running this command to simulate a network latency of 500ms with 100ms std deviation: tc qdisc add dev eth2 root netem delay 500ms 100ms Trouble is, I forget how to cancel this command! My ...
0
votes
1answer
222 views

iproute2 premptive route creation, i think

Firstly: I know could do this the easy way with SSH but I want to learn how to route. I want to route packets back through the same tun0 interface from which they came into my system. I can do it ...
3
votes
1answer
2k views

Same netmask or /32 for secondary IP on Linux

There appear to be (at least) two ways to add a secondary IP address to an interface on Linux. By secondary, I mean that it'll accept traffic to the IP address, and responses to connections made to ...