[zorp] zorp on a bridge
Sat, 29 Mar 2003 17:58:57 +0100 (CET)
On Thu, 27 Mar 2003, Robert Penz wrote:
> I'm trying to setup zorp on an bridge, my problem is that I get this error
> Mar 27 14:19:51 debian intern: (noname/nosession): Verbosity level: 3
> Mar 27 14:19:51 debian extern: (noname/nosession): Verbosity level: 3
> Mar 27 14:19:51 debian intern: (noname/nosession): bind() failed;
> error='No such file or directory'
> Mar 27 14:19:51 debian extern: (noname/nosession): bind() failed;
> error='No such file or directory
I had the same error due to lackness of the /var/run/zorp directory.
At least with my configuration zorp needed to do an udp socket there.
Try to run the two zorp instances with strace as follows:
strace /usr/lib/zorp/zorp --as intern -B 184.108.40.206 --verbose 3 -p
/path/to/your/instances-config -l >& zorp.log
Then search for your error, and hopefully you will find what's wrong
> my configs
> intern -v3 -p /etc/zorp/policy.py --autobind-ip autobind='220.127.116.11'
> extern -v3 -p /etc/zorp/policy.py --autobind-ip autobind='18.104.22.168'
Are you sure about the autobind syntax? We are using "-B 22.214.171.124", from
the usage info it would seem that you should use "--autobind-ip 126.96.36.199"
> and one question I also have is: Do I really need to do that via
> dummy devices? or is there a better way?
We are now using one of the server's ip, and I didn't observe any
difference from using a dummy interface.
Hope it helps,