network
View or configure the network settings for the SafeNet ProtectServer Network HSM appliance.
User access
admin, pseoperator
Syntax
network
dns
interface
iptables
route
network [domain <domain> | hostname <hostname> | ping <hostname/IP> | show]
Argument(s) |
Shortcut |
Description |
---|---|---|
dns |
dn |
Add or delete DNS name servers and domains. See network dns. |
domain <domain> | do | Set the domain for the appliance. Enter this keyword followed by the domain name. |
hostname <hostname> | h | Set the hostname for the appliance. |
interface |
in |
Configure the appliance network interfaces. See network interface. |
iptables |
ip |
Configure the iptables firewall for the appliance. You can use this command to configure the iptables ACCEPT and DROP rules. See network iptables. |
ping <hostname/IP> | p | Test connectivity from the appliance to the specified hostname or IP address. |
route |
r |
Manually configure routes on the SafeNet ProtectServer Network HSM appliance. See network route. |
show | s | Display the current network configuration |
Example
psesh:>network domain hsmdomain
Success: DomainName hsmdomain set.
Command Result : 0 (Success)
psesh:>network hostname hsmhost
Success: Hostname hsmhost set.
Command Result : 0 (Success)
psesh:>network show
Hostname: "hsmhost"
Domain: "hsmdomain"
IP Address (eth0): 172.20.11.40
HW Address (eth0): 00:01:4E:02:D1:59
Mask (eth0): 255.255.255.0
Gateway (eth0): <not set>
Name Servers: 172.20.10.20 172.16.2.14
Search Domain(s): <not set>
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.20.11.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 172.20.11.10 0.0.0.0 UG 0 0 0 eth0
Link status
eth0: Configured
Link detected: yes
eth1: Not configured
Command Result : 0 (Success)
psesh:>network ping 10.124.0.65
PING 10.124.0.65 (10.124.0.65) 56(84) bytes of data.
64 bytes from 10.124.0.65: icmp_seq=1 ttl=126 time=18.5 ms
--- 10.124.0.65 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 18ms
rtt min/avg/max/mdev = 18.534/18.534/18.534/0.000 ms
Command Result : 0 (Success)