File: interfaces.example

package info (click to toggle)
uml-utilities 20060323-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 660 kB
  • ctags: 413
  • sloc: ansic: 3,231; perl: 930; makefile: 224; sh: 215; exp: 129
file content (19 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use this stanza if you want to configure an interface to connect
# the uml_switch daemon to the host via a tap interface
auto tap0
iface tap0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        tunctl_user uml-net

# This is an example of how to set up a tap device for a particular
# user to use, with an IP address on the local network (eth0) via
# proxy ARP
auto tap1
iface tap1 inet static
        address 192.168.1.1
        netmask 255.255.255.255
        tunctl_user omega
        uml_proxy_arp 192.168.100.52
        #uml_proxy_arp 192.168.100.52 192.168.100.53 192.168.100.54
        uml_proxy_ether eth0