Tag Info

New answers tagged


Thank you for posting the additional information. I forgot that keepalived doesn't assign vrrp instances to virtual interfaces (e.g. eth0:0). Since you did a service networking restart keepalived flipped out when eth0 disappeared. What you'll need to do is configure your interfaces before starting keepalived or manually configure new ones up rather than ...


Mucking around with an unrelated part of systemd fixed it. In particular, RAID configuration was causing it to drop into emergency mode, and presumably some part of the startup sequence somehow messed up the ethernet configuration.


Turns out that the ip binary is some special version that supports only basic commands. "ip rule show" is just not compiled into this version.


Find a directory that's using a lot of the space in /dev/sda1, for example /home or /var/lib. du -m /* can help you find where the most space is used. Move those files onto /dev/sdb1, so into /mnt as you currently have it mounted. Dismount /dev/sdb1 from /mnt: umount /dev/sdb1 Remount /dev/sdb1 at the location where you want your moved files to be, for ...


If you are capturing packets on the server then you might see TCP sending out larger segments than the MTU. The packets on the wire , however, will be MTU size only. You can verify this by capturing on a network device (switch) etc. Alternatively capturing packets on the remote (client) machine will reveal that each packet is <= MTU . This behaviour is ...


The netem kernel module, controlled by iproute. You need to compile Netem with the kernel: Networking --> Networking Options --> QoS and/or fair queuing --> Network emulator Once the netem module loaded, iproute's tc allows you things like: tc qdisc add dev tap0 root netem delay 50ms loss 50% (50 % packet loss, extra delay of 50 ms)


Not a direct answer to why up doesn't work, but maybe a solution for your problem: I usually use the same configuration style for multiple IPv4 and IPv6 addresses for consistency. This is the configuration of one of my servers: auto eth0 iface eth0 inet static address netmask 28 gateway iface eth0 inet6 static ...


Newer distros/kernels support the nsenter command which, should do what you want, providing you are root when you do it. Here is an example (Fedora 20). [root@home ~]# unshare -n /bin/bash [root@home ~]# ip a l 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [root@home ~]# ...


I found that you can return to the default network namespace with two simple commands: ln -s /proc/1/ns/net /var/run/netns/default ip netns exec default ifconfig -a This method obviously assumes that you can see processes outside your own namespace through the proc file system. If you are in a separate PID namespace as well, returning to the default ...


tcp_tw_reuse is relatively safe as it allows TIME_WAIT connections to be reused. Also you could run more services listening on different ports behind your load-balancer if running out of ports is a problem.

Top 50 recent answers are included