Bochs/bochs/misc/slirp.conf
Volker Ruppert 5376f129ee Some work on the slirp networking code.
- Added support for optional TFTP server name in builtin slirp and libslirp.
- Added default domain name for libslirp.
2024-04-14 11:04:01 +02:00

47 lines
1.6 KiB
Plaintext

# slirp config
# The line above is mandatory
# Supported options:
#
# RESTRICTED if set to 1, only built-in services are available
# NET base IP address of the virtual network
# MASK netmask of the virtual network
# HOST IP address of the DHCP and TFTP server
# HOSTNAME DHCP client hostname
# DHCPSTART start address of DHCP pool
# DNS IP address of the virtual DNS server
# BOOTFILE boot filename returned by DHCP
# TFTP_SRVNAME optional TFTP server name reported by DHCP
# DNSSEARCH comma-separated list of DNS suffixes to search (DHCP extension)
# SMB_EXPORT absolute path to the shared folder (non-Windows SMB support)
# SMB_SRV alternative IP address of the SMB server (default is 10.0.2.4)
# HOSTFWD map guest port to host port for host-to-guest access
# (format: protocol:hostaddr:hostport-guestaddr:guestport)
# PKTLOG enable packet logging in text format (similar to vnet)
# This is the default (classic slirp) setup
# restricted = 0
# net = 10.0.2.0
# mask = 255.255.255.0
# host = 10.0.2.2
# dhcpstart = 10.0.2.15
# dns = 10.0.2.3
# This is the vnet setup
# restricted = 1
# net = 192.168.10.0
# mask = 255.255.255.0
# host = 192.168.10.1
# dhcpstart = 192.168.10.15
# dns = 192.168.10.2
# bootfile = pxelinux.0
# Host forwarding example (access guest SSH server from host port 12345)
# hostfwd = tcp::12345-:22
# Packet logging example
# pktlog = slirp-pktlog.txt
# Enable IPv6 support (libslirp only / using default Qemu setup)
# ipv6_enabled = 1