Quick Review: Boxee Box
December 27, 2011 – 12:22 am | 3 Comments

Some of the technical issues with Boxee Box could have been fixed if the dev team was paying more attention to addressing the bugs rather than adding “features” of dubious value. In the final analysis, for the price and ease of use, Boxee Box is the best in its class and price range. You just need to be mindful of its limitations and buy it in hope of future improvements to its usability.

Read the full story »
Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Networking

Configuring multi-IP network interfaces

Submitted by on December 2, 2005 – 12:18 pmNo Comment
Configuring multi-IP network interfaces

This article explains how to configure a network interface to support virtual IP addresses. This is useful in a cluster environment or in any high-availability service cnfiguration, when you need to ensure that at least one IP address is always responsive regardless of its physical destination.

1. To make a machine support a virtua IP address:

ifconfig hme0:1 192.168.123.157 255.255.254.0 192.168.123.255 up

The first parameter (hme0) is the physical name of the primary network interface (NI). The NI name is followed by’:#’, where “#” is th number of the virtual interface you are creating. The second parameter is the new virtual IP address, followed by the netmask and the broadcast address. The last parameter is “up” to bring the new virtual NI online.

2. To bring this virtual NIC down without deleting it:

ifconfig hme0:1 down

3. To bring this virtual NI up again:

$ ifconfig hme0:1 up

4. To delete this virtual NI:

$ ifconfig hme0:1 0 down

Note: Assigning 0 as IP address, deletes it.

Here’s a practical example of creating a virtual NI:

1) Take a look at the available NIs

ifconfig -a
 
lo0: flags=2001000849<up ,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
eri0: flags=1000843</up><up ,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 129.226.147.22 netmask ffffff00 broadcast 129.226.147.255
        ether 0:3:ba:44:9d:22

2) The primary NI in this case is eri0 and we will use it to create out virtual NI.

ifconfig eri0:1 129.226.147.23 255.255.254.0 129.226.147.255 up

3) Let’s take another look at our network interfaces

ifconfig -a

Popularity: 2% [?]

Related posts:

  1. Basic Network Configuration Under Solaris
  2. Multi-booting Windows XP and Solaris 10
  3. Uninstalling Solaris 10 from a multi-boot system

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.