Home Contents | # rawio:ttnBridgeTo | Rawio | Core4 Lua Event System

## SYNOPSIS

result = handle:ttnBridgeTo(name)

## DESCRIPTION

Installs this TTN interface as a bridge for the specified interface name. Alternatively, if name is nil, any bridge is removed.

The typical value for name is "eth0".

With bridging, all devices on the TTN will be visible in the ethernet network. This is supposed to work similar to a regular ethernet switch.

To keep the bandwidth usage in check, the bridging software will block almost all broadcasts from going into the TTN that are not absolutely necessary to make it work. This means only ARP, DHCP and Teratronik DISCOVER may pass.

## RETURN VALUE

On success, returns true. On failure, returns nil. In case of an error, the error can be retrieved using rawio:lastError().