Category: General

Configure Linux Network Stack

  • Add primary network card details
vi /etc/sysconfig/network-scripts/ifcfg-eth0
  • Edit text to match your config
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=188.65.32.20
NETMASK=255.255.254.0
GATEWAY=188.65.32.1
  • Add primary network card details
/etc/sysconfig/network-scripts/ifcfg-eth0-range0
  • Edit text to match your config
DEVICE=eth0:0
NETMASK=255.255.254.0
IPADDR_START=188.65.32.21
IPADDR_END=188.65.32..31
CLONENUM_START=1
  • Restart network stack to assign changes
service network restart

Linux

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.