Questions tagged [iproute]
42 questions
1
vote
1 answer
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.168.20.100
PC2 OpenVPN Client
VPN IP:…

DarkVex
- 388
- 1
- 14
1
vote
1 answer
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: mtu 65536 qdisc noqueue state…

jeebs
- 11
- 1
1
vote
0 answers
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 appears if we invoke ip route show:
192.168.8.0/24…

A__A__0
- 423
- 2
- 8
- 17
1
vote
1 answer
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 route add 10.0.0.1 dev tun2 table tovpn
#ip route add…

user165813
- 39
- 4
1
vote
2 answers
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 0 1 1 1 1 1 1 1 1
However, if I run # tc qdisc add…

Daniel
- 163
- 2
- 11
1
vote
1 answer
RTNETLINK answers: Invalid argument when adding route
I wish to add static route for my interface eth1. But Whenever I use route command , I get this annoying error RTNETLINK answers: Invalid argument.
Current routing configuration
Destination Gateway Genmask Flags Metric Ref Use…

user1107731
- 111
- 1
- 1
- 2
0
votes
1 answer
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 sure how RHEL is picking up and adding this in…

Nanda Kumar R
- 1
- 1
0
votes
1 answer
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.168.1.10
ETH1: 192.168.1.11
ETH2: 192.168.1.12
One thing…

Sunny Yates
- 23
- 4
0
votes
1 answer
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 execution permition too.)
this is my…

user4605080
- 1
- 1
- 1
0
votes
0 answers
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 interface
Configs:…

Piduna Valeriu
- 37
- 8
0
votes
1 answer
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 switch to connect to my ISP, it works fine when I…

user3016997
- 303
- 1
- 2
- 5
0
votes
2 answers
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 them to forward to the same internal servers.
Wan-1…

Edmar
- 1
- 1
- 2
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
1 answer
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
#ifconfig -interface dhcp start.
If anyone could guide…

help_me
- 15
- 2
- 5
0
votes
1 answer
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 proto static
# ip route change default via 10.9.8.5…

user1715542
- 101
- 1