Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 tdst
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

1 Answer 1

up vote 2 down vote accepted

Local office server:

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 – 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.