For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > Virtual Interface

Virtual Interface

Created by dave. Last edited by dave, 18 years and 110 days ago. Viewed 4,172 times. #1
[edit] [rdf]
labels
attachments

Virtual Ethernet Interface

Virtual interfaces allow a single ethernet interface to listen on additional IP addresses.

Manual way:

# ifconfig hme0:1 plumb
# ifconfig hme0:1 192.168.1.15 up

Automatic way:

  1. Make an entry in /etc/hosts for your new interface:
    192.168.1.15 newhost
  2. echo newhost > /etc/hostname.hme0:1
  3. Reboot.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt