()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 05-12-07 10:14
linux Ʈũ .
 ۾ :
ȸ : 6,400  
1. NIC duplex Ȯ

#ethtool eth0 : duplex ӵ Ȯ

#ethtool -s eth0 duplex full : duplex full

#ethtool -s eth0 speed 100 : speed 100

 

/etc/modules.conf : ý ϱ ؼ ϴ file

alias  eth0  e100

alias  eth1  e100

options e100 e100_speed_duplex=4,4 // 1=10half;2=10full;3=100half;4=100full

* modules.conf option duplex ϴ NIC ٸǷ Ȯ Ͽ .

intel NIC ϴ° ΰ.

 

2. NIC ø

-⺻ UP / DOWN

#ifconfig eth0 plumb ()

#ifconfig eth0 up

#ifconfig eth0 down

#ifconfig eth0 unplumb()

 

- Ͽ ø

#ifconfig eth0 211.41.84.222 netmask 255.255.255.0 broadcast 211.41.84.255 up

 

-̽ /̻

#ifconfig eth0 plumb ()

#ifconfig eth0 unplumb (̻)

 




 

3. routing

routing table

----------------------------------------------------

  NIC ip networkּҿ routing table

 localּҿ routing table

 default gateway

 static routing table

----------------------------------------------------

#route add -net 211.41.84.0 netmask 255.255.255.0 dev eth0 : networkּҿ routing table

#route add -net 172.24.9.0 netmask 255.255.255.0 gw 172.24.64.1 dev eth1 : static route

#route add default gw 211.41.84.234 dev eth0 : default gateway. /etc/sysconfig/networkȮ

 

#route add -host 211.41.84.111 gw xxx.xxx.xxx.xxx dev eth0 : Ư ȣƮ routing table.

* netmask

 

/etc/sysconfig/static-routes : ׿ static Ͽ (paran.com)

any net 172.24.9.0  netmask 255.255.255.0 gw 172.24.64.1 metric 1

any net 172.16.0.0  netmask 255.240.0.0  gw 172.24.64.1 metric 1

any net 10.0.0.0    netmask 255.0.0.0    gw 172.24.64.1 metric 1

any net 192.168.0.0 netmask 255.255.0.0  gw 172.24.64.1 metric 1


 

 

 

- -

IP Ȯ
1. IP ּ
2. ݸũ
3. G/W ּ
4. DNS ּ
5. Ʈ ּ


Ʈ
1. /etc/hosts

2. /etc/resolv.conf

3. ȣƮ ̸, Ʈ, Ʈ̷ ġ
/etc/sysconfig/network
ex)  1  NETWORKING=yes
    2  HOSTNAME=kwsweb04
    3  GATEWAY=211.41.73.129
    4  GATEWAYDEV=eth0

4. ̽
/etc/sysconfig/network-scripts/ifcfg-eth0
ex)  1  DEVICE=eth0
    2  BOOTPROTO=static
    3  BROADCAST=211.41.73.191
    4  IPADDR=211.41.73.144
    5  NETMASK=255.255.255.192
    6  NETWORK=211.41.73.128
    7  ONBOOT=yes
̽ Ѵ.
5. /etc/rc.d/init.d/network restart
Ǵ service network restart


Ʈ Ȯ
# ping www.paran.com
# ifconfg -a | more
# mii-tool
ftp sftp ӵ ׽Ʈ

 
 

Total 106
ȣ     ۾ ¥ ȸ
16 ssh 񽺰 ʵɶ....
2005/12/26 12098
15 ھ ϱ
2005/12/26 12121
14 HP DL380 (smart array 5300) ̵ ũ
2005/12/23 10037
13 ̵尡 Ƽ .... HP DL380 sm
2005/12/23 19705
12 solaris (1) linux (2) .
2005/12/07 4390
11 bind 9.2.3 ġ.
2005/12/07 8217
10 chkconfig
2005/12/07 4024
9 linux Ʈũ .
2005/12/07 6401
8 LVM . (Logical Volume Manager) (2)
2005/12/07 5816
7 Linux root password нǽ
2005/12/06 7548
6 [L I N U X] disk spacing management - view partion table
2005/12/06 4137
5 LVM . (Logical Volume Manager) (1)
2005/12/06 18742
4 rsync .....
2005/12/01 5757
3 linux - solaris nfs .(2)
2005/11/30 23958
2 linux nfs (1)
2005/11/30 17624
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login