본문 바로가기

Work/Fujitsu

xscf IP 변경하기

XSCF> shownetwork -a

xscf#0-lan#0

          Link encap:Ethernet  HWaddr 00:14:4F:80:3F:AE  

          inet addr:121.156.68.49  Bcast:121.156.68.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:1829693152 errors:0 dropped:0 overruns:0 frame:0

          TX packets:3248965 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:205000932 (195.5 MiB)  TX bytes:238777540 (227.7 MiB)

          Base address:0xe000 


xscf#0-lan#1

          Link encap:Ethernet  HWaddr 00:14:4F:80:3F:AF  

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Base address:0xc000 


XSCF> setnetwork -m 255.255.255.0 xscf#0-lan#0 160.61.5.120


*라우터 설정

XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 160.61.5.3 xscf#0-lan#0


*기존 라우터 삭제

XSCF> setroute -c del -n 0.0.0.0 -m 0.0.0.0 -g 121.156.68.3 xscf#0-lan#0



XSCF> applynetwork 

The following network settings will be applied:

  xscf#0 hostname  :xscf0

  DNS domain name  :com


  interface        :xscf#0-lan#0

  status           :up

  IP address       :160.61.5.120

  netmask          :255.255.255.0

  route            :-n 0.0.0.0 -m 0.0.0.0 -g 121.156.68.3 

  route            :-n 0.0.0.0 -m 0.0.0.0 -g 160.61.5.3 


  interface        :xscf#0-lan#1

  status           :down

  IP address       :192.168.1.2

  netmask          :255.255.255.0

  route            :


Continue? [y|n] :y

XSCF> rebootxscf



## 참고 


xscf> setnetwork -c [up|down] interface

'Work > Fujitsu' 카테고리의 다른 글

M4000 xscf 참고  (0) 2015.06.09
xscf 장애 확인  (0) 2015.05.13
M4000 도메인 확인  (0) 2015.05.13
Fujitsu Multipath status display in linux  (0) 2015.04.06
xscf 명령어 정리  (0) 2015.01.08