Post thumbnail of Bash One-liner to get IP address for each network interface
15 June 2010
Continue reading Bash One-liner to get IP address for each network interface

Bash One-liner to get IP address for each network interface

This one should be pretty bulletproof. Use a single sed command to dump the list of all ip addresses from interfaces showing in ifconfig.

Post thumbnail of Load balancing network bonding device from multiple physical interfaces
28 October 2009
Continue reading Load balancing network bonding device from multiple physical interfaces

Load balancing network bonding device from multiple physical interfaces

My new mobo has two gigE ports, so I figure why not trunk them together to work as one network device? This will work great for a Linux based network storage device (NAS). This will create a virtual interface named bond0 with the external ip address of 192.168.1.100. Anything else on my network will see this computer with this address. It doesn’t matter which interface is actually plugged in, one, the other, or both. As long as one is plugged in it will continue to function.

Post thumbnail of Network performance tuning the e1000e driver
2 April 2009
Continue reading Network performance tuning the e1000e driver

Network performance tuning the e1000e driver

If your network is very active and package capture is struggling to keep up, dropping packets every now and then, you could try changing the buffer size. My default configuration sets InterruptThrottleRate to Mode 1 which is for dynamic interrupt coalescing. Intel’s ap450 documentation mentions this will allow it to change between bulk, low latency, and lowest latency as network traffic patterns change.

Post thumbnail of Basic networking from the command line: ifconfig, eth0, wifi0, routes
17 March 2009
Continue reading Basic networking from the command line: ifconfig, eth0, wifi0, routes

Basic networking from the command line: ifconfig, eth0, wifi0, routes

See current network properties for all interfaces, Manually configure an IP address for interface eth0, See the current network properties for all wireless interfaces, Configure wireless to talk to a specific access point by address, Configure a wireless interface to use channel 11, Set the default gateway, Configure static routes, See what PIDs/processes are associated with remote connections

Powered by Wordpress   |   Lunated designed by ZenVerse