Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I try to do this I get the following:

bash-3.2# ifconfig tun0
ifconfig: ioctl (SIOCAIFADDR): Destination address required

It sounds like this doesn't happen in Linux (probably this is a BSD thing). The problem is I need to have a generic tun interface without a specific destination address because I am trying to do LVS-TUN like in this example but I need to use an OSX real server (strange I know).

What is the way to implement a ipip virtual interface on OSX?

share|improve this question

closed as not a real question by Ward, Scott Pack, Magellan, Michael Hampton, Tom O'Connor Jan 6 '13 at 0:07

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What leads you to believe that something called Linux Virtual Server would run on an OSX box? – Zoredache Jan 5 '13 at 1:24
what makes you believe it wouldn't? – Doug Jan 5 '13 at 9:43
The simple and obvious fact that Mac OS X is not Linux. – Michael Hampton Jan 5 '13 at 22:19
Its called Linux Virtual Server because it runs on Linux, not because the clients must be Linux. Do you need a Linux mail client to retrieve your email from a Linux server? This is some holier than thou ish if you ask me. – Doug Jan 6 '13 at 22:10
up vote 0 down vote accepted

figured it out -- it is WAY easier to use LVS-DR method with OSX. It turns out disabling ARP for an interface is very simple in OSX and BSD. One command gets you online:

ifconfig lo0 alias VIP netmask -arp up

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.