60.Unix2008. 11. 14. 11:35
반응형

1.8139랜카드 인스톨후 재부팅 
2./etc/hostname.rtls0 이름 
3./etc/hosts 사설아이피 이름 loghost 
4./etc/defaultrouter 192.168.0.1 
5./etc/nsswitch.conf  dns 추가 
6./etc/resolv.conf  domain hananet.net 2개의nameserver IP 
7.ifconfig rtls0 down 
8.ifconfig rtls0 plumb 
9.ifconfig rtls0 IP netmask 255.255.255.0 broadcast + up 
10.rtls1에대해 똑같이 해주고 
11.route add default 192.168.0.1 

실제예
1) ifconfig rtls0 125.140.110.124 netmask 255.0.0.0 broadcast 125.140.110.255
2) vi /etc/hosts (chmod 644 /etc/hosts 하여 쓰기 권한을 준다.)
   # internet host table
   127.0.0.1   localhost
    :: 1    localhost
    125.140.110.123  mains  loghost
:wq!

3) vi /etc/resolv.conf
    nameserver 168.126.63.1
    nameserver 168.125.63.2
:wq!

4) route add default 125.140.110.1
5) route flush (확인)
6) ifconfig -a (네트워크 셋팅 전체 확인)
Posted by 1010