Category Archives: Linux

Linux route add

Syntax for adding a route in Linux: route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.2 List routes: netstat -rn Delete route: route delete net 192.168.2.0 Add static route: nano /etc/network/interfacespost-up route add -net 192.168.2.0/24 gw 192.168.1.2 dev eth1pre-down route delete -net 192.168.2.0/16 gw 192.168.1.2 Add/Change default gateway: ip route add default via 192.168.1.254

Copy disk images for Vmware, KVM, etc.

(Ref: Elvis, http://forums.overclockers.com.au/showthread.php?t=933797) These instructions can be used to copy full disk images over a network, including from or to physical and/or virtual machines. Because it is a bit-by-bit copy of the disk the process is independent of the file system or partition type, but there must be sufficient space on the destination disk. Individual partitions … Continue reading Copy disk images for Vmware, KVM, etc.