This tip explains how to expand an existing logical volume by adding a new new physical volume to a volume group through LVM. The e2fsprogs and lvm2 packages are required to follow these steps, but these Continue reading
Tag Archives: TipsAndTricks
Emulate a fixed IP address using MAC address with DHCP
DRAFT – Still up for comment and revision
In many networks with DHCP it is desirable to have predictable IP addresses and hostnames for DHCP clients. This can be accomplished by having the DHCP server Continue reading
Virtual IP addresses
You can add several virtual IP addresses to a physical network interface. A good starting point is to copy the interface definition file of the device you want to add a virtual IP address to.
cp /etc/sysconfig/network-scripts/ifcfg-eth0 Continue reading
Range Of Ips On Ethx
How to create a range of ip addresses on ethx. Create a range file in /etc/sysconfig/network-scripts
E.Q.
ifcfg-eth0-range1
DEVICE=eth0 BOOTPROTO=static HWADDR=00:04:75:D4:C8:F9 IPADDR_START=192.168.0.6 IPADDR_END=192.168.0.10 CLONENUM_START=1 NETMASK=255.255.255.0 ONBOOT=yes TYPE=Ethernet
CLONENUM_START Continue reading
IP Forwarding
Enable IP forwarding
To enable IP packet forwarding please edit /etc/sysctl.conf with your editor of choice and set:
# Controls IP packet forwarding net.ipv4.ip_forward = 1
You can then verify your settings Continue reading
Bonding Interfaces
What is bonding and how does it work
Bonding is the same as port trunking. In the following I will use the word bonding because practically we will bond interfaces as one.
Bonding allows you to aggregate Continue reading