---
name: "chbind"
section: "8"
platform: "linux"
package: "util-vserver"
version: "0.30.216-pre3120-1.4+b11"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/chbind"
---

# chbind(8)

The chbind utility is used to lock a process and its children into using a specific IP number/Interface.

## NAME

chbind - The chbind utility is used to lock a process and its children into using a specific IP number/Interface.

## SYNTAX

chbind \[*--silent*\] \[*--ip ip\_number/interface*\] \<*command arguments*\>

## DESCRIPTION

The chbind utility executes a command, and locks the resulting process and its children into using a specific IP number/Interface, no matter what it is told in it's configuration. This applies to services and client connection as well.

## OPTIONS

- **--ip** ip\_number/interface

  Binds the process to the given IP number or Interface. If an interface is supplied (for example eth0), both the IP number and broadcast address are extracted.

- **--bcast** broadcast address

  Binds the process to the given broadcast IP number.

- **--silent**

  Do not complain.

## FILES

*/usr/sbin/chbind*

## EXAMPLES

If I wanted to ensure my httpd listened only on my eth0 interface, I could do: chbind --ip eth0 /etc/rc.d/init.d/httpd start

Please contribute some, if you feel it's important.

## AUTHORS

This Man page was written by Klavs Klavsen \<kl@vsen.dk\> and based upon the helpful output from the program itself and the documentation on the Virtual Server site \<http://www.solucorp.qc.ca/miscprj/s\_context.hc?prjstate=1&nodoc=0\>

## SEE ALSO

[chcontext(8)](/chcontext/8.md) [rebootmgr(8)](/rebootmgr/8.md) [reducecap(8)](/reducecap/8.md) [vps(8)](/vps/8.md) [vpstree(8)](/vpstree/8.md) [vrpm(8)](/vrpm/8.md) [vserver(8)](/vserver/8.md) [vserver-stat(8)](/vserver-stat/8.md) [vtop(8)](/vtop/8.md)
