debian network

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 10.36.6.143
netmask 255.255.255.224
network 10.36.6.128
broadcast 10.36.6.159
gateway 10.36.6.158


DNS是在哪里设的?
/etc/resolv.conf

restart

 

你可能感兴趣的:(debian network)