![]() |
||
The Crucial Blog - Archive August 11, 2009
How to install dig on Ubuntu or DebianTo install the dig command on Ubuntu or Debian run the following: apt-get install dnsutils Tags: debian, networking, server-administration, ubuntuNo Comments Filed under: Uncategorized by — aaron @ 8:24 pm December 17, 2008
ip_conntrack: table full, dropping packet.If you see something like the following in your log files: ip_conntrack: table full, dropping packet. It will probably look like you are experiencing a network issue with a lot of packet loss, but in fact it isn’t one at all! This error has to do with the value in /proc/sys/net/ipv4/ip_conntrack_max set to low, and letting the system only handle a few connections at once. This value is usually imposed when APF is installed, and the following should be done to correct it: echo “138304″ > /proc/sys/net/ipv4/ip_conntrack_max add the following to /etc/sysctl.conf: sys.net.ipv4.ip_conntrack_max = 138304 If you are running APF modify the following line to: SYSCTL_CONNTRACK=”138304″ To check what the current value is you can use: cat /proc/sys/net/ipv4/ip_conntrack_max Tags: linux, networking, server-administration(4) Comments Filed under: Uncategorized by — aaron @ 2:22 pm September 15, 2008
Setup default route/gateway on Linux using the route commandSometimes Linux does not properly create the default gateway, so you may need to add it manually. You can add a default gateway using the route command: View Routing Table:
Add default route: Tags: linux, networking, server-administration No Comments Filed under: Uncategorized by — aaron @ 5:54 pm August 27, 2008
Xen: Dom0 and DomU can ping, but no other network connectivity – checksum problemsThis appears to be a long standing bug with Xen which has not yet been fixed, it has shown its face in a few of our servers recently – but not all. Basically once Xen is installed on Dom0 you are able to ping it, however anything other network services do not work, such as SSH. From what I have read this is due to checksums being done in numerous places, and seems that there is a bug somewhere while this is being done which results in the checksums not matching, and the packets being dropped. The solution to this is to run the following: ethtool -K eth0 tx off This same issue arises in the DomUs (Guest) , and the same fix can be used. Its probably a good idea to place in /etc/rc.local on Redhat/Centos/Fedora systems. Tags: networking, server-administration, vps, xen(3) Comments Filed under: Uncategorized by — aaron @ 11:20 pm May 26, 2008
Where did netconfig go? (CentOS/RHEL)I recently noticed that netconfig had recently disappeared from CentOS 5/RHEL 5 so did a bit of research and found that netconfig has been replaced by system-config-network. Tags: linux, networking, system administrationNo Comments Filed under: Uncategorized by — aaron @ 7:40 pm February 25, 2008
Configuring Network Interfaces on CentOS, Redhat, Fedora Core, and DebianCentOS/Red Hat/Fedora Core: The network configuration files are in the folder: The files for the interfaces will be ifcfg-eth0, ifcfg-eth1, ifcfg-eth0:0 (if there are sub-interfaces) Static IP address configuration: Please specify ‘ONBOOT=yes’ which will activate the interface upon system boot Dynamic IP address configuration: Change BOOTPROTO value to dhcp To bind a range of IP address, create a file called ifcfg-eth0-range0 (for example eth0:0, eth0:1, etc) The entries should be: ——————————- IPADDR_START: This is the first IP from the address range you want to bind to your ethernet device. The gateway for the network can be specified in the file ‘/etc/sysconfig/network’ You may also use ‘/usr/sbin/system-config-network-tui’ to configure the network interfaces Debian: The entires are: auto eth0 After you configure the network interfaces restart the network service using ‘/etc/init.d/networking restart’ Tags: centos, debian, fedora core, networking, system administrationNo Comments Filed under: Uncategorized by — aaron @ 12:01 am February 21, 2008
How to view current configuration on a Cisco Pix 520-UR FirewallFirst console into the switch, then do the following: firewall> enable No Comments Filed under: Uncategorized by — aaron @ 1:11 am February 21, 2008
Accessing a Cisco Switch or Router via Serial Port on Linux Using MinicomIf you need to access a Cisco swith or router on Linux (Redhat, CentOS, Debian, etc) then install minicom, and do the following. Firstly you can check which serial ports on your computer are available: dmesg | grep tty Then run minicom: minicom /dev/ttyS0 Type: Ctrl + A Z Then type ‘o’ (the letter, not number) and select ‘Serial port setup’ to configure minicom. Here is a sample configuration of what you want your configuration to look like: A – Serial Device : /dev/ttyS0 To get to here, please read the following: Ensure the correct serial port is being utilized by pressing A, the port you will usually be using is /dev/ttyS0 Press E to configure bit rate, then select E again, and then Q and Enter. Ensure Hardware Flow Control is on, and Software Flow Control is off. If you are having issues, try exiting and re-opening minicom, or disconnecting and reconnecting your console cable. Tags: cisco, linux, networkingNo Comments Filed under: Uncategorized by — aaron @ 12:25 am |
Tag Cloud
xen
storage
fedora
cpanel
fantastico
mail
exchange
debian
networking
yum
centos5
vmware
virtualization
windows
lxlabs
linux
virtual dedicated servers
windows server
vps
vds
security
ubuntu
hypervm
apache
raid
lxadmin
centos
ruby-on-rails
firewall
server-administration
windows 2008 server
joomla
microsoft
XenServer
wordpress
ssh
php
esxi
servers
gentoo
cisco
system administration
control panels
subversion
webmin
|
|
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers
© Copyright 2003-2008
Crucial Paradigm
ABN 97 125 618 662