The iproute2 tag has no wiki summary.
3
votes
1answer
739 views
Utilize two gateways on the same network same interface with load balancing
My setup is two ISPs on a single interface and single network. I can either set my default gateway to 192.168.0.1 or 192.168.1.250 and either work.
Edit: Netmask (as noticed in the comment) is ...
1
vote
1answer
99 views
Is it makes sense to manually set broadcast address for interfaces?
I'm converting my scripts from old net-tools:
ifconfig eth0 192.168.2.1 netmask 255.255.255.0
to iproute2:
ip link set eth0 up
ip addr add 192.168.2.1/24 dev eth0
and I notice new commands ...
1
vote
1answer
382 views
linux ip route via 2 gateways, 3 interfaces
I have 3 interfaces. I'll replace the public ips with 10.x.x.x.
eth0:
ips: 10.1.1.64-10.1.1.70
mask: 255.255.255.0
gateway: 10.1.1.1
ip route table: gw1a
eth1:
ip: 10.1.1.71
mask: 255.255.255.0
...
1
vote
1answer
220 views
iproute and nat across devices
I've got the following configuration:
vlan123@eth0 - range 1.2.3.0/24, with 1.2.3.4 assigned to it
br2000 - range 10.2.3.0/24
In the ip route I see:
10.2.3.0/24 dev br2000 proto kernel scope link ...
0
votes
1answer
125 views
Can a machine(physical or virtual) accept and process UDP packets with a different IP address coming from a known device?
Before everything, thanks for reading the next question.
I have script,(ipUDPspoof.rb), which is a client/server script in Ruby (you choose the parameter 1 to be server and 0 to be client, at ...
0
votes
1answer
72 views
Routing config between internet load balancers and backend
Im facing a problem due my lack of experiencie on routing.
I need to config the next things (all run on my computer virtualized, if works, i will pass it to hardware)
[internet] ---- ...
0
votes
1answer
231 views
Network interface selection
Suppose I have more than a network interfaces and I want to selectively use them per application.
eth0 is the standard interface with the standard gateway in the main routing table
eth1 is another ...
0
votes
1answer
111 views
SOCKS4-5 network device driver
There are methods of forcing programs to use SOCKS4-5 proxy's, such as socksify, tsocks and other LD_PRELOAD hijacking methods.
Is there a way of having a SOCKS proxy network device, such as one ...
1
vote
0answers
761 views
Routing only some local IPs through VPN on dd-wrt
Much similar to this entry: http://serverfault.com/questions/94283/using-dd-wrt-to-connect-to-vpn-and-forward-all-traffic-of-certain-devices-through , I have set up my router with dd-wrt + OpenVPN to ...
0
votes
0answers
23 views
Route traffic through internal (VDE) bridge
I have two NICs configured, let's say eth0 with IP 10.0.0.1/24 and eth1 with IP 192.168.1.1/24.
IP forwarding is enabled, rp_filter is disabled.
I've created 2 tap interfaces and bridged them with:
...
0
votes
0answers
88 views
Linux source routing with 2 WAN providers and DNAT does not seem to work
I have a linux gateway connected to 2 providers; the Linux is doing NAT (IPv4). The idea is having using one provider (WAN1) for incoming and outgoing traffic and using the second (WAN2) provider for ...
0
votes
0answers
205 views
Gentoo /etc/conf.d/net does not work as i expect
Here is net config for eth2 interface :
config_eth2="10.10.10.254/24"
routes_eth2="
46.4.152.96/27 dev eth0 table rteth2
10.10.11.0/24 dev tun0 table rteth2
10.10.10.0/24 dev eth2 table rteth2
...