'eth0:1'에 해당되는 글 1건

  1. 2010.10.16 Debian network 예제 2
IT2010. 10. 16. 22:37
반응형


데비안 네트웍, 가상 네트웍 예제


buster@mbox:/etc/network$ cat 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
auto eth0:1

iface eth0 inet static
        address 192.168.10.100
        netmask 255.255.255.0
        network 192.168.10.0
        broadcast 192.168.10.255
        gateway 192.168.10.1

iface eth0:1 inet static
        address 192.168.20.1
        netmask 255.255.255.0
#      network 192.168.20.0
#      broadcast 192.168.20.255
#      gateway 192.168.20.1


반응형
Posted by Dream Come True