All pastes #74929 Raw Edit

haldrik

public text v1 · immutable
#74929 ·published 2006-06-29 17:06 UTC
rendered paste body
servidor:/home/haldrik# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping eth0
        script grep
        map eth0

# Tarjeta de red Internet Firewall
allow-hotplug eth0
iface eth0 inet static
        address 10.30.172.5
        netmask 255.0.0.0
        network 10.0.0.0
        broadcast 10.255.255.255
        gateway 10.30.172.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 216.118.224.8 216.52.1.1
        dns-search cybersat.com.co

mapping eth1
        script grep
        map eth1

# Tarjeta de red LAN
allow-hotplug eth1
iface eth1 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.255.255.255
#       gateway 10.30.172.5
        # dns-* optios are implemented by te resolvconf package, if installed
#       dns-namesrvers
#       dsn-search