Jumat, Juli 24, 2009

interface configuration in debian lenny

Debian Lenny not so different with the previous version thereis no significant changes in the interfaces configuration and the command I usually do is I like this :

1. The main interfaces configuration

support@debian ~ $ /etc/network/interfaces

Here is the main input interface in the ip address that we have, such as :

address
netmask
network
broadcast
gateway
dns-servers

2. See the list Ip address

To see list ip address we can use command :

support@debian ~ $ ip a
support@debian ~ $ ifconfig

3. See to up interfaces that connected with network :

support@debian ~ $ mii-tools

with this command we can see the interfaces connected to the network

4. To reconfigure named of interfaces, just edit this file :

support@debian ~ $ vim /etc/udev/rules.d/70_persistent-net.rules

in this file we change our interface name like : eth0 change with : eth1 , etc..

have a try...

0 komentar: