SunServer: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 86: | Line 86: | ||
<source lang=bash> | <source lang=bash> | ||
XSCF> setnetwork xscf#0-lan#0 172.32.40.52 -m 255.255.255.0 | XSCF> setnetwork xscf#0-lan#0 172.32.40.52 -m 255.255.255.0 | ||
XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 172. | XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 172.32.40.1 xscf#0-lan#0 | ||
XSCF> applynetwork | XSCF> applynetwork | ||
The following network settings will be applied: | The following network settings will be applied: |
Revision as of 12:23, 8 May 2015
X86 Systeme
ILOM
Set SP IP address from OS via ipmitool
- Set:
# ipmitool lan set 1 ipaddr 172.30.42.149
Setting LAN IP Address to 172.30.42.149
# ipmitool lan set 1 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0
# ipmitool lan set 1 defgw ipaddr 172.30.42.1
Setting LAN Default Gateway IP to 172.30.42.1
- Check:
# ipmitool lan print
Set in Progress : Commit Write
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback : MD2 MD5 PASSWORD
: User : MD2 MD5 PASSWORD
: Operator : MD2 MD5 PASSWORD
: Admin : MD2 MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 172.30.42.149
Subnet Mask : 255.255.255.0
MAC Address : 00:1c:24:f0:70:b0
SNMP Community String : public
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
Default Gateway IP : 172.30.42.1
Default Gateway MAC : ff:ff:ff:ff:ff:ff
Backup Gateway IP : 255.255.255.255
Backup Gateway MAC : ff:ff:ff:ff:ff:ff
Cipher Suite Priv Max : aaaaaaaaaaaaaaa
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
SPARC Systeme
XSCF
Set XSCF IP address from OS via ssh through dscp
- Show:
# /usr/platform/`uname -i`/sbin/prtdscp
Domain Address: 192.168.224.2
SP Address: 192.168.224.1
# ssh eis-installer@192.168.224.1
XSCF> shownetwork -a
xscf#0-lan#0
Link encap:Ethernet HWaddr 00:0B:5D:E3:D8:C4
inet addr:172.42.0.120 Bcast:172.42.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:885919090 errors:0 dropped:0 overruns:0 frame:0
TX packets:7150700 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1987024183 (1.8 GiB) TX bytes:492148426 (469.3 MiB)
Base address:0xe000
xscf#0-lan#1
Link encap:Ethernet HWaddr 00:0B:5D:E3:D8:C5
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> showroute -a
Destination Gateway Netmask Flags Interface
172.42.0.0 * 255.255.0.0 U xscf#0-lan#0
default 172.42.0.1 0.0.0.0 UG xscf#0-lan#0
- Delete default gateway:
XSCF> setroute -c del -n 0.0.0.0 -m 0.0.0.0 -g 172.42.0.1 xscf#0-lan#0
- Set:
XSCF> setnetwork xscf#0-lan#0 172.32.40.52 -m 255.255.255.0
XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 172.32.40.1 xscf#0-lan#0
XSCF> applynetwork
The following network settings will be applied:
xscf#0 hostname :hfgsun07-xsfc
DNS domain name :intern.hfg-inkasso.de
nameserver :172.41.0.2
interface :xscf#0-lan#0
status :up
IP address :172.32.40.52
netmask :255.255.255.0
route :-n 172.32.40.1 -m 255.255.255.255
route :-n 0.0.0.0 -m 0.0.0.0 -g 172.32.40.1
interface :xscf#0-lan#1
status :down
IP address :
netmask :
route :
Continue? [y|n] :y
Please reset the XSCF by rebootxscf to apply the network settings.
Please confirm that the settings have been applied by executing
showhostname, shownetwork, showroute and shownameserver after rebooting
the XSCF.
XSCF> rebootxscf
The XSCF will be reset. Continue? [y|n] :y