24
votes
4answers
1k views

Where is the statement of deprecation of ifconfig (on linux)?

A lot of people is stating that the ifconfig command is deprecated in favor of the ipone (on linux at least). This is often used as an argumentation to switch from ifconfig to ip (see some comment ...
1
vote
1answer
289 views

ip route add works manually but throws “Error: an inet prefix is expected rather than …” when run via bash script

I'm trying to run a script that should add this route to a table 11: ip route add local 10.1.3.212 dev eth1 proto kernel scope host src 10.1.3.212 table 11 If I run this command manually, it is ...
0
votes
0answers
26 views

Conflicting ip routes with local table on attaching a virtual network interface

I have an EC2 instance with these ip rules: $ sudo ip rule show 0: from all lookup local 32766: from all lookup main 32767: from all lookup default I can attach an elastic network interface to ...
0
votes
0answers
28 views

What is the relationship between iproute2 and distro config files?

For various ip manipulation activities, what is the difference/relationship between iproute2 and modifying the distro's config files? For instance, some sources recommend ip address del for deleting ...
2
votes
2answers
103 views

ip link set not assigning IP Address but ifup does

Since ip is set to replace ifconfig, I'm trying to get myself used to using the ip suite of commands. I'm trying to enable my NIC with ip link set eth3 up That doesn't assign an IPv4 address ...
0
votes
0answers
122 views

Problems using wondershaper on KVM guest

I am trying to limit bandwidth on one of my KVM guest using Wondershaper. Doing something like this works fine: wondershaper br23 9000 9000 Doing a wget with the setting above gives a download ...
6
votes
1answer
733 views

Macvlan based interface pings from host but not from namespace

[EDIT] The production system is currently a mix physical and ESXi based system. We obviously would never use virtualbox even for a pre-production environment ! It was used here only to quickly narrow ...
0
votes
1answer
127 views

Special setup for a linux server to route to itself

I've got two linux servers in question. When one server initiates a request for a specific IP address that the other server has, I would like the initiating server to route the request back to itself ...
1
vote
1answer
929 views

Static route without knowing the nexthop (linux)

I have an eth3 interface in a linux router, with an adsl modem. This adsl modem is in bridged mode, so the public IP is assigned to eth3 (say 11.22.33.44), and the modem is just not seen by my server. ...
0
votes
1answer
147 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] ---- ...
87
votes
4answers
10k views

Should I quit using Ifconfig?

With the servers that mount Infiniband cards, when I use the ifconfig command, I get this warning: Ifconfig uses the ioctl access method to get the full address information, which limits hardware ...
3
votes
1answer
602 views

Why doesn't TUN device have BROADCAST flag?

When creating a TUN device in Linux, on my machine the created TUN device has following flags: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> Clearly MULTICAST is listed in there but not ...
2
votes
3answers
100 views

what's the difference between ICMP prohibited ICMP unreachable?

If I want to forbid a route to response a network, should I use ip route add unreachable 209.10.26.51 or ip route add prohibit 209.10.26.51?
3
votes
2answers
1k views

TC hashing filters - single rule deletion

For traffic shaping I'm currently using a setup that looks exactly like the setup from LARTC, on this page: http://lartc.org/howto/lartc.adv-filter.hashing.html I have a simple problem with that - ...