-솔라리스10 IP 변경

$  chmod 777 /etc/inet/ipnodes
$ vi /etc/inet/ipnodes
$ chmod 444 /etc/inet/ipnodes
$ ifconfig bge0 xxx.xxx.xxx.xxx up

 

-리눅스 IP 변경

$ vi /etc/sysconfig/network-scripts/ifcfg-eth0
IP 편집
$ /etc/rc.d/init.d/network restart

-리눅스 기본 G/W 추가
$ route add default gw 121.254.172.1 dev eth0


- 리눅스 바로적용
$ ifconfig eth0 IP netmask 255.255.255.0


솔라리스 추가
솔라리스에서 DNS, IP 및 기타 Gateway 등 네트워크 설정 방법입니다.

 

* Solaris 에서 변경해야 될 파일들

  $ /etc/nodename              # if you need to change the name of the machine 
  $ /etc/hostname.interface    # eg. hostname.hme0 
  $ /etc/hosts                # Update to reflect new name 
  $ /etc/nsswitch.conf        # Update if your name resolution 
  $ /etc/resolv.conf   

  # Update if your name servers/domain changed (DNS only) 
  $ /etc/defaultdomain            # set you default domain 
  $ /etc/defaultrouter            # Set the default router's IP 
  $ /etc/inet/networks            # Set your network name 
  $ /etc/inet/netmasks            # Set your network number 
  $ /etc/n/etc/net/ticots/hosts    # For the streams-level loopback 
  $ /etc/ticlts/hosts              # For the streams-level loopback 
  $ /etc/net/ticotsord/hosts      # For the streams-level loopback

* LAN 사용할수 있도록
$ ifconfig DEVICE plumb

* Solaris 에서 IP 변경 작업

  $ /etc/hosts 파일을 수정함. 
  $ /etc/hostname.hme0 랜카드에 적용되는 호스명을 명시

  $ ifconfig hme0 [ip] netmask 0xffffff00 broadcast + up

  ex)
  --- 영구적인 변경
  $ vi /etc/hostname.hme0
  credilist

  $ vi /etc/hosts
  127.0.0.1      localhost
  211.192.191.178 credilist      loghost

  --- 임시변경시 (컴퓨터가 켜져있는 동안, 리부팅되면 정보가 사라짐)
  $ ifconfig -a
  lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
  hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 211.192.191.178 netmask ffffff00 broadcast 211.192.191.255

  $ ifconfig hme0 211.192.191.171 netmask 0xffffff00 broadcast + up

* Solaris 에서 GATEWAY 변경 작업

  $ netstat -rn
  $ route add default [gateway ip]
  $ vi /etc/defaultrouter
  [gateway ip]

  ex)
  --- 영구적인 변경
  $ vi /etc/defaultrouter
  211.192.191.177

  --- 임시적인 변경
$ route add default 211.192.191.177


* Solaris 에서 DNS 변경 작업

  ex)
  $ vi /etc/resolv.conf
  nameserver 168.126.63.1
  nameserver 168.126.63.2
  nameserver 211.169.248.153

  $ vi nsswitch.conf
  # hosts: 부분을 수정한다.
  # consult /etc "files" only if nis is down.
  hosts:      files dns

* 설정 변경 후 reboot , 시스템에 관한 내용이 변경된경우
  reboot


  1. Commented by all kinds of jerseys at 2010.08.14 17:13 신고

    솔라리스, 솔라리스 IP변경

  2. Commented by cheap jerseys at 2013.04.23 17:54 신고

    [url=http://www.wholesalecheapjerseysgo.us]Cheap Jerseys[/url]
    [url=http://www.wholesalecheapjerseysgo.us]Cheap Jerseys from china[/url]
    [url=http://www.wholesalecheapjerseysgo.us]Cheap Jerseys wholesale[/url]
    [url=http://www.wholesalecheapjerseysgo.us]Cheap china Jerseys[/url]
    [url=http://www.wholesalecheapjerseysgo.us]Cheap Jerseys free shipping[/url]
    [url=http://www.wholesalecheapjerseysgo.us]Cheap nfl Jerseys[/url]
    [url=http://www.wholesalecheapjerseysgo.us]china Jerseys[/url]
    [url=http://www.wholesalecheapjerseysgo.us]china wholesale cheap Jerseys[/url]
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-c-1995.html]Cheap Nike NFL Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-nike-nfl-game-c-1995_1155.html]Cheap Nike NFL Game Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-nike-nfl-elite-c-1995_1190.html]Cheap Nike NFL Elite Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-nike-nfl-limited-c-1995_2269.html]Cheap Nike NFL Limited Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-nfl-tshirt-c-1995_1546.html]Cheap NFL T-shirt[/url],
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-kids-nike-nfl-jerseys-c-1995_1188.html]Cheap Kids Nike NFL Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-nike-kids-limited-jerseys-c-1995_2433.html]Cheap Nike Kids Limited Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/cheap-nike-nfl-jerseys-2013-nfl-super-bowl-c-1995_2600.html]2013 Cheap NFL Super Bowl Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-c-2489.html]Cheap 2012 Knitting Wool Hat[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-women-knitting-wool-hats-c-2489_2495.html]Cheap Women Knitting Wool Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-brand-knitting-wool-hats-c-2489_2490.html]Cheap Brand Knitting Wool Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-mlb-knitting-wool-hats-c-2489_2491.html]Cheap MLB Knitting Wool Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-mlb-winter-hats-c-2489_2615.html]Cheap MLB Winter Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-nba-knitting-wool-hats-c-2489_2492.html]Cheap NBA Knitting Wool Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-nba-winter-hats-c-2489_2618.html]Cheap NBA Winter Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-nfl-knitting-wool-hats-c-2489_2493.html]Cheap NFL Knitting Wool Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-nfl-winter-hats-c-2489_2616.html]Cheap NFL Winter Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-nhl-knitting-wool-hats-c-2489_2494.html]Cheap NHL Knitting Wool Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/2012-knitting-wool-hat-nhl-winter-hats-c-2489_2617.html]Cheap NHL Winter Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nba-jerseys-c-1287.html]Cheap NBA Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nba-jerseys-nba-hats-c-1287_2187.html]Cheap NBA Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nba-jerseys-nba-tshirt-c-1287_2135.html]Cheap NBA T-shirt[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nba-jerseys-nba-shorts-c-1287_1295.html]Cheap NBA Shorts[/url],
    [url=http://www.wholesalecheapjerseysgo.us/mlb-jerseys-c-20.html]Cheap MLB Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/mlb-jerseys-mlb-fitted-hats-c-20_2625.html]Cheap MLB Fitted Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/mlb-jerseys-mlb-hats-c-20_2184.html]Cheap MLB Hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/mlb-jerseys-mlb-tshirt-c-20_2317.html]Cheap MLB T-shirt[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nfl-jerseys-c-1996.html]Cheap NFL Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nhl-jerseys-c-1077.html]Cheap NHLJerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nhl-jerseys-nhl-hats-c-1077_2191.html]Cheap NHL hats[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nhl-jerseys-nhl-tshirt-c-1077_2257.html]Cheap NHL T-Shirt[/url],
    [url=http://www.wholesalecheapjerseysgo.us/nhl-jerseys-nhl-kids-jerseys-c-1077_2015.html]Cheap NHL Kids Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/soccer-jerseys-c-1152.html]Cheap Soccer Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/ncaa-jerseys-c-2096.html]Cheap NCAA Jerseys[/url],
    [url=http://www.wholesalecheapjerseysgo.us/iphone-sports-case-c-2538.html]Cheap Iphone Sports Case[/url],
    [url=http://www.wholesalecheapjerseysgo.us/customed-jerseys-c-1580.html]Cheap Customed Jerseys[/url],