zoukankan      html  css  js  c++  java
  • debian 网卡设置范例 lenny 5.0

    设置文件在etc 目录下的 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

    # The primary network interface
    allow-hotplug eth0
    iface eth0 inet static
        address 192.168.146.6
        netmask 255.255.255.0
        gateway 192.168.146.2

    #        address 192.168.10.51
    #        netmask 255.255.255.0
    #        network 192.168.10.0
    #        broadcast 192.168.10.255
    #        gateway 192.168.10.9
    #        # dns-* options are implemented by the resolvconf package, if installed
    #        dns-nameservers 192.168.10.9

    auto eth0

    allow-hotplug usb0
    iface usb0 inet static
        address 192.168.46.32
        netmask 255.255.255.0
        broadcast 192.168.46.255
    auto usb0

  • 相关阅读:
    JavaScript--Promise(1)
    JavaScript--创建对象
    JavaScript--JSON
    JavaScript--generator
    JavaScript--闭包(1)
    JavaScript--sort()
    JavaScript--filter()
    JavaScript--map()&reduce()
    JavaScript--map&set
    3.11
  • 原文地址:https://www.cnblogs.com/leaven/p/1873816.html
Copyright © 2011-2022 走看看