2-28
SPARC Enterprise Mx000 Servers XSCF User’s Guide • August 2009
2. Use the
setroute
(8) command to specify the routing environment for a
network interface.
Making XSCF DNS Settings
■
Command operation
1. Use the
shownameserver
(8) command to display the name server. If multiple
name servers are added, they are displayed on separate lines.
2. Use the
setnameserver
(8) command to specify the name server.
<Example 1> Add routing with Destination 192.168.1.0 and Netmask
255.255.255.0 to XSCF-LAN#0 in the XSCFU#0.
XSCF>
setroute -c add -n 192.168.1.0 -m 255.255.255.0 xscf#0-lan#0
<Example 2> Add routing with the default network for Destination
and Gateway 10.12.108.1 to XSCF-LAN#1 in the XSCFU#0.
XSCF>
setroute -c add -n 0.0.0.0 -g 10.12.108.1 xscf#0-lan#1
<Example 3> Delete routing with destination 192.168.1.0 and netmask
255.255.255.0 to XSCF-LAN#0 in the XSCFU#0.
XSCF>
setroute -c del -n 192.168.1.0 -m 255.255.255.0 xscf#0-lan#0
<Example 1> Confirm that three name servers are added.
XSCF>
shownameserver
nameserver 10.0.0.2
nameserver 172.16.0.2
nameserver 192.168.0.2
<Example 2> Confirm that no name server is added.
XSCF>
shownameserver
---
<Example 1> Add the three IP addresses 10.0.0.2, 172.16.0.2, and
192.168.0.2 as name servers.
XSCF>
setnameserver 10.0.0.2 172.16.0.2 192.168.0.2
<Example 2> Delete all available name servers.
XSCF>
setnameserver -c del -a
Summary of Contents for Sun SPARC Enterprise M3000
Page 4: ......
Page 52: ...1 26 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 252: ...4 32 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 272: ...5 20 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 348: ...A 6 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 366: ...C 6 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 398: ...Index 6 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...