Discussion Locked

Bind multiple ip addr to one interface

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We are sun E250 solaris 8 server with built in single fast ethernet card. I want to bind multiple ip address to single interface. I want the guidance on how to configure the same.
Regards,
vijaya

5 replies

by grumbler

The solution is to configure multiple virtual
ethernet interfaces. A virtual ethernet
interface as the same name that your regular
ethernet interface followed by ":N" where N is a
number bigger than 0. N will be as big as the
number of interfaces you create. So if your
primary ethernet interface is hme0, the first
virtual interface should be hme0:1, the second
hme0:2 and so forth. An example on how to
configure a virtual interface can be:
ifconfig hme0:1 plumb broadcast
up

by rbgnr111

if you want to have it create this automaticly
each time the system boots. just create a the
file:
/etc/hostname.el0:1
that way you don't have to run ifconfig every
time

This discussion is closed to new replies.