Solaris virtual interfaces

From Brandonhutchinson.com

Revision as of 14:40, 19 March 2008 by Hutch (Talk | contribs)
Jump to: navigation, search

In this example, I create virtual interface bge0:1 with hostname host and IP 10.209.173.48. The interface is also configured to initialize after reboots.

The /24 netmask for this network already exists in /etc/netmasks:

10.209.173.0    255.255.255.0
# ifconfig bge0:1 plumb
# ifconfig bge0:1 10.209.173.48 netmask + broadcast +
Setting netmask of bge0:1 to 255.255.255.0

Add the following to /etc/hosts:

10.209.173.48 host

Add the following entry to /etc/hostname.bge0:1 for the interface to initialize after a reboot.

host

Links

Personal tools