Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I running 2 Solaris 10 box and trying to tunnel them up through Internet. 1 at the hosting site while the other sitting in my office.

ifconfig ip.tun0 plumb
ifconfig ip.tun0 tsrc 175.139.xxx.xxx tdst 202.187.xxx.xxx
ifconfig: Failure: ip.tun0: Cannot assign requested address

I able to execute the command at the hosting box but fail to execute at the one in my office. Why?

share|improve this question
up vote 2 down vote accepted

Local office server: 175.139.xxx.xxx

Is that the actual ip address of the local office server? or is that the publicly visible NAT address of your office network?

The tsrc address needs to be the servers local ipv4 address, not the office NAT address.

Note that this should only be changed on this side of the tunnel. The remote server will still use the NAT address as the tsdt address.

share|improve this answer
It's a NAT address. So the command will be ifconfig ip.tun0 tsrc tdst 202.187.xxx.xxx? – conandor Dec 20 '11 at 7:29
Yes. Although, you'll probably need to use a different address scheme for the tunnel. like and, then on the remote host, you could add a static route for the 192.168.1 network pointing to the local side 10-net address of the tunnel. – Tim Kennedy Dec 21 '11 at 3:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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