Network Configuration Steps on the Solaris Guest System
Using the steps below, the Solaris guest system is configured to use the second NIC configured on the host system.
- Boot Solaris and configure the IP address assigned to the dedicated guest NIC for the Solaris Ethernet interface as shown in the examples below:
# ifconfig <interface-name> <private-guest-nic-ip>/<netmask
(Solaris 10 example)
or
(Solaris 2.6 example)# ifconfig <interface-name> <private-guest-nic-ip>
netmask <mask>
Make permanent by editing /etc/hosts and set the new address for the systems hostname. Then edit /etc/netmask and add the netmask for the subnet-network. - Add default route on Solaris:
# route add default <default-gateway-of-cloud-lan> <metric>
Make permanent by editing /etc/defaultrouter and add the address of the gateway. - Add DNS server to Solaris
- Edit /etc/resolv.conf and add a nameserver line for the DNS server.
- Make sure, DNS is used for hostname translation:
# cp /etc/nsswitch.dns /etc/nsswitch.conf
or edit nsswitch.conf to use files dns for the hostname resolution.
Expected result (depending on security rules and firewalls):
- The guest system should be able to communicate with the host system and other cloud instances across the cloud LAN using the private IP addresses.
- The guest system should be able to communicate with the customer network across a previously configured VPN gateway.
- If the guest NIC was configured with a public IP address, the guest system should be able to communicate directly with the Internet (not recommended).
- The host system should be able to communicated with the Internet.
Do not forget that traffic transmitted across the Internet is not encrypted by default and take appropriate measures to protect your data in a way conforming to your internal security requirements.
© Stromasys, 1999-2024 - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.