1.The NICS in the system are listed by the following command
# dladm show-dev
2. Information about links on the data-link layer is displayed by
# dladm show-link
3. You also add information to certain configurationfiles to create a persistent network configuration. The most common files are /etc/hostname.interface, where interface is the specific interface that is used on the system, and /etc/hosts.
4. To set IPADDRESS to in Solaris X86 do the following.
# ifconfig rtls0 plumb 192.168.0.20/24
5. To check the ipaddress
# ifconfig -a
6. To make the configuration persist across the reboot do the following.
# echo 192.168.0.20/24 > /etc/hostname.rtls0
Add the corresponding ipaddress and hostname to /etc/hosts
# nano /etc/hosts
192.168.0.20/24 solaris1
7. To add the defaultrouter to the system
# echo 192.168.0.1 > /etc/defaultrouter
8. To enable packet forwarding in Solaris
# svcadm enable ipv4-forwarding
9. To start Routing protocol
# svcadm enable route:default
10. Perform a reconfiguration reboot
# reboot –- -r
11, To check packet forwarding is enabled
# routeadm
12. To disable packet forwarding
# svcadm disable ipv4-forwarding
13. To perfom reconfiguration reboot
# reboot -- -r
14. To view the routing table.
# netstat -rn
15. To add a purticular route
# route -p add -net 10.0.5.0/24 -gateway 10.0.5.150/24
15.
# dladm show-dev
2. Information about links on the data-link layer is displayed by
# dladm show-link
3. You also add information to certain configurationfiles to create a persistent network configuration. The most common files are /etc/hostname.interface, where interface is the specific interface that is used on the system, and /etc/hosts.
4. To set IPADDRESS to in Solaris X86 do the following.
# ifconfig rtls0 plumb 192.168.0.20/24
5. To check the ipaddress
# ifconfig -a
6. To make the configuration persist across the reboot do the following.
# echo 192.168.0.20/24 > /etc/hostname.rtls0
Add the corresponding ipaddress and hostname to /etc/hosts
# nano /etc/hosts
192.168.0.20/24 solaris1
7. To add the defaultrouter to the system
# echo 192.168.0.1 > /etc/defaultrouter
8. To enable packet forwarding in Solaris
# svcadm enable ipv4-forwarding
9. To start Routing protocol
# svcadm enable route:default
10. Perform a reconfiguration reboot
# reboot –- -r
11, To check packet forwarding is enabled
# routeadm
12. To disable packet forwarding
# svcadm disable ipv4-forwarding
13. To perfom reconfiguration reboot
# reboot -- -r
14. To view the routing table.
# netstat -rn
15. To add a purticular route
# route -p add -net 10.0.5.0/24 -gateway 10.0.5.150/24
15.
No comments:
Post a Comment