Making xscf dns settings – FUJITSU SPARC M4000 User Manual

Page 83

Advertising
background image

Chapter 2 Setting Up XSCF

2-27

2. Use the setroute (8) command to specify the routing environment for a

network interface.

<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 192.168.1.1 to XSCF-LAN#1 in the XSCFU#0.

XSCF> setroute -c add -n 0.0.0.0 -g 192.168.1.1 xscf#0-lan#1

<Example 3> Delete routing with destination 10.12.108.0 and the

default netmask 255.255.255.0 to XSCF-LAN#0 in the XSCFU#0.

XSCF> setroute -c del -n 10.12.108.0 -m 255.255.255.0 xscf#0-lan#0

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.

<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

---

2. Use the setnameserver (8) command to specify the name server.

<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

Advertising